diff options
| author | H. Peter Anvin <hpa@linux.intel.com> | 2010-06-18 18:16:48 -0700 |
|---|---|---|
| committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-06-18 18:19:37 -0700 |
| commit | 42615d2c7eb2aeaea280891b80f1e76ac670fbf2 (patch) | |
| tree | 6b46c98f6c4c30fc8d22e89f088256deae88d8ab /core/comboot.inc | |
| parent | f23e586f898704626b4db5287a1c70cdfb11af5d (diff) | |
| download | syslinux-42615d2c7eb2aeaea280891b80f1e76ac670fbf2.tar.gz | |
pxe: centralize all the IP information and export it to modules
It appears that there still are PXE stacks in the field which needs
the crutch of being pointed to the default gateway. As such, put all
the IP information into a single memory structure and allow modules to
see it.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'core/comboot.inc')
| -rw-r--r-- | core/comboot.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/comboot.inc b/core/comboot.inc index 45b770f3..0c9956a0 100644 --- a/core/comboot.inc +++ b/core/comboot.inc @@ -580,8 +580,10 @@ comapi_derinfo: mov P_SI,ax mov ax,[InitStack+2] mov P_FS,ax - mov eax,[MyIP] + mov eax,[IPInfo.MyIP] mov P_ECX,eax + mov P_GS,0 + mov P_DI,IPInfo %else ; Physical medium... |
