/shark/trunk/oslib/xlib/ctxsw.c |
---|
25,6 → 25,8 |
#include <ll/i386/hw-func.h> |
#include <ll/i386/tss-ctx.h> |
#include <tracer.h> |
FILE(Context-Switch); |
extern unsigned short int currCtx; |
39,6 → 41,7 |
#ifdef __VIRCSW__ |
currCtx = c; |
if (activeInt == 0) { |
TRACER_LOGEVENT(FTrace_EVT_context_switch, 1, (int)c, 0); |
context_load(c); |
} |
#else |
63,5 → 66,6 |
void ll_context_load(CONTEXT c) |
{ |
currCtx = c; |
TRACER_LOGEVENT(FTrace_EVT_context_switch, 1, (int)c, 0); |
context_load(c); |
} |