Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1434 → Rev 1430

/drivers/include/syscall.h
26,8 → 26,6
///////////////////////////////////////////////////////////////////////////////
 
#define STDCALL __attribute__ ((stdcall)) __attribute__ ((dllimport))
#define FASTCALL __attribute__ ((fastcall)) __attribute__ ((dllimport))
 
#define IMPORT __attribute__ ((dllimport))
 
///////////////////////////////////////////////////////////////////////////////
63,9 → 61,6
 
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");
 
///////////////////////////////////////////////////////////////////////////////
 
/drivers/ddk/core.S
22,10 → 22,6
 
.global _MapIoMem
 
.global _MutexInit
.global _MutexLock
.global _MutexUnlock
 
.global _PciApi
.global _PciRead16
.global _PciRead32
36,7 → 32,6
 
.global _RegService
 
.global _SetMouseData
.global _SetScreen
.global _SysMsgBoardStr
 
60,10 → 55,6
 
.def _MapIoMem; .scl 2; .type 32; .endef
 
.def _MutexInit; .scl 2; .type 32; .endef
.def _MutexLock; .scl 2; .type 32; .endef
.def _MutexUnlock; .scl 2; .type 32; .endef
 
.def _PciApi; .scl 2; .type 32; .endef
.def _PciRead16; .scl 2; .type 32; .endef
.def _PciRead32; .scl 2; .type 32; .endef
75,7 → 66,6
.def _RegService; .scl 2; .type 32; .endef
 
.def _SetScreen; .scl 2; .type 32; .endef
.def _SetMouseData; .scl 2; .type 32; .endef
.def _SysMsgBoardStr; .scl 2; .type 32; .endef
 
 
99,10 → 89,6
 
_MapIoMem:
 
_MutexInit:
_MutexLock:
_MutexUnlock:
 
_PciApi:
_PciRead16:
_PciRead32:
113,7 → 99,6
 
_RegService:
 
_SetMouseData:
_SetScreen:
_SysMsgBoardStr:
ret
140,10 → 125,6
 
.ascii " -export:MapIoMem" # stdcall
 
.ascii " -export:MutexInit" # fastcall
.ascii " -export:MutexLock" # fastcall
.ascii " -export:MutexUnlock" # fastcall
 
.ascii " -export:PciApi" #
.ascii " -export:PciRead16" # stdcall
.ascii " -export:PciRead32" # stdcall
154,7 → 135,6
 
.ascii " -export:RegService" # stdcall
 
.ascii " -export:SetMouseData" # stdcall
.ascii " -export:SetScreen" # stdcall
.ascii " -export:SysMsgBoardStr" # stdcall