summaryrefslogtreecommitdiff
path: root/ui.inc
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-17 06:42:00 +0000
committerhpa <hpa>2004-12-17 06:42:00 +0000
commit1ad9233d7287c8e98bda8774a6eafd2a3e988b89 (patch)
tree1d288d0b1fbb8c7d6df445f9c3c5bfe6abfc5817 /ui.inc
parent7da4d04f57c549c1e6cf850d75400ded5ac82cb8 (diff)
downloadsyslinux-1ad9233d7287c8e98bda8774a6eafd2a3e988b89.tar.gz
Actually use sections, and move common variables into the .inc files.syslinux-2.20-pre3
The .bss section at the beginning of each .asm file is now downright tiny.
Diffstat (limited to 'ui.inc')
-rw-r--r--ui.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/ui.inc b/ui.inc
index 3394492c..ac721b6f 100644
--- a/ui.inc
+++ b/ui.inc
@@ -470,3 +470,15 @@ kernel_good:
%endif
; Otherwise Linux kernel
+ section .bss
+ alignb 2
+KernelExtPtr resw 1 ; During search, final null pointer
+CmdOptPtr resw 1 ; Pointer to first option on cmd line
+KbdFlags resb 1 ; Check for keyboard escapes
+FuncFlag resb 1 ; Escape sequences received from keyboard
+ 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
+
+ section .text