Changeset 298 for trunk/hal/x86_64/core/hal_init.c
- Timestamp:
- Jul 31, 2017, 2:10:39 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.