26,6 → 26,8 |
/////////////////////////////////////////////////////////////////////////////// |
|
#define STDCALL __attribute__ ((stdcall)) __attribute__ ((dllimport)) |
#define FASTCALL __attribute__ ((fastcall)) __attribute__ ((dllimport)) |
|
#define IMPORT __attribute__ ((dllimport)) |
|
/////////////////////////////////////////////////////////////////////////////// |
61,6 → 63,9 |
|
int STDCALL AttachIntHandler(int irq, void *handler, u32_t access) __asm__("AttachIntHandler"); |
|
void FASTCALL MutexInit(struct mutex*)__asm__("MutexInit"); |
void FASTCALL MutexLock(struct mutex*)__asm__("MutexLock"); |
void FASTCALL MutexUnlock(struct mutex*)__asm__("MutexUnlock"); |
|
/////////////////////////////////////////////////////////////////////////////// |
|