search for: runsyslinuxcmd

Displaying 6 results from an estimated 6 matches for "runsyslinuxcmd".

2005 Sep 28
1
complex menu and timeout handler
hy, i'm looking for a way to register the start of a specific menu entry (the parameter is "linux") with the ontimeout handler, unfortunately the complex example only offers beep(). what is the correct way to start this specific entry? something like char *call = "linux"; return call; thx in advance, marco
2006 Nov 22
2
Problem with "additional" submenus
...x Kickstart Options", "Kickstart install various Linux distributions", OPT_SUBMENU, "Linux Kickstart Options", 0); curr = showmenus(find_menu_num("PXE Menu")); if (curr) { if (curr->action == OPT_RUN) { if (issyslinux()) runsyslinuxcmd(curr->data); else csprint(curr->data,0x07); return 1; } csprint("Error! Bad things have happened to the network boot menu", 0x07); } return 0; }
2012 Jun 26
2
[GIT PULL] elflink bug fixes
...MENUS = $(LIBS) $(CMENUS) $(IMENUS) .SUFFIXES: .S .c .o .elf .c32 .menu diff --git a/com32/cmenu/libmenu/syslnx.c b/com32/cmenu/libmenu/syslnx.c index 53e2401..27823df 100644 --- a/com32/cmenu/libmenu/syslnx.c +++ b/com32/cmenu/libmenu/syslnx.c @@ -28,10 +28,16 @@ char issyslinux(void) void runsyslinuxcmd(const char *cmd) { - strcpy(__com32.cs_bounce, cmd); + char *bounce; + + bounce = lmalloc(strlen(cmd) + 1); + if (!bounce) + return; + + strcpy(bounce, cmd); REG_AX(inreg) = 0x0003; // Run command - REG_BX(inreg) = OFFS(__com32.cs_bounce); - REG_ES(inreg) = SEG(__com32.cs...
2006 Nov 27
8
Chaining from PXELinux to some other boot loader
Hi I am using PXELinux to boot BartPE and some other application and it works fine. There are some other Boot application which I am using 3COM MBAUTIL PXE.mnu and floppy images. I have problem chaining from pxelinux.0 to 3com pxe.0 (pxe.mnu). Consider: BIOS->(DHCP-TFTP)->pxelinux.0 works fine. BIOS->(DHCP-TFTP)->3COM pxe.mnu works fine, the menu appears and I can choose a floppy
2012 Jul 16
5
[PATCH 0/5] Deleting __intcall() from Syslinux
From: Matt Fleming <matt.fleming at intel.com> Since we can't use __intcall() for EFI, and since we can now have the ELF module code resolve all our symbols at runtime, we should delete as many references to __intcall() as possible and just access the symbols directly. The most interesting patch is the support for weak symbols. We need to be able to reference derivative-specific
2012 Aug 14
1
[GIT PULL] elflink fixes
...enu/syslnx.c @@ -12,7 +12,10 @@ #include <string.h> #include <com32.h> +#include <core.h> +#include <graphics.h> #include "syslnx.h" +#include <syslinux/config.h> com32sys_t inreg, outreg; // Global registers for this module @@ -35,33 +38,26 @@ void runsyslinuxcmd(const char *cmd) return; strcpy(bounce, cmd); - REG_AX(inreg) = 0x0003; // Run command - REG_BX(inreg) = OFFS(bounce); - REG_ES(inreg) = SEG(bounce); - __intcall(0x22, &inreg, &outreg); + load_kernel(bounce); } void gototxtmode(void) { - REG_AX(inreg) = 0x000...