search for: pxenv_restart_tftp

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

2010 Nov 07
1
pxechn.c32: Status
...t collide with the name pxechain.com when not specifying the .com/.c32 extension. Currently, I've got pxechn.c32 to the point that it's equivalent to just running the new nbp from PXELINUX (without a PXE restart). I'm looking at being able to either call the PXE API with opcode 0073h (PXENV_RESTART_TFTP) or do it all ourselves. I think that if it's possible, it would also be nice to be able to specify parameters for DHCP options 209, 210 and 211 (config, prefix and reboot) when doing it ourselves. However, editing the cached packets that the PXE stack holds is a little dirty, unstable but ne...
2018 Feb 28
1
problem reading PXELinux's code
Hi All, I have encountered a problem when reading PXELinux's source code. In syslinux/core/pxelinux.asm, function *pxenv* is as below: pxenv: pushfd pushad ; We may be removing ourselves from memory cmp bx,PXENV_RESTART_TFTP ...... push es push di push bx .jump: call 0:0 add sp,6 mov [cs:PXEStatus],ax ...... ret "Around" .jump, we store ES:DI and BX on PXE stack, which points to PXE parameter block and PXE opcode correspondingly. Then we should call !PXE's EntryPointSP to call specified PXE...
2010 Dec 11
0
pxechn.c32: Status
(Interesting, it's exactly a month since the last email about this.) pxechn.c32 is (slowly) moving along. It can now successfully perform the same task as pxechain.com calling PXENV_RESTART_TFTP except it's done without that call. Currently, it's implemented such that it could use PXENV_RESTART_TFTP however using the PXE ROM in VMware Server 2.0.2 fails while using gPXE 1.0.1 it worked. If a DHCP option 52 is encountered, it will fail and return at this time. -- -Gene
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
...;reg); + pxe_call(PXENV_GET_CACHED_INFO, ci); if (ci->Status != PXENV_STATUS_SUCCESS) { dprintf("PXE Get Cached Info failed: %d\n", ci->Status); @@ -1015,7 +1009,6 @@ int pxe_restart(char *ifn) { int rv = 0; struct pxelinux_opt pxe; - com32sys_t reg; t_PXENV_RESTART_TFTP *pxep; /* PXENV callback Parameter */ pxe.fn = ifn; @@ -1030,7 +1023,6 @@ int pxe_restart(char *ifn) goto ret; } printf(" Attempting to boot '%s'...\n\n", pxe.fn); - memset(&reg, 0, sizeof reg); if (!(pxep = lzalloc(sizeof(t_PXENV_RESTART_TFTP)))){...
2012 Jun 26
2
[GIT PULL] elflink bug fixes
....c @@ -1031,10 +1031,7 @@ int pxe_restart(char *ifn) } printf(" Attempting to boot '%s'...\n\n", pxe.fn); memset(&reg, 0, sizeof reg); - if (sizeof(t_PXENV_TFTP_READ_FILE) <= __com32.cs_bounce_size) { - pxep = __com32.cs_bounce; - memset(pxep, 0, sizeof(t_PXENV_RESTART_TFTP)); - } else if (!(pxep = lzalloc(sizeof(t_PXENV_RESTART_TFTP)))){ + if (!(pxep = lzalloc(sizeof(t_PXENV_RESTART_TFTP)))){ dprintf("Unable to lzalloc() for PXE call structure\n"); goto ret; } @@ -1055,8 +1052,7 @@ int pxe_restart(char *ifn) __intcall(0x22, &reg, &am...