Ignore:
Timestamp:
Jun 29, 2017, 1:27:43 PM (5 years ago)
Author:
max@…
Message:

remove lw_unc, add a few ops, and update a few things

File:
1 edited

Legend:

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

    r82 r94  
    7575uint32_t hal_time_stamp()
    7676{
    77         x86_panic((char *)__func__);
    78         return 0;
     77        return (uint32_t)rdtsc(); // XXX will be fixed soon
    7978}
    8079
    8180struct thread_s * hal_get_current_thread()
    8281{
    83         x86_panic((char *)__func__);
    8482        return curcpu()->ci_thr;
    8583}
Note: See TracChangeset for help on using the changeset viewer.