#include "lsi-scsi.h" // lsi_scsi_setup
#include "esp-scsi.h" // esp_scsi_setup
#include "megasas.h" // megasas_setup
+#include "post.h" // interface_init
/****************************************************************
StackPos = (void*)(&ExtraStack[BUILD_EXTRA_STACK_SIZE] - datalow_base);
}
-static void
+void
interface_init(void)
{
// Running at new code address - do code relocation fixups
}
// Initialize hardware devices
-static void
+void
device_hardware_setup(void)
{
usb_setup();
biostable_setup();
}
-static void
+void
prepareboot(void)
{
// Run BCVs
// 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;
--- /dev/null
+#ifndef __POST_H
+#define __POST_H
+
+void interface_init(void);
+void device_hardware_setup(void);
+void prepareboot(void);
+void startBoot(void);
+void reloc_preinit(void *f, void *arg);
+
+#endif // __POST_H