diff options
author | hpa <hpa> | 2004-12-27 07:04:08 +0000 |
---|---|---|
committer | hpa <hpa> | 2004-12-27 07:04:08 +0000 |
commit | fd90c4d0a06ede3c60229086356d1e10d3c34d76 (patch) | |
tree | 7274f5d9c1db4fb09bd09bf1a152d7e1107c5f99 /ldlinux.asm | |
parent | 88310d544e0e2758355f8372fcfe7ceb73256973 (diff) | |
download | syslinux-fd90c4d0a06ede3c60229086356d1e10d3c34d76.tar.gz |
More work on using sections for memory alignment. Make bcopy32 always
live in low memory so we don't have to do a bunch on-the-fly relocation,
and produce map files.
Diffstat (limited to 'ldlinux.asm')
-rw-r--r-- | ldlinux.asm | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ldlinux.asm b/ldlinux.asm index 2a5dfcc6..e528adb4 100644 --- a/ldlinux.asm +++ b/ldlinux.asm @@ -30,7 +30,7 @@ %include "kernel.inc" %include "bios.inc" %include "tracers.inc" - +%include "layout.inc" ; ; Some semi-configurable constants... change on your own risk. ; @@ -109,14 +109,13 @@ file_left resd 1 ; Number of sectors left ; ; Memory below this point is reserved for the BIOS and the MBR ; -BSS_START equ 0800h - section .earlybss nobits start=BSS_START + section .earlybss trackbufsize equ 8192 trackbuf resb trackbufsize ; Track buffer goes here getcbuf resb trackbufsize ; ends at 4800h - section .bss nobits align=256 follows=.earlybss + section .bss alignb 8 ; Expanded superblock @@ -152,8 +151,6 @@ xbs_vgatmpbuf equ 2*trackbufsize section .text -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 |