summaryrefslogtreecommitdiff
path: root/extlinux.asm
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-27 03:28:08 +0000
committerhpa <hpa>2004-12-27 03:28:08 +0000
commit88310d544e0e2758355f8372fcfe7ceb73256973 (patch)
tree07e78283dbc0c1c7fdca5ebfde71978ff27f75ad /extlinux.asm
parente73cd0b64ed52d9d08ef1bfcae8b8c30f7157a75 (diff)
downloadsyslinux-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 'extlinux.asm')
-rw-r--r--extlinux.asm10
1 files changed, 6 insertions, 4 deletions
diff --git a/extlinux.asm b/extlinux.asm
index bb6215de..fcd3fc30 100644
--- a/extlinux.asm
+++ b/extlinux.asm
@@ -107,13 +107,14 @@ file_mode resw 1
;
; 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
SuperBlock resb 1024 ; ext2 superblock
SuperInfo resq 16 ; DOS superblock expanded
ClustSize resd 1 ; Bytes/cluster ("block")
@@ -141,7 +142,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