Changeset 336 for trunk/hal/x86_64/core/hal_special.c
- Timestamp:
- Aug 7, 2017, 11:22:15 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_special.c
r309 r336 32 32 struct thread_s; 33 33 34 tls_t *cur cpu()34 tls_t *curtls() 35 35 { 36 36 tls_t *cputls; … … 45 45 gid_t hal_get_gid() 46 46 { 47 return cur cpu()->tls_gid;47 return curtls()->tls_gid; 48 48 } 49 49 … … 75 75 struct thread_s *hal_get_current_thread() 76 76 { 77 return cur cpu()->tls_thr;77 return curtls()->tls_thr; 78 78 } 79 79 80 80 void hal_set_current_thread( struct thread_s * thread ) 81 81 { 82 cur cpu()->tls_thr = thread;82 curtls()->tls_thr = thread; 83 83 } 84 84
Note: See TracChangeset
for help on using the changeset viewer.