Rev 1408 | Rev 1613 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1408 | Rev 1434 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | 24 | ||
Line 25... | Line 25... | ||
25 | /////////////////////////////////////////////////////////////////////////////// |
25 | /////////////////////////////////////////////////////////////////////////////// |
Line 26... | Line 26... | ||
26 | 26 | ||
- | 27 | #define STDCALL __attribute__ ((stdcall)) __attribute__ ((dllimport)) |
|
- | 28 | #define FASTCALL __attribute__ ((fastcall)) __attribute__ ((dllimport)) |
|
27 | #define STDCALL __attribute__ ((stdcall)) __attribute__ ((dllimport)) |
29 | |
Line 28... | Line 30... | ||
28 | #define IMPORT __attribute__ ((dllimport)) |
30 | #define IMPORT __attribute__ ((dllimport)) |
Line 29... | Line 31... | ||
29 | 31 | ||
Line 59... | Line 61... | ||
59 | u32_t STDCALL RegService(char *name, srv_proc_t proc)__asm__("RegService"); |
61 | u32_t STDCALL RegService(char *name, srv_proc_t proc)__asm__("RegService"); |
Line 60... | Line 62... | ||
60 | 62 | ||
Line -... | Line 63... | ||
- | 63 | int STDCALL AttachIntHandler(int irq, void *handler, u32_t access) __asm__("AttachIntHandler"); |
|
- | 64 | ||
- | 65 | void FASTCALL MutexInit(struct mutex*)__asm__("MutexInit"); |
|
Line 61... | Line 66... | ||
61 | int STDCALL AttachIntHandler(int irq, void *handler, u32_t access) __asm__("AttachIntHandler"); |
66 | void FASTCALL MutexLock(struct mutex*)__asm__("MutexLock"); |
Line 62... | Line 67... | ||
62 | 67 | void FASTCALL MutexUnlock(struct mutex*)__asm__("MutexUnlock"); |
|
63 | 68 |