Ignore:
Timestamp:
Aug 7, 2017, 11:22:15 AM (7 years ago)
Author:
max@…
Message:

Rename curcpu -> curtls.

File:
1 edited

Legend:

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

    r309 r336  
    3232struct thread_s;
    3333
    34 tls_t *curcpu()
     34tls_t *curtls()
    3535{
    3636        tls_t *cputls;
     
    4545gid_t hal_get_gid()
    4646{
    47         return curcpu()->tls_gid;
     47        return curtls()->tls_gid;
    4848}
    4949
     
    7575struct thread_s *hal_get_current_thread()
    7676{
    77         return curcpu()->tls_thr;
     77        return curtls()->tls_thr;
    7878}
    7979
    8080void hal_set_current_thread( struct thread_s * thread )
    8181{
    82         curcpu()->tls_thr = thread;
     82        curtls()->tls_thr = thread;
    8383}
    8484
Note: See TracChangeset for help on using the changeset viewer.