summaryrefslogtreecommitdiff
path: root/ldlinux.asm
diff options
context:
space:
mode:
authorhpa <hpa>2005-08-20 00:24:21 +0000
committerhpa <hpa>2005-08-20 00:24:21 +0000
commitd3dd0c5a66fde387207b5ab2c21f406e20280037 (patch)
treef404890474034e76219a65f0faa9bc17b39be02e /ldlinux.asm
parentfdd08de210fb16faf189dfa4e131e48c82d38836 (diff)
downloadsyslinux-d3dd0c5a66fde387207b5ab2c21f406e20280037.tar.gz
Reorganize memory so we don't have to relocate pxelinux and have more
stack for extlinux; add tool to check for section overflow.
Diffstat (limited to 'ldlinux.asm')
-rw-r--r--ldlinux.asm10
1 files changed, 8 insertions, 2 deletions
diff --git a/ldlinux.asm b/ldlinux.asm
index 1651ae18..a47aeb36 100644
--- a/ldlinux.asm
+++ b/ldlinux.asm
@@ -632,8 +632,14 @@ print_bios:
jne .cbios
mov si,ebios_name
.cbios:
+ mov [BIOSName],si
call writestr
+ section .bss
+%define HAVE_BIOSNAME 1
+BIOSName resw 1
+
+ section .text
;
; Now we read the rest of LDLINUX.SYS. Don't bother loading the first
; sector again, though.
@@ -729,8 +735,8 @@ checksumerr_msg db ' Load error - ', 0 ; Boot failed appended
;
; BIOS type string
;
-cbios_name db 'CBIOS', 0
-ebios_name db 'EBIOS', 0
+cbios_name db ' CBIOS', 0
+ebios_name db ' EBIOS', 0
;
; Debug routine