Changeset 94 for trunk/hal/x86_64/core/hal_special.c
- Timestamp:
- Jun 29, 2017, 1:27:43 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_special.c
r82 r94 75 75 uint32_t hal_time_stamp() 76 76 { 77 x86_panic((char *)__func__); 78 return 0; 77 return (uint32_t)rdtsc(); // XXX will be fixed soon 79 78 } 80 79 81 80 struct thread_s * hal_get_current_thread() 82 81 { 83 x86_panic((char *)__func__);84 82 return curcpu()->ci_thr; 85 83 }
Note: See TracChangeset
for help on using the changeset viewer.