Displaying 6 results from an estimated 6 matches for "pxenv_get_cached_info".
2007 Jan 06
6
PXE stack access via com32
...and the buffer field of the PXE call argument struct is setup to point into the bounce buffer as well):
inputRegs.es = SEG(__com32.cs_bounce);
inputRegs.edi.w[0] = OFFS(__com32.cs_bounce);
inputRegs.eax.w[0] = 0x0009;
/* call PXE stack */
inputRegs.ebx.w[0] = 0x0071;
/* PXENV_GET_CACHED_INFO opcode */
__intcall(0x22, &inputRegs, &outputRegs);
However, when setup this way, 'outputRegs.eax.w[0]' contains 'PXENV_EXIT_FAILURE' (and the status field of the PXE call argument struct indicates failure as well). The instructions from the previous thread on this topic...
2005 Mar 08
2
[Fwd: Re: etherboot 5.3.14 and pxelinux keyboard problem]
...erboot CVS. The relevant routine,
pxenv_udp_read() in Etherboot's core/pxe_export.c, hasn't changed since
July last year.
You can debug this by defining -DTRACE_PXE when compiling Etherboot. This
will show you a call trace such as
Loading 10.254.254.2:pxelinux.0 ...(PXE).........done
[PXENV_GET_CACHED_INFO 2 to 00000800][PXENV_GET_CACHED_INFO 3 to
00000800][PXENV_UDP_OPEN][PXENV_UDP_WRITE 40705->10.254.254.2:69
(63)][PXENV_UDP_READ 10.254.254.2:32833->10.254.254.1:40705
(19)][PXENV_UDP_WRITE 40706->10.254.254.2:69 (51)][PXENV_UDP_READ
10.254.254.2:32833->10.254.254.1:40706 (19)][PXENV...
2003 Apr 11
1
PXELINUX on top of Etherboot?
Question for people...
Has anyone actually tried running PXELINUX on top of Etherboot? There
is something in Etherboot 5.1.7 called FREEBSD_PXEEMU, which seems to be
a PXE stack subset, in particular it seems to support the following calls:
PXENV_GET_CACHED_INFO
PXENV_UDP_OPEN
PXENV_UDP_WRITE
PXENV_UDP_READ
PXENV_UDP_CLOSE
PXENV_UNLOAD_STACK
PXENV_UNDI_SHUTDOWN
This happens to be pretty close to the subset used by PXELINUX, with two
exceptions: PXELINUX will also invoke PXENV_STOP_UNDI (for version >=
2.00) or PXENV_UNDI_CLEANUP (for version < 2.0...
2011 Mar 06
1
PXELINUX Debugging Output
I am sending a patch that makes the debugging output of PXELINUX slightly
more concise, without (intentionally) affecting its completeness at all.
Additionally, I am proposing that the debugging output of PXELINUX --
specifically the messages that appear after the copyright statement, but
before the menu is loaded -- only be shown in response to keyboard input
(such as holding Shift or Alt, or
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
...om32/lib/syslinux/pxe_get_cached.c
index 4704037..a090a4c 100644
--- a/com32/lib/syslinux/pxe_get_cached.c
+++ b/com32/lib/syslinux/pxe_get_cached.c
@@ -43,7 +43,6 @@
int pxe_get_cached_info(int level, void **buf, size_t * len)
{
const int max_dhcp_packet = 2048;
- com32sys_t regs;
t_PXENV_GET_CACHED_INFO *gci;
void *bbuf, *nbuf;
int err;
@@ -52,12 +51,6 @@ int pxe_get_cached_info(int level, void **buf, size_t * len)
if (!gci)
return -1;
- memset(®s, 0, sizeof regs);
- regs.eax.w[0] = 0x0009;
- regs.ebx.w[0] = PXENV_GET_CACHED_INFO;
- regs.es = SEG(gci);
- /*...