Ignore:
Timestamp:
Jul 10, 2017, 10:23:29 AM (7 years ago)
Author:
max@…
Message:

define the TLS in hal_segmentation.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_segmentation.h

    r164 r167  
    145145
    146146#define IOMAP_INVALOFF  0xffff
     147
     148/*
     149 * Our definition of Thread-Local Storage.
     150 */
     151struct tls {
     152        void *tls_self;
     153        uint32_t tls_gid;
     154        uint32_t tls_lid;
     155        void *tls_thr;
     156} __packed;
     157typedef struct tls tls_t;
    147158
    148159void lgdt(struct region_descriptor *);
Note: See TracChangeset for help on using the changeset viewer.