diff options
| author | hpa <hpa> | 2004-12-27 03:28:08 +0000 |
|---|---|---|
| committer | hpa <hpa> | 2004-12-27 03:28:08 +0000 |
| commit | 88310d544e0e2758355f8372fcfe7ceb73256973 (patch) | |
| tree | 07e78283dbc0c1c7fdca5ebfde71978ff27f75ad /ldlinux.asm | |
| parent | e73cd0b64ed52d9d08ef1bfcae8b8c30f7157a75 (diff) | |
| download | syslinux-88310d544e0e2758355f8372fcfe7ceb73256973.tar.gz | |
Reorganize memory slightly; split .bss into .bss and .earlybss and
move its base down to 0800h; relocate pxelinux since it needs
copious amounts of bss.
Diffstat (limited to 'ldlinux.asm')
| -rw-r--r-- | ldlinux.asm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ldlinux.asm b/ldlinux.asm index badbf765..2a5dfcc6 100644 --- a/ldlinux.asm +++ b/ldlinux.asm @@ -109,13 +109,14 @@ file_left resd 1 ; Number of sectors left ; ; Memory below this point is reserved for the BIOS and the MBR ; -BSS_START equ 1000h - section .bss start=BSS_START +BSS_START equ 0800h + section .earlybss nobits start=BSS_START trackbufsize equ 8192 trackbuf resb trackbufsize ; Track buffer goes here getcbuf resb trackbufsize - ; ends at 5000h + ; ends at 4800h + section .bss nobits align=256 follows=.earlybss alignb 8 ; Expanded superblock @@ -151,7 +152,8 @@ xbs_vgatmpbuf equ 2*trackbufsize section .text - org 7C00h +TEXT_START equ 7C00h + org TEXT_START ; ; Some of the things that have to be saved very early are saved ; "close" to the initial stack pointer offset, in order to |
