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 .hhk_init_text BLOCK(4K) : {
19 .hhk_init_bss BLOCK(4K) : {
23 .hhk_init_data BLOCK(4K) : {
27 .hhk_init_rodata BLOCK(4K) : {
30 __init_hhk_end = ALIGN(4K);
32 /* Relocation of our higher half kernel */
36 .text BLOCK(4K) : AT ( ADDR(.text) - 0xC0000000 ) {
38 PROVIDE(__ktext_start = .);
42 PROVIDE(__ktext_end = .);
45 .data BLOCK(4K) : AT ( ADDR(.data) - 0xC0000000 ) {
49 .rodata BLOCK(4K) : AT ( ADDR(.rodata) - 0xC0000000 ) {
53 .kpg BLOCK(4K) : AT ( ADDR(.kpg) - 0xC0000000 ) {
57 .bss BLOCK(4K) : AT ( ADDR(.bss) - 0xC0000000 ) {
61 __kernel_end = ALIGN(4K);