Made the KPanic routine switch back to 0xB8000 text mode
[tpg/acess2.git] / Kernel / arch / x86 / time.c
index 79ea4d0..5f7d592 100644 (file)
@@ -3,7 +3,7 @@
  * Timekeeping
  * arch/x86/time.c
  */
-#include <common.h>
+#include <acess.h>
 
 // === 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);

UCC git Repository :: git.ucc.asn.au