diff options
Diffstat (limited to 'com32/lib/syslinux/firmware.c')
-rw-r--r-- | com32/lib/syslinux/firmware.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/com32/lib/syslinux/firmware.c b/com32/lib/syslinux/firmware.c new file mode 100644 index 00000000..e5dc68b2 --- /dev/null +++ b/com32/lib/syslinux/firmware.c @@ -0,0 +1,19 @@ +#include <sys/io.h> +#include <fs.h> +#include <syslinux/memscan.h> +#include <bios.h> +#include <syslinux/firmware.h> + +struct firmware *firmware = NULL; + +struct firmware bios_fw = { + .init = bios_init, + .scan_memory = bios_scan_memory, + .adjust_screen = bios_adjust_screen, + .cleanup = bios_cleanup_hardware, +}; + +void syslinux_register_bios(void) +{ + firmware = &bios_fw; +} |