Ignore:
Timestamp:
Aug 7, 2017, 3:11:45 PM (7 years ago)
Author:
max@…
Message:

Add support for context switch - not tested yet, due to some other bugs in
the mapper. This cswitch is similar to that of TSAR.

File:
1 edited

Legend:

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

    r323 r339  
    654654        cputls->tls_gid = hal_lapic_gid();
    655655        cputls->tls_lid = lid;
     656        /* cputls->tls_rsp0 = (uint64_t)&data->tss.tss_rsp0; */
    656657        cputls->tls_intr = INTRS_DISABLED;
    657658
Note: See TracChangeset for help on using the changeset viewer.