diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-11 17:21:12 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-11 17:40:50 -0400 |
commit | 77d1a4999502c260df0eb2de437d320bf8c64b36 (patch) | |
tree | d479843ccd9ffdd0e89548753c391950adb664a4 /arch/x86/boot/header.S | |
parent | 02a884c0fe7ec8459d00d34b7d4101af21fc4a86 (diff) |
x86, boot: make symbols from the main vmlinux available
Make symbols from the main vmlinux, as opposed to just
compressed/vmlinux, available to header.S. Also, export a few
additional symbols.
This will be used in a subsequent patch to export the total memory
footprint of the kernel.
[ Impact: enable future enhancement ]
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/boot/header.S')
-rw-r--r-- | arch/x86/boot/header.S | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/x86/boot/header.S b/arch/x86/boot/header.S index 5d84d1c74e4c..27285143adeb 100644 --- a/arch/x86/boot/header.S +++ b/arch/x86/boot/header.S | |||
@@ -22,7 +22,8 @@ | |||
22 | #include <asm/page_types.h> | 22 | #include <asm/page_types.h> |
23 | #include <asm/setup.h> | 23 | #include <asm/setup.h> |
24 | #include "boot.h" | 24 | #include "boot.h" |
25 | #include "offsets.h" | 25 | #include "voffset.h" |
26 | #include "zoffset.h" | ||
26 | 27 | ||
27 | BOOTSEG = 0x07C0 /* original address of boot-sector */ | 28 | BOOTSEG = 0x07C0 /* original address of boot-sector */ |
28 | SYSSEG = 0x1000 /* historical load address >> 4 */ | 29 | SYSSEG = 0x1000 /* historical load address >> 4 */ |
@@ -212,8 +213,8 @@ hardware_subarch: .long 0 # subarchitecture, added with 2.07 | |||
212 | 213 | ||
213 | hardware_subarch_data: .quad 0 | 214 | hardware_subarch_data: .quad 0 |
214 | 215 | ||
215 | payload_offset: .long input_data | 216 | payload_offset: .long ZO_input_data |
216 | payload_length: .long input_data_end-input_data | 217 | payload_length: .long ZO_z_input_len |
217 | 218 | ||
218 | setup_data: .quad 0 # 64-bit physical pointer to | 219 | setup_data: .quad 0 # 64-bit physical pointer to |
219 | # single linked list of | 220 | # single linked list of |