Changeset 15 for trunk/hal/i386
- Timestamp:
- May 7, 2017, 12:04:53 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/i386/boot.c
r8 r15 68 68 void kboot_entry(struct mb_partial_info_s *mbi) 69 69 { 70 71 70 uint32_t gdt_ptr; 72 71 uint32_t tss_index; 73 72 74 73 kheap_start = ARROUND_UP((uint_t)&_end, 4096); 75 74 kheap_limit = kheap_start + (8<<20); … … 89 88 gdt_ptr = (uint32_t) cpu_get_gdt_ptr(); 90 89 tss_index = (cpu_get_id() + GDT_FIXED_NR) << 3; 91 90 92 91 #if 0 93 92 gdt_print((struct cpu_gdt_entry_s*)cpu_get_gdt_ptr()->base, GDT_FIXED_NR + CPU_NR);
Note: See TracChangeset
for help on using the changeset viewer.