Changeset 78
- Timestamp:
- Jun 27, 2017, 5:19:53 PM (7 years ago)
- Location:
- trunk/hal/x86_64/core
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_cpu.S
r51 r78 39 39 ret 40 40 41 ASM_ENTRY(sti) 42 sti 43 ret 44 45 ASM_ENTRY(cli) 46 cli 47 ret 48 41 49 ASM_ENTRY(rdmsr) 42 50 movq %rdi,%rcx -
trunk/hal/x86_64/core/hal_internal.h
r51 r78 31 31 /* hal_cpu.S */ 32 32 void invlpg(vaddr_t va); 33 void sti(); 34 void cli(); 33 35 uint64_t rdmsr(uint32_t); 34 36 void wrmsr(uint32_t, uint64_t); -
trunk/hal/x86_64/core/hal_trap.c
r51 r78 64 64 } 65 65 66 x86_printf("\n"); 67 x86_printf("****** FAULT OCCURRED ******\n"); 68 x86_printf((char *)buf); 69 x86_printf("\n"); 70 x86_printf("****** FAULT OCCURRED ******\n"); 71 x86_printf("\n"); 66 x86_printf("\n****** FAULT OCCURRED ******\n"); 67 x86_printf("%s\n", (char *)buf); 68 x86_printf("-> rip = %Z\n", tf->tf_rip); 69 x86_printf("****** FAULT OCCURRED ******\n\n"); 72 70 73 71 while (1);
Note: See TracChangeset
for help on using the changeset viewer.