Ignore:
Timestamp:
Jul 26, 2017, 10:54:49 AM (7 years ago)
Author:
max@…
Message:

Add tls_tf.

File:
1 edited

Legend:

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

    r237 r274  
    3030#include <hal_internal.h>
    3131#include <hal_special.h>
     32#include <hal_segmentation.h>
    3233
    3334/* -------------------------------------------------------------------------- */
     
    4546            tf->tf_rip, hal_get_current_thread());
    4647        return;
     48
     49        core_t *core = CURRENT_THREAD->core;
     50        curcpu()->tls_tf = tf;
     51
     52        core_clock(core);
    4753}
    4854
Note: See TracChangeset for help on using the changeset viewer.