Ignore:
Timestamp:
Jun 23, 2017, 1:31:23 PM (7 years ago)
Author:
max@…
Message:

Start implementing TLS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/hal_register.h

    r29 r46  
    7272#define         EFER_TCE        0x00008000      /* Translation Cache Ext. */
    7373
     74#define MSR_STAR        0xc0000081              /* 32 bit syscall gate addr */
     75#define MSR_LSTAR       0xc0000082              /* 64 bit syscall gate addr */
     76#define MSR_CSTAR       0xc0000083              /* compat syscall gate addr */
     77#define MSR_SFMASK      0xc0000084              /* flags to clear on syscall */
     78
     79#define MSR_FSBASE      0xc0000100              /* 64bit offset for fs: */
     80#define MSR_GSBASE      0xc0000101              /* 64bit offset for gs: */
     81#define MSR_KERNELGSBASE 0xc0000102             /* storage for swapgs ins */
     82
Note: See TracChangeset for help on using the changeset viewer.