Ignore:
Timestamp:
Jul 10, 2017, 10:33:15 AM (7 years ago)
Author:
max@…
Message:

make the TLS initialization per-cpu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_interrupt.c

    r155 r168  
    2929#include <hal_apic.h>
    3030#include <hal_internal.h>
     31#include <hal_special.h>
    3132
    3233/* -------------------------------------------------------------------------- */
     
    3738void hal_timer_intr(struct trapframe *tf)
    3839{
    39         x86_printf("-> got timer: rip=%Z\n", tf->tf_rip);
     40        x86_printf("-> got timer: rip=%Z (th=%Z)\n", tf->tf_rip,
     41            hal_get_current_thread());
    4042        return;
    4143}
Note: See TracChangeset for help on using the changeset viewer.