diff options
| author | hpa <hpa> | 2004-12-17 06:42:00 +0000 |
|---|---|---|
| committer | hpa <hpa> | 2004-12-17 06:42:00 +0000 |
| commit | 1ad9233d7287c8e98bda8774a6eafd2a3e988b89 (patch) | |
| tree | 1d288d0b1fbb8c7d6df445f9c3c5bfe6abfc5817 /comboot.inc | |
| parent | 7da4d04f57c549c1e6cf850d75400ded5ac82cb8 (diff) | |
| download | syslinux-2.20-pre3.tar.gz | |
Actually use sections, and move common variables into the .inc files.syslinux-2.20-pre3
The .bss section at the beginning of each .asm file is now downright
tiny.
Diffstat (limited to 'comboot.inc')
| -rw-r--r-- | comboot.inc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/comboot.inc b/comboot.inc index af34686f..00d603c2 100644 --- a/comboot.inc +++ b/comboot.inc @@ -17,6 +17,8 @@ ;; Common code for running a COMBOOT image ;; + section .text + ; Parameter registers definition; this is the definition ; of the stack frame used by INT 21h and INT 22h. %define P_FLAGS word [bp+44] @@ -561,9 +563,10 @@ comapi_configfile: clc ret -; -; This stuff should really be in the data section... -; + section .bss +SavedSSSP resd 1 ; Our SS:SP while running a COMBOOT image + + section .data %macro int21 2 db %1 dw %2 |
