search for: unload_pxe

Displaying 13 results from an estimated 13 matches for "unload_pxe".

2012 Apr 26
2
Problems booting from local hd
...lways 1 which resets the PXE stack instead of unloading it: local_boot: push cs pop ds mov [LocalBootType],ax call vgaclearmode mov si,localboot_msg call writestr_early ; Restore the environment we were called with call reset_pxe . reset_pxe: or byte [KeepPXE],1 ; Fall through unload_pxe: push ds push es mov ax,cs mov ds,ax mov es,ax cmp byte [KeepPXE],0 ; Should we keep PXE around? jne do_reset_pxe ? on Dell Precision M4600 Laptops (BIOS Rev. A08) reseting the PXE stack causes a reboot and Dell Latitude E5520 laptops (BIOS Rev. A05) start over with another PXE boo...
2013 Jan 21
1
elflink issues
I noticed several issues when diagnosing why pxechn.c32 didn't work in 5.01-pre3. 1) pxechn.c32, prdhcp.c32 and other modules crash Syslinux and force a reboot by executing an unresolved symbols. unload_pxe(), dns_resolv() and pxe_call() are the three. "Error: An undefined symbol was referenced" 2) In past versions, I built a debug build by having "CFLAGS += -DDEBUG=1" in mk/local.mk but this fails. core/../com32/include/com32.h:144: undefined reference to `__bad_SEG'
2017 Mar 05
0
[PATCH] Fix recognition of keeppxe option
...} > > + if (syslinux_filesystem() == SYSLINUX_FS_PXELINUX && > + find_argument(cmdline, "keeppxe")) { > + extern __weak char KeepPXE; > + > + KeepPXE = 1; /* for pxelinux_scan_memory */ > + bootflags = 3; /* for unload_pxe */ > + } > + > /* Copy the header into private storage */ > /* Use whdr to modify the actual kernel header */ > memcpy(&hdr, kernel_buf, sizeof hdr); > @@ -495,7 +507,7 @@ int bios_boot_linux(void *kernel_buf, si > dprintf("*** vga=current, no...
2016 Jun 10
4
[PATCH] Fix recognition of keeppxe option
...@ -200,6 +204,14 @@ int bios_boot_linux(void *kernel_buf, si } } + if (syslinux_filesystem() == SYSLINUX_FS_PXELINUX && + find_argument(cmdline, "keeppxe")) { + extern __weak char KeepPXE; + + KeepPXE = 1; /* for pxelinux_scan_memory */ + bootflags = 3; /* for unload_pxe */ + } + /* Copy the header into private storage */ /* Use whdr to modify the actual kernel header */ memcpy(&hdr, kernel_buf, sizeof hdr); @@ -495,7 +507,7 @@ int bios_boot_linux(void *kernel_buf, si dprintf("*** vga=current, not calling syslinux_force_text_mode()...\n...
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
2009 Apr 24
1
Bugs in pxelinux.asm - syslinux 3.75
In pxelinux.asm the xchg instruction in xchg ax,ax . data_on_top: should be xchg ax,dx, I think At the end of pxe_get_cached_info routine,there is and ax,ax jnz .err It is supposed to test for AX status, but since pxenv does pushad and popad, AX doesn't contain status. In fact the other routines calling pxenv don't have this bug.
2002 Jan 11
2
RIS UNDI
Hello, I'm still trying to setup RIS (Remote Installation Service -w2k) with PXE Linux, but before that I must say that the mail list archive is a _good_ idea. Back to RIS. When I start from pxelinux memdisk initrd=risbootdisk.img I get an error: No UNDI Driver found. The risbootdisk.img is a bootdisk from Microsoft, which starts a RIS installation. When I boot from floppy it works fine,
2013 Nov 21
0
Baking Cookies
...ng. These two changes lets SENDCOOKIES behavior work as desired/intended. --- syslinux-6.02/com32/include/syslinux/pxe_api.h 2013-10-13 13:59:03.000000000 -0400 +++ syslinux-6.02-changed/com32/include/syslinux/pxe_api.h 2013-11-21 17:00:57.379519000 -0500 @@ -589,7 +589,7 @@ void __weak unload_pxe(uint16_t flags); uint32_t __weak dns_resolv(const char *); -uint32_t __weak SendCookies; +extern uint32_t SendCookies; void __weak http_bake_cookies(void); #endif /* _SYSLINUX_PXE_API_H */ --- syslinux-6.02/core/fs/pxe/http.c 2013-10-13 13:59:03.000000000 -0400 +++ syslinux-6.02-changed/co...
2014 Feb 13
1
SYSLINUX API call INT 22h/AX=0xC
Hi Peter, I traced over these routines you suggested briefly and I didn't see where it invokes PXE UNDI_API (PXENV_UNDI_SHUTDOWN(0x5) to shut down the device. When this is invoked, my UNDI driver will put the device into an inactive state so that it doesn't do any more DMA read/write over PCIe bus anymore. What am I missing? Thanks! Kevin -----Original Message----- From: H. Peter
2013 Nov 21
2
Baking Cookies
Hmm... well adding the __export stopped the "undefined symbol" error from showing up when I add "SENDCOOKIES" in the config, however I'm still not seeing any cookies being sent to my webserver. Any ideas on how to further debug? (if you want to send me the debug compile options privately that's okay too) -----Original Message----- From: H. Peter Anvin [mailto:hpa at
2012 Aug 14
1
[GIT PULL] elflink fixes
...6b0..203ab38 100644 --- a/com32/include/syslinux/pxe_api.h +++ b/com32/include/syslinux/pxe_api.h @@ -568,4 +568,8 @@ typedef struct s_PXENV_UNLOAD_STACK { #define PXENV_STATUS_LOADER_UNDI_START 0xca #define PXENV_STATUS_LOADER_BC_START 0xcb +int __weak pxe_call(int, void *); +void __weak unload_pxe(uint16_t flags); +uint32_t __weak dns_resolv(const char *); + #endif /* _SYSLINUX_PXE_API_H */ diff --git a/com32/lib/Makefile b/com32/lib/Makefile index b83ae6b..5d270a4 100644 --- a/com32/lib/Makefile +++ b/com32/lib/Makefile @@ -46,7 +46,6 @@ LIBPCI_OBJS = \ LIBSYSLINUX_OBJS = \ syslinux/r...
2010 Jul 15
1
Accessing command_line from core C code
...ot;\n"); + return; +} diff --git a/core/extern.inc b/core/extern.inc index 64edea6..58d0f27 100644 --- a/core/extern.inc +++ b/core/extern.inc @@ -24,6 +24,9 @@ ; newconfig.c extern pm_is_config_file + ; display_labels.c + extern pm_display_labels + %if IS_PXELINUX ; pxe.c extern unload_pxe, reset_pxe diff --git a/core/include/core.h b/core/include/core.h index 7db5daf..8d77b52 100644 --- a/core/include/core.h +++ b/core/include/core.h @@ -14,6 +14,9 @@ extern char ConfigName[]; extern char KernelName[]; extern char cmd_line[]; extern char ConfigFile[]; +extern uint32_t HighMemSize...
2016 Jun 16
2
[PATCH] Fix recognition of keeppxe option
> On Wed, Jun 15, 2016 at 1:02 PM, Ady via Syslinux <syslinux at zytor.com> wrote: > > > >> On Tue, Jun 14, 2016 at 12:33 PM, Ady via Syslinux <syslinux at zytor.com> wrote: > >> > > >> >> > kernel.c:new_linux_kernel() to load_linux.c:bios_boot_linux() because > >> >> > there is no convenient way in new_linux_kernel() to