mirror of
https://github.com/pret/pokediamond.git
synced 2026-04-25 07:26:54 -05:00
37 lines
639 B
C
37 lines
639 B
C
/*
|
|
* NOTE:
|
|
* This file is shared between ARM9 and ARM7
|
|
* DO NOT PUT PROC SPECIFIC CODE IN HERE
|
|
* Thank You!
|
|
*/
|
|
|
|
/*
|
|
* DO NOT INCLUDE THIS FILE DIRECTLY
|
|
* Include OS_alarm.h from the specific proc's lib
|
|
*/
|
|
|
|
#ifndef POKEDIAMOND_OS_ALARM_SHARED_H
|
|
#define POKEDIAMOND_OS_ALARM_SHARED_H
|
|
|
|
#include "nitro/types.h"
|
|
#include "nitro/OS_tick_shared.h"
|
|
#include "nitro/OS_thread_shared.h"
|
|
|
|
typedef void (*OSAlarmHandler) (void *);
|
|
|
|
struct OSiAlarm
|
|
{
|
|
OSAlarmHandler handler;
|
|
void *arg;
|
|
|
|
u32 tag;
|
|
OSTick fire;
|
|
OSAlarm *prev;
|
|
OSAlarm *next;
|
|
|
|
OSTick period;
|
|
OSTick start;
|
|
};
|
|
|
|
#endif //POKEDIAMOND_OS_ALARM_SHARED_H
|