Changeset 319 for trunk/hal/x86_64


Ignore:
Timestamp:
Aug 6, 2017, 8:00:24 AM (7 years ago)
Author:
max@…
Message:

Don't forget to unmap the region below the kernel. Useful to
detect NULL dereferences within clusters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_gpt.c

    r316 r319  
    6868         */
    6969        hal_gpt_enter_range(CLUSTER_MIN_VA(0), 0, CLUSTER_PA_SIZE / PAGE_SIZE);
     70        hal_gpt_leave_range(CLUSTER_MIN_VA(0), (KERNTEXTOFF - KERNBASE) / PAGE_SIZE);
    7071
    7172        va_avail = CLUSTER_MIN_VA(0) + KERNEL_VA_SIZE;
Note: See TracChangeset for help on using the changeset viewer.