2 ENTRY(__k_unpaged_MINIX)
4 _kern_phys_base = 0x00400000; /* phys 4MB aligned for convenient remapping */
5 _kern_vir_base = 0xF0400000; /* map kernel high for max. user vir space */
6 _kern_offset = (_kern_vir_base - _kern_phys_base);
8 __k_unpaged__kern_offset = _kern_offset;
9 __k_unpaged__kern_vir_base = _kern_vir_base;
10 __k_unpaged__kern_phys_base = _kern_phys_base;
15 __k_unpaged__kern_unpaged_start = .;
17 .unpaged_text : { unpaged_*.o(.text) }
18 .unpaged_data ALIGN(4096) : { unpaged_*.o(.data .rodata*) }
19 .unpaged_bss ALIGN(4096) : { unpaged_*.o(.bss COMMON) }
20 __k_unpaged__kern_unpaged_end = .;
24 . = ALIGN(4096); usermapped_start = .;
25 .usermapped_glo : AT(ADDR(.usermapped_glo) - _kern_offset) { *(.usermapped_glo) }
26 . = ALIGN(4096); usermapped_nonglo_start = .;
27 .usermapped : AT(ADDR(.usermapped) - _kern_offset) { *(.usermapped) }
28 . = ALIGN(4096); usermapped_end = .;
29 .text : AT(ADDR(.text) - _kern_offset) { *(.text*) }
30 .data ALIGN(4096) : AT(ADDR(.data) - _kern_offset) { *(.data .rodata* ) }
32 .bss ALIGN(4096) : AT(ADDR(.bss) - _kern_offset) { *(.bss* COMMON)
33 __k_unpaged__kern_size = . - _kern_vir_base;
34 _kern_size = __k_unpaged__kern_size;