Ignore:
Timestamp:
Jul 5, 2017, 3:40:42 PM (5 years ago)
Author:
max@…
Message:

remove debug and unused code

File:
1 edited

Legend:

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

    r148 r150  
    218218void hal_gpt_init(paddr_t firstpa)
    219219{
    220         paddr_t kimg_min_pa, kimg_max_pa;
    221 
    222220        /* Initialize global values */
    223221        pa_avail = firstpa;
     
    225223        kimg_size = ((uint64_t)&__kernel_end - KERNBASE);
    226224        XASSERT(kimg_size % PAGE_SIZE == 0);
    227 
    228         kimg_min_pa = 0;
    229         kimg_max_pa = kimg_min_pa + kimg_size;
    230225
    231226        /* Create cluster0's page tree */
Note: See TracChangeset for help on using the changeset viewer.