pxelinux: set StackTop == StackBuf
authorH. Peter Anvin <hpa@zytor.com>
Tue, 19 May 2009 01:24:34 +0000 (18:24 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 19 May 2009 01:24:34 +0000 (18:24 -0700)
We need StackTop to be <= StackBuf since we use memory immediately
above StackBuf during replace_bootstrap.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/pxelinux.asm

index 6acbca6..e1a62c7 100644 (file)
@@ -218,7 +218,7 @@ packet_buf_size     equ $-packet_buf
                ; therefore we relocate it from 7C00h on startup.
                ;
 StackBuf       equ $-44                ; Base of stack if we use our own
-StackTop       equ $
+StackTop       equ StackBuf
 
 ;
 ; Primary entry point.