From 339366f19680e505d5ff9763375f0fc159b5baed Mon Sep 17 00:00:00 2001 From: red031000 Date: Sat, 13 Jun 2020 17:59:30 +0100 Subject: arm9 OS_tick --- arm9/lib/include/OS_interrupt.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'arm9/lib/include/OS_interrupt.h') diff --git a/arm9/lib/include/OS_interrupt.h b/arm9/lib/include/OS_interrupt.h index ec58a636..481e6c6c 100644 --- a/arm9/lib/include/OS_interrupt.h +++ b/arm9/lib/include/OS_interrupt.h @@ -1,9 +1,11 @@ #ifndef POKEDIAMOND_ARM9_OS_INTERRUPT_H #define POKEDIAMOND_ARM9_OS_INTERRUPT_H -#include "nitro/types.h" +#include "consts.h" #include "nitro/OS_interrupt_shared.h" +#define OS_IE_TIMER0 (1UL << REG_OS_IE_T0_SHIFT) + typedef void (*OSIrqFunction) (void); typedef struct -- cgit v1.2.3 From c734347a8fed09aff1aacaad89eb7db831a00a3c Mon Sep 17 00:00:00 2001 From: red031000 Date: Sun, 14 Jun 2020 21:47:39 +0100 Subject: arm7 OS_interrupt --- arm9/lib/include/OS_interrupt.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'arm9/lib/include/OS_interrupt.h') diff --git a/arm9/lib/include/OS_interrupt.h b/arm9/lib/include/OS_interrupt.h index 481e6c6c..a828c62e 100644 --- a/arm9/lib/include/OS_interrupt.h +++ b/arm9/lib/include/OS_interrupt.h @@ -6,15 +6,6 @@ #define OS_IE_TIMER0 (1UL << REG_OS_IE_T0_SHIFT) -typedef void (*OSIrqFunction) (void); - -typedef struct -{ - void (*func) (void *); - u32 enable; - void* arg; -} OSIrqCallbackInfo; - extern OSIrqFunction OS_IRQTable[]; extern OSIrqCallbackInfo OSi_IrqCallbackInfo[8]; -- cgit v1.2.3