Link CARDUnlock.c, CARDBios.c matches, but can't be linked due to frank issues

Former-commit-id: 58d5c4a816
This commit is contained in:
2022-09-10 13:32:26 -07:00
parent feff8c6ec3
commit 57d8500376
17 changed files with 1295 additions and 160 deletions

View File

@@ -0,0 +1,29 @@
#ifndef __OSALARM_H__
#define __OSALARM_H__
#include <types.h>
#include <dolphin/os/OSContext.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct OSAlarm OSAlarm;
typedef void (*OSAlarmHandler)(OSAlarm* alarm, OSContext* context);
struct OSAlarm {
OSAlarmHandler handler;
u32 tag;
OSTime fire;
OSAlarm* prev;
OSAlarm* next;
OSTime period;
OSTime start;
};
void OSSetAlarm(OSAlarm* alarm, OSTime tick, OSAlarmHandler handler);
#ifdef __cplusplus
}
#endif
#endif