X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Farch%2Fx86%2Ftime.c;h=77683b558ef3d409a2a5d91bf3cbaca21b8fabe7;hb=e29b02ca55d580b2f7f10d1093c3d6ad1bc59458;hp=49d515e4e5cd76966e8a1ffdfb0795ffda820738;hpb=fed0a8f469f7b187d26c0c8cb109bfd6930efaee;p=tpg%2Facess2.git diff --git a/Kernel/arch/x86/time.c b/Kernel/arch/x86/time.c index 49d515e4..77683b55 100644 --- a/Kernel/arch/x86/time.c +++ b/Kernel/arch/x86/time.c @@ -20,14 +20,14 @@ extern Uint64 giPartMiliseconds; extern void Timer_CallTimers(void); // === PROTOTYPES === -void Time_Interrupt(); +void Time_Interrupt(int); // === CODE === /** - * \fn int Time_Setup() + * \fn int Time_Setup(void) * \brief Sets the system time from the Realtime-Clock */ -int Time_Setup() +int Time_Setup(void) { Uint8 val; @@ -57,10 +57,10 @@ int Time_Setup() } /** - * \fn void Time_Interrupt() + * \fn void Time_Interrupt(void) * \brief Called on the timekeeping IRQ */ -void Time_Interrupt() +void Time_Interrupt(int irq) { giTicks ++; giTimestamp += MS_PER_TICK_WHOLE; @@ -79,9 +79,9 @@ void Time_Interrupt() #if 0 /** - * \fn void Time_TimerThread() + * \fn void Time_TimerThread(void) */ -void Time_TimerThread() +void Time_TimerThread(void) { Sint64 next; Threads_SetName("TIMER");