Changeset 143 for trunk/hal/x86_64/core
- Timestamp:
- Jul 5, 2017, 10:56:06 AM (7 years ago)
- Location:
- trunk/hal/x86_64/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_exception.c
r142 r143 27 27 #include <core.h> 28 28 #include <do_exception.h> 29 30 29 31 30 #include <hal_kentry.h> … … 70 69 } 71 70 72 x86_printf("\n****** FAULTOCCURRED ******\n");71 x86_printf("\n****** EXCEPTION OCCURRED ******\n"); 73 72 x86_printf("%s\n", (char *)buf); 74 73 x86_printf("-> rip = %Z\n", tf->tf_rip); … … 77 76 if (excno == T_PAGEFLT) 78 77 x86_printf("-> va = %Z\n", rcr2()); 79 x86_printf("****** FAULTOCCURRED ******\n\n");78 x86_printf("****** EXCEPTION OCCURRED ******\n\n"); 80 79 81 80 while (1); -
trunk/hal/x86_64/core/hal_segmentation.h
r138 r143 1 1 /* 2 2 * hal_segmentation.h - Segmentation-related values and structures 3 * 3 * 4 4 * Copyright (c) 2017 Maxime Villard 5 * 5 * 6 6 * This file is part of ALMOS-MKH. 7 7 * … … 29 29 #define GDT_UCODE_SEL 3 /* User code descriptor */ 30 30 #define GDT_UDATA_SEL 4 /* User data descriptor */ 31 #define NGDT_MEM 6 31 #define NGDT_MEM 6 /* aligned */ 32 32 33 33 #define GDT_CPU0TSS_SEL 0 /* cpu0's tss */ … … 203 203 204 204 /* debug only, will be removed soon */ 205 #define LAPIC_TIMER_VECTOR 205 #define LAPIC_TIMER_VECTOR (DYNVEC_MIN + 4) 206 206 #define IOAPIC_KEYBOARD_VECTOR (DYNVEC_MIN + 5) 207 207
Note: See TracChangeset
for help on using the changeset viewer.