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 /extlinux.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 'extlinux.asm')
-rw-r--r-- | extlinux.asm | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/extlinux.asm b/extlinux.asm index fcd3fc30..dac3393f 100644 --- a/extlinux.asm +++ b/extlinux.asm @@ -22,6 +22,7 @@ %include "kernel.inc" %include "bios.inc" %include "tracers.inc" +%include "layout.inc" %include "ext2_fs.inc" @@ -107,14 +108,13 @@ file_mode resw 1 ; ; 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 SuperBlock resb 1024 ; ext2 superblock SuperInfo resq 16 ; DOS superblock expanded ClustSize resd 1 ; Bytes/cluster ("block") @@ -142,8 +142,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 |