Rev 1631 | Rev 1964 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1631 | Rev 1872 | ||
---|---|---|---|
Line 16... | Line 16... | ||
16 | #define PciApi __PciApi |
16 | #define PciApi __PciApi |
17 | #define CreateObject __CreateObject |
17 | #define CreateObject __CreateObject |
18 | #define DestroyObject __DestroyObject |
18 | #define DestroyObject __DestroyObject |
19 | 19 | ||
Line -... | Line 20... | ||
- | 20 | #define _alloca(x) __builtin_alloca((x)) |
|
- | 21 | ||
20 | /////////////////////////////////////////////////////////////////////////////// |
22 | /////////////////////////////////////////////////////////////////////////////// |
Line 21... | Line 23... | ||
21 | 23 | ||
22 | 24 | ||
Line 44... | Line 46... | ||
44 | void FASTCALL MutexInit(struct mutex*)__asm__("MutexInit"); |
46 | void FASTCALL MutexInit(struct mutex*)__asm__("MutexInit"); |
45 | void FASTCALL MutexLock(struct mutex*)__asm__("MutexLock"); |
47 | void FASTCALL MutexLock(struct mutex*)__asm__("MutexLock"); |
46 | void FASTCALL MutexUnlock(struct mutex*)__asm__("MutexUnlock"); |
48 | void FASTCALL MutexUnlock(struct mutex*)__asm__("MutexUnlock"); |
Line -... | Line 49... | ||
- | 49 | ||
- | 50 | addr_t IMPORT GetStackBase(void)__asm__("GetStackBase"); |
|
47 | 51 | ||
Line 48... | Line 52... | ||
48 | /////////////////////////////////////////////////////////////////////////////// |
52 | /////////////////////////////////////////////////////////////////////////////// |
49 | 53 | ||
Line -... | Line 54... | ||
- | 54 | void STDCALL SetMouseData(int btn, int x, int y, |
|
- | 55 | int z, int h)__asm__("SetMouseData"); |
|
- | 56 | ||
50 | void STDCALL SetMouseData(int btn, int x, int y, |
57 | void FASTCALL SetKeyboardData(u32_t data)__asm__("SetKeyboardData"); |
51 | int z, int h)__asm__("SetMouseData"); |
58 | |
52 | 59 | ||
Line 53... | Line 60... | ||
53 | u8_t STDCALL PciRead8 (u32_t bus, u32_t devfn, u32_t reg)__asm__("PciRead8"); |
60 | u8_t STDCALL PciRead8 (u32_t bus, u32_t devfn, u32_t reg)__asm__("PciRead8"); |