diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-01-21 11:38:49 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-02-07 21:37:06 -0500 |
commit | 6ca0460fbb8ecfa5d42c8928b7ee71f20d0cffdb (patch) | |
tree | c8f95a05f44a7b70950d97bbf704c5a88ceec8d1 /src/romlayout.S | |
parent | 8ed2e535edf731e6acfb444dbe5c4a917cf5fa8f (diff) | |
download | seabios-hppa-6ca0460fbb8ecfa5d42c8928b7ee71f20d0cffdb.zip seabios-hppa-6ca0460fbb8ecfa5d42c8928b7ee71f20d0cffdb.tar.gz seabios-hppa-6ca0460fbb8ecfa5d42c8928b7ee71f20d0cffdb.tar.bz2 |
POST: Reorganize post entry and "preinit" functions.
Unlocking ram in handle_post() is tricky and only needed under qemu.
Separate out that logic from the coreboot/xen paths by invoking
handle_elf_post separately. This simplifies both the qemu and
non-qemu code paths.
Also, organize all the "pre-init" functions into one section of the
file.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/romlayout.S')
-rw-r--r-- | src/romlayout.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/romlayout.S b/src/romlayout.S index cbe6b1c..a351091 100644 --- a/src/romlayout.S +++ b/src/romlayout.S @@ -380,7 +380,7 @@ entry_elf: movw %ax, %gs movw %ax, %ss movl $BUILD_STACK_ADDR, %esp - ljmpl $SEG32_MODE32_CS, $_cfunc32flat_handle_post + ljmpl $SEG32_MODE32_CS, $_cfunc32flat_handle_elf .code16gcc |