diff options
author | Myles Watson <mylesgw@gmail.com> | 2009-09-23 20:32:21 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-09-23 20:32:21 +0000 |
commit | 920279842dec7a2233e36eeba158ec399703b34a (patch) | |
tree | e4f46165fce336af1f9bc52871bc79206728ad62 /src/arch/i386/boot | |
parent | f250f191f833b1f8ceb5e8e4324e0abdac66cfe4 (diff) | |
download | coreboot-920279842dec7a2233e36eeba158ec399703b34a.tar.xz |
Fix the bounce_size global so that the bounce buffer works with CBFS.
Make self_boot() static.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4663 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386/boot')
-rw-r--r-- | src/arch/i386/boot/boot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/i386/boot/boot.c b/src/arch/i386/boot/boot.c index 2ac73a6e0a..8c8980ae99 100644 --- a/src/arch/i386/boot/boot.c +++ b/src/arch/i386/boot/boot.c @@ -68,7 +68,7 @@ int elf_check_arch(Elf_ehdr *ehdr) } -void jmp_to_elf_entry(void *entry, unsigned long buffer, unsigned long bounce_size) +void jmp_to_elf_entry(void *entry, unsigned long buffer, unsigned long size) { extern unsigned char _ram_seg, _eram_seg; unsigned long lb_start, lb_size; @@ -79,7 +79,7 @@ void jmp_to_elf_entry(void *entry, unsigned long buffer, unsigned long bounce_si lb_start = (unsigned long)&_ram_seg; lb_size = (unsigned long)(&_eram_seg - &_ram_seg); - adjust = buffer + bounce_size - lb_start; + adjust = buffer + size - lb_start; adjusted_boot_notes = (unsigned long)&elf_boot_notes; adjusted_boot_notes += adjust; |