Changeset 46 for trunk/hal/x86_64/hal_init.c
- Timestamp:
- Jun 23, 2017, 1:31:23 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/hal_init.c
r45 r46 47 47 uint8_t mb_mmap[PAGE_SIZE] __in_kdata; 48 48 49 #define offsetof(type, member) __builtin_offsetof(type, member)50 51 49 /* -------------------------------------------------------------------------- */ 52 50 … … 59 57 60 58 if (!(mb_info.mi_flags & MULTIBOOT_INFO_HAS_MMAP)) 61 x86_p rintf("SHIT!!\n");59 x86_panic("No mmap"); 62 60 63 61 i = 0; … … 104 102 x86_printf("[+] hal_gpt_bootstrap_reset called\n"); 105 103 106 hal_init_lapic(); 107 x86_printf("[+] hal_init_lapic called\n"); 104 hal_lapic_init(); 105 x86_printf("[+] hal_lapic_init called\n"); 106 107 hal_tls_init_cpu0(); 108 x86_printf("[+] hal_tls_init_cpu0 called\n"); 108 109 109 110 x86_printf("-> mytest = %z\n", mytest); … … 232 233 SDT_SYS386IGT, SEL_KPL, GDT_FIXED_SEL(GDT_KCODE_SEL, SEL_KPL)); 233 234 } 234 235 235 } 236 236
Note: See TracChangeset
for help on using the changeset viewer.