Changeset 298 for trunk


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

Sync with TSAR.

Location:
trunk/hal/x86_64/core
Files:
2 edited

Legend:

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

    r234 r298  
    103103}
    104104
    105 void hal_cpu_context_save( thread_t * thread )
     105void hal_cpu_context_save( void * ctx )
    106106{
    107107        x86_panic((char *)__func__);
    108108}
    109109
    110 void hal_cpu_context_restore( thread_t * thread )
     110void hal_cpu_context_restore( void * ctx )
    111111{
    112112        x86_panic((char *)__func__);
  • 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.