Ignore:
Timestamp:
Jun 30, 2017, 11:26:32 AM (5 years ago)
Author:
max@…
Message:

compute the offset for bootinfo

File:
1 edited

Legend:

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

    r112 r114  
    7171void hal_gpt_bootstrap_reset()
    7272{
    73         size_t npages = (va_avail - (CLUSTER_MIN_VA(0) + KERNEL_VA_SIZE)) / PAGE_SIZE;
    74         hal_gpt_leave_range(CLUSTER_MIN_VA(0) + KERNEL_VA_SIZE, npages);
     73//      XXX: will be revisited later
     74//      size_t npages = (va_avail - (CLUSTER_MIN_VA(0) + KERNEL_VA_SIZE)) / PAGE_SIZE;
     75//      hal_gpt_leave_range(CLUSTER_MIN_VA(0) + KERNEL_VA_SIZE, npages);
     76//      va_avail = CLUSTER_MIN_VA(0) + KERNEL_VA_SIZE;
    7577}
    7678
Note: See TracChangeset for help on using the changeset viewer.