aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/boot
diff options
context:
space:
mode:
authorHuang, Ying <ying.huang@intel.com>2008-03-27 22:49:44 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-26 15:34:42 -0400
commit8b664aa66e824a0ddf4ec56d41fa0cf7bb374de6 (patch)
tree57c5de72c38f630e126964b922c379c4a7e49100 /arch/x86/boot
parent50eae2a7c9862afe263a2003c12f457ecfc9e6a2 (diff)
x86, boot: add linked list of struct setup_data
This patch adds a field of 64-bit physical pointer to NULL terminated single linked list of struct setup_data to real-mode kernel header. This is used as a more extensible boot parameters passing mechanism. Signed-off-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/boot')
-rw-r--r--arch/x86/boot/header.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/x86/boot/header.S b/arch/x86/boot/header.S
index 6d2df8d61c54..af86e431acfa 100644
--- a/arch/x86/boot/header.S
+++ b/arch/x86/boot/header.S
@@ -120,7 +120,7 @@ _start:
120 # Part 2 of the header, from the old setup.S 120 # Part 2 of the header, from the old setup.S
121 121
122 .ascii "HdrS" # header signature 122 .ascii "HdrS" # header signature
123 .word 0x0208 # header version number (>= 0x0105) 123 .word 0x0209 # header version number (>= 0x0105)
124 # or else old loadlin-1.5 will fail) 124 # or else old loadlin-1.5 will fail)
125 .globl realmode_swtch 125 .globl realmode_swtch
126realmode_swtch: .word 0, 0 # default_switch, SETUPSEG 126realmode_swtch: .word 0, 0 # default_switch, SETUPSEG
@@ -227,6 +227,10 @@ hardware_subarch_data: .quad 0
227payload_offset: .long input_data 227payload_offset: .long input_data
228payload_length: .long input_data_end-input_data 228payload_length: .long input_data_end-input_data
229 229
230setup_data: .quad 0 # 64-bit physical pointer to
231 # single linked list of
232 # struct setup_data
233
230# End of setup header ##################################################### 234# End of setup header #####################################################
231 235
232 .section ".inittext", "ax" 236 .section ".inittext", "ax"