Ignore:
Timestamp:
Jul 7, 2017, 2:39:34 PM (5 years ago)
Author:
max@…
Message:

start making these variables per-cpu

File:
1 edited

Legend:

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

    r152 r162  
    133133struct tss {
    134134        uint32_t tss_reserved1;
    135         uint64_t tss_rsp0;
    136         uint64_t tss_rsp1;
    137         uint64_t tss_rsp3;
     135        uint64_t tss_rsp0;      /* kernel stack pointer ring 0 */
     136        uint64_t tss_rsp1;      /* kernel stack pointer ring 1 */
     137        uint64_t tss_rsp2;      /* kernel stack pointer ring 2 */
    138138        uint32_t tss_reserved2;
    139139        uint32_t tss_reserved3;
    140         uint64_t tss_ist[7];
     140        uint64_t tss_ist[7];    /* Interrupt stack table */
    141141        uint32_t tss_reserved4;
    142142        uint32_t tss_reserved5;
Note: See TracChangeset for help on using the changeset viewer.