X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Farch%2Fx86%2Ftime.c;h=5f7d59271dd33861cad6d6fec712eeae9e48b2f9;hb=54746c855c6e2fe42fde9f93b0ce3f41aeefc2e5;hp=79ea4d08cccda9895f3cc5aaeec0f399601dbf56;hpb=6749674b892a0865abc22f9a6ec9a624ff40a283;p=tpg%2Facess2.git diff --git a/Kernel/arch/x86/time.c b/Kernel/arch/x86/time.c index 79ea4d08..5f7d5927 100644 --- a/Kernel/arch/x86/time.c +++ b/Kernel/arch/x86/time.c @@ -3,7 +3,7 @@ * Timekeeping * arch/x86/time.c */ -#include +#include // === MACROS === #define NUM_TIMERS 8 @@ -87,10 +87,10 @@ void Time_Interrupt() inb(0x71); // Just throw away contents. } +#if 0 /** * \fn void Time_TimerThread() */ -#if 0 void Time_TimerThread() { Sint64 next; @@ -177,3 +177,9 @@ void Time_Delay(int Delay) Sint64 dest = giTimestamp + Delay; while(dest < giTimestamp) Threads_Yield(); } + +// === EXPORTS === +EXPORT(now); +EXPORT(Time_CreateTimer); +EXPORT(Time_RemoveTimer); +EXPORT(Time_Delay);