diff options
Diffstat (limited to 'com32/lib/syslinux/run_default.c')
-rw-r--r-- | com32/lib/syslinux/run_default.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/com32/lib/syslinux/run_default.c b/com32/lib/syslinux/run_default.c index 8dc9fbe4..0cfa5470 100644 --- a/com32/lib/syslinux/run_default.c +++ b/com32/lib/syslinux/run_default.c @@ -26,16 +26,14 @@ * ----------------------------------------------------------------------- */ #include <syslinux/boot.h> +#include <core.h> #include <stddef.h> -#include <com32.h> + +extern const char *default_cmd; __noreturn syslinux_run_default(void) { - static com32sys_t ireg; - - ireg.eax.w[0] = 0x0004; - __intcall(0x22, &ireg, NULL); - + load_kernel(default_cmd); /* Should not return even on failure */ for (;;) ; } |