Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 353 → Rev 352

/shark/trunk/oslib/xlib/ctxsw.c
25,8 → 25,6
#include <ll/i386/hw-func.h>
#include <ll/i386/tss-ctx.h>
 
#include <tracer.h>
 
FILE(Context-Switch);
 
extern unsigned short int currCtx;
41,7 → 39,6
#ifdef __VIRCSW__
currCtx = c;
if (activeInt == 0) {
TRACER_LOGEVENT(FTrace_EVT_context_switch, 1, (int)c, 0);
context_load(c);
}
#else
66,6 → 63,5
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,7 → 10,6
 
C_OPT += -D__VIRCSW__
ASM_OPT += -D__VIRCSW__
INCL += -I$(BASE)/../tracer/include
 
#C_OPT += -DPROFILE
#ASM_OPT += -DPROFILE