Ignore:
Timestamp:
Aug 7, 2017, 3:11:45 PM (4 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_internal.h

    r309 r339  
    6161void wbinvd();
    6262
     63void cpu_context_switch(void *oldctx, void *newctx);
     64
    6365uint32_t atomic_cas_32(volatile uint32_t *ptr, uint32_t exp, uint32_t new);
    6466uint32_t atomic_add_32(volatile uint32_t *ptr, int32_t incr);
Note: See TracChangeset for help on using the changeset viewer.