4 FUTURE: Use disk reader
6 We will pull our higher half kernel out of this shit
7 and load it separately once we have our disk reader.
13 /* 这里是我们的高半核初始化代码段和数据段 */
14 .boot.text BLOCK(4K) : {
19 .boot.bss BLOCK(4K) : {
23 .boot.data BLOCK(4K) : {
27 .boot.rodata BLOCK(4K) : {
31 .boot.bss BLOCK(4K) : {
34 __kexec_boot_end = ALIGN(4K);
36 /* Relocation of our higher half kernel */
40 .text BLOCK(4K) : AT ( ADDR(.text) - 0xC0000000 ) {
42 PROVIDE(__kexec_text_start = .);
46 PROVIDE(__kexec_text_end = .);
49 .data BLOCK(4K) : AT ( ADDR(.data) - 0xC0000000 ) {
53 .rodata BLOCK(4K) : AT ( ADDR(.rodata) - 0xC0000000 ) {
57 .kpg BLOCK(4K) : AT ( ADDR(.kpg) - 0xC0000000 ) {
63 /* for generated array, we align to address line size */
65 .lga BLOCK(4K) : AT ( ADDR(.lga) - 0xC0000000 ) {
66 PROVIDE(__lga_twiplugin_inits_start = .);
68 KEEP(*(.lga.twiplugin_inits));
70 PROVIDE(__lga_twiplugin_inits_end = .);
74 PROVIDE(__lga_pci_dev_drivers_start = .);
76 KEEP(*(.lga.pci_dev_drivers));
78 PROVIDE(__lga_pci_dev_drivers_end = .);
81 .bss BLOCK(4K) : AT ( ADDR(.bss) - 0xC0000000 ) {
85 __kexec_end = ALIGN(4K);