Changeset 47 for trunk/kernel


Ignore:
Timestamp:
Jun 26, 2017, 11:48:28 AM (8 years ago)
Author:
max@…
Message:

Use mcmodel=large, in order to have a kernel image that is located at the
beginning of each cluster in virtual memory, as discussed with Alain. The
performance cost will be taken care of later.

Now, the active kernel is located at 0xfffff00000000000, and the base of
the clusters is 0xffff800000000000.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kernel_x86.ld

    r27 r47  
    66__PAGE_SIZE = 0x1000 ;
    77
    8 __KERNEL_BASE_VIRT = 0xffffffff80000000 ;
     8__KERNEL_BASE_VIRT = 0xfffff00000000000 ;
    99__KERNEL_BASE_PHYS = 0x0000000000000000 ;
    1010
    11 __KERNEL_TEXT_VIRT = 0xffffffff80200000 ;
     11__KERNEL_TEXT_VIRT = 0xfffff00000200000 ;
    1212__KERNEL_TEXT_PHYS = 0x0000000000200000 ;
    1313
Note: See TracChangeset for help on using the changeset viewer.