aboutsummaryrefslogtreecommitdiffstats
path: root/core/isolinux.asm
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-02-12 16:49:55 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-02-12 16:49:55 -0800
commita68e1063c089a84675a01a8a0e1c3669d5b040c2 (patch)
tree0bf0cb0c9204eb85fd66859ef10356bd0324ced6 /core/isolinux.asm
parent831f1a04fbbbb1f65d95858b1b435325f67981f2 (diff)
downloadsyslinux-a68e1063c089a84675a01a8a0e1c3669d5b040c2.tar.gz
core: document the stack location, use STACK_TOP throughout
The global absolute symbol STACK_TOP defined in layout.inc can be used by the linker script as well as by anything else that needs to know where the stack is. Also document why we do it differently for PXELINUX. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/isolinux.asm')
-rw-r--r--core/isolinux.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/isolinux.asm b/core/isolinux.asm
index 2627c2df..ef7d92de 100644
--- a/core/isolinux.asm
+++ b/core/isolinux.asm
@@ -199,7 +199,7 @@ Files resb MAX_OPEN*open_file_t_size
;; CD-ROM sector (2K) of the file, so the number one priority is actually
;; loading the rest.
;;
-StackBuf equ $-44 ; 44 bytes needed for
+StackBuf equ STACK_TOP-44 ; 44 bytes needed for
; the bootsector chainloading
; code!
OrigESDI equ StackBuf-4 ; The high dword on the stack