Changeset 123


Ignore:
Timestamp:
Jul 3, 2017, 2:21:24 PM (4 years ago)
Author:
max@…
Message:

unmap the area below the kernel, so that we can find pointer
dereferences in here

File:
1 edited

Legend:

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

    r116 r123  
    242242        hal_gpt_enter_range(CLUSTER_MIN_VA(0) + kimg_size, kimg_max_pa,
    243243            (CLUSTER_VA_SIZE - kimg_size) / PAGE_SIZE);
     244
     245        /* Unmap the area below the kernel */
     246        hal_gpt_leave_range(CLUSTER_MIN_VA(0), (KERNTEXTOFF - KERNBASE) / PAGE_SIZE);
    244247}
    245248
Note: See TracChangeset for help on using the changeset viewer.