Changeset 344
- Timestamp:
- Aug 8, 2017, 11:27:12 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_interrupt.c
r340 r344 39 39 void hal_timer_intr(hal_trapframe_t *tf) 40 40 { 41 if (hal_get_gid() != 0) { 41 core_t *core = CURRENT_THREAD->core; 42 43 if (hal_get_gid() == 0) { 42 44 /* print the message only for cpu0 */ 43 return; 45 x86_printf("-> got timer: cpu%z rip=%Z (th=%Z)\n", hal_get_gid(), 46 tf->tf_rip, hal_get_current_thread()); 44 47 } 45 x86_printf("-> got timer: cpu%z rip=%Z (th=%Z)\n", hal_get_gid(),46 tf->tf_rip, hal_get_current_thread());47 return;48 49 core_t *core = CURRENT_THREAD->core;50 48 51 49 core_clock(core);
Note: See TracChangeset
for help on using the changeset viewer.