diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2013-01-25 19:26:48 -0600 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-02-07 00:10:29 -0500 |
commit | a21645146894e4b051b94b32ec2b39eecc691f3a (patch) | |
tree | 04ccd51b70d92e904796b62a6a8665d0cd432ccb /src/post.c | |
parent | bc628090011dc110bf55957316eaa4be7663ca0a (diff) | |
download | seabios-a21645146894e4b051b94b32ec2b39eecc691f3a.tar.gz |
post: Export functions which will be used individually by CSM
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'src/post.c')
-rw-r--r-- | src/post.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -29,6 +29,7 @@ #include "lsi-scsi.h" // lsi_scsi_setup #include "esp-scsi.h" // esp_scsi_setup #include "megasas.h" // megasas_setup +#include "post.h" // interface_init /**************************************************************** @@ -157,7 +158,7 @@ bda_init(void) StackPos = (void*)(&ExtraStack[BUILD_EXTRA_STACK_SIZE] - datalow_base); } -static void +void interface_init(void) { // Running at new code address - do code relocation fixups @@ -182,7 +183,7 @@ interface_init(void) } // Initialize hardware devices -static void +void device_hardware_setup(void) { usb_setup(); @@ -251,7 +252,7 @@ platform_hardware_setup(void) biostable_setup(); } -static void +void prepareboot(void) { // Run BCVs @@ -334,7 +335,7 @@ updateRelocs(void *dest, u32 *rstart, u32 *rend, u32 delta) // Relocate init code and then call a function at its new address. // The passed function should be in the "init" section and must not // return. -static void __noreturn +void __noreturn reloc_preinit(void *f, void *arg) { void (*func)(void *) __noreturn = f; |