Changeset 298
- Timestamp:
- Jul 31, 2017, 2:10:39 PM (7 years ago)
- Location:
- trunk/hal/x86_64/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_context.c
r234 r298 103 103 } 104 104 105 void hal_cpu_context_save( thread_t * thread)105 void hal_cpu_context_save( void * ctx ) 106 106 { 107 107 x86_panic((char *)__func__); 108 108 } 109 109 110 void hal_cpu_context_restore( thread_t * thread)110 void hal_cpu_context_restore( void * ctx ) 111 111 { 112 112 x86_panic((char *)__func__); -
trunk/hal/x86_64/core/hal_init.c
r293 r298 222 222 size_t offset; 223 223 224 extern uint64_t __kernel_data_start;225 extern uint64_t __kernel_end;226 227 224 memset(info, 0, sizeof(boot_info_t)); 228 225 … … 253 250 info->pages_offset = offset / PAGE_SIZE; 254 251 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;260 252 } 261 253
Note: See TracChangeset
for help on using the changeset viewer.