Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 352 → Rev 353

/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);
}
/shark/trunk/oslib/xlib/makefile
10,6 → 10,7
 
C_OPT += -D__VIRCSW__
ASM_OPT += -D__VIRCSW__
INCL += -I$(BASE)/../tracer/include
 
#C_OPT += -DPROFILE
#ASM_OPT += -DPROFILE