3 * - Acess kernel emulation on another OS using SDL and UDP
13 void LogF(const char *Fmt, ...)
21 void Log(const char *Fmt, ...)
31 void Warning(const char *Fmt, ...)
41 void Panic(const char *Format, ...)
45 va_start(args, Format);
46 vprintf(Format, args);
52 void Debug_SetKTerminal(const char *Path)
54 // Ignored, kernel debug goes to stdout
57 void *Heap_Allocate(const char *File, int Line, int ByteCount)
59 return malloc(ByteCount);
62 tPAddr MM_GetPhysAddr(tVAddr VAddr)
64 return VAddr; // HACK!
67 Uint MM_GetFlags(tVAddr VAddr)
72 int Modules_InitialiseBuiltin(const char *Name)
81 gettimeofday(&tv, &tz);
82 return tv.tv_sec * 1000 + tv.tv_usec/1000;