Ignore:
Timestamp:
Jul 31, 2017, 2:10:39 PM (7 years ago)
Author:
max@…
Message:

Sync with TSAR.

File:
1 edited

Legend:

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

    r293 r298  
    222222        size_t offset;
    223223
    224         extern uint64_t __kernel_data_start;
    225         extern uint64_t __kernel_end;
    226 
    227224        memset(info, 0, sizeof(boot_info_t));
    228225
     
    253250        info->pages_offset = offset / PAGE_SIZE;
    254251        info->pages_nr = init_bootinfo_pages_nr();
    255 
    256         info->kernel_code_start = (intptr_t)(KERNTEXTOFF - KERNBASE);
    257         info->kernel_code_end = (intptr_t)(&__kernel_data_start - KERNBASE) - 1;
    258         info->kernel_data_start = (intptr_t)(&__kernel_data_start - KERNBASE);
    259         info->kernel_code_end = (intptr_t)(&__kernel_end - KERNBASE) - 1;
    260252}
    261253
Note: See TracChangeset for help on using the changeset viewer.