summaryrefslogtreecommitdiff
path: root/ldlinux.asm
diff options
context:
space:
mode:
authorhpa <hpa>2004-08-04 06:14:12 +0000
committerhpa <hpa>2004-08-04 06:14:12 +0000
commitda900b66fdec8f6c4609df2ce72881bd3f6987a8 (patch)
tree78d3be8ea810c9721312a50f2b763431d93685be /ldlinux.asm
parentffd9cb024e1ca235fb44b9d89a7e7164f953fc5b (diff)
downloadsyslinux-da900b66fdec8f6c4609df2ce72881bd3f6987a8.tar.gz
Clean up memory management and command-line creation
Diffstat (limited to 'ldlinux.asm')
-rw-r--r--ldlinux.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldlinux.asm b/ldlinux.asm
index b58211b0..366ed18e 100644
--- a/ldlinux.asm
+++ b/ldlinux.asm
@@ -216,8 +216,8 @@ VGAFileBufEnd equ $
VGAFileMBuf resb 11 ; Mangled VGA image name
alignb 4 ; For the good of REP MOVSD
command_line resb max_cmd_len+2 ; Command line buffer
+ alignb 4
default_cmd resb max_cmd_len+1 ; "default" command line
-kern_cmd_len equ $-command_line
section .text
org 7C00h
@@ -1356,6 +1356,7 @@ lc_ret: ret
%include "font.inc" ; VGA font stuff
%include "graphics.inc" ; VGA graphics
%include "highmem.inc" ; High memory sizing
+%include "strcpy.inc" ; strcpy()
; -----------------------------------------------------------------------------
; Begin data section