- Timestamp:
- Jul 5, 2017, 3:40:42 PM (7 years ago)
- Location:
- trunk/hal/x86_64/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_gpt.c
r148 r150 218 218 void hal_gpt_init(paddr_t firstpa) 219 219 { 220 paddr_t kimg_min_pa, kimg_max_pa;221 222 220 /* Initialize global values */ 223 221 pa_avail = firstpa; … … 225 223 kimg_size = ((uint64_t)&__kernel_end - KERNBASE); 226 224 XASSERT(kimg_size % PAGE_SIZE == 0); 227 228 kimg_min_pa = 0;229 kimg_max_pa = kimg_min_pa + kimg_size;230 225 231 226 /* Create cluster0's page tree */ -
trunk/hal/x86_64/core/hal_init.c
r138 r150 304 304 // void x86_stop(); 305 305 // x86_stop(); 306 307 int m = 0;308 int v = 1 / m;309 310 char *buf = NULL;311 *buf = (char)0x01;312 313 x86_printf("ALIVE!\n");314 315 while (1);316 306 } 317 307
Note: See TracChangeset
for help on using the changeset viewer.