2010-10-01 11:21:55 +02:00
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;; ;;
|
|
|
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
|
|
|
;; Distributed under terms of the GNU General Public License ;;
|
|
|
|
;; ;;
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
macro kernel_export [name]{
|
|
|
|
forward
|
|
|
|
if used name
|
2012-03-08 09:33:38 +01:00
|
|
|
if DEBUG
|
|
|
|
display 'uses: ',`name,#13,#10
|
|
|
|
end if
|
2010-10-01 11:21:55 +02:00
|
|
|
extrn name
|
|
|
|
end if
|
|
|
|
}
|
|
|
|
; all exported kernel functions and data
|
|
|
|
|
|
|
|
|
|
|
|
kernel_export \
|
2012-03-08 09:33:38 +01:00
|
|
|
RegService,\
|
|
|
|
GetService,\
|
|
|
|
ServiceHandler,\
|
|
|
|
AttachIntHandler,\
|
|
|
|
GetIntHandler,\
|
|
|
|
FpuSave,\
|
|
|
|
FpuRestore,\
|
|
|
|
ReservePortArea,\
|
|
|
|
Boot_Log,\
|
2010-10-01 11:21:55 +02:00
|
|
|
\
|
|
|
|
MutexInit,\
|
|
|
|
MutexLock,\
|
|
|
|
MutexUnlock,\
|
|
|
|
\
|
2012-03-08 09:33:38 +01:00
|
|
|
PciApi,\
|
|
|
|
PciRead32,\
|
|
|
|
PciRead16,\
|
|
|
|
PciRead8,\
|
|
|
|
PciWrite8,\
|
|
|
|
PciWrite16,\
|
|
|
|
PciWrite32,\
|
2010-10-01 11:21:55 +02:00
|
|
|
\
|
2012-03-08 09:33:38 +01:00
|
|
|
AllocPage,\
|
|
|
|
AllocPages,\
|
|
|
|
FreePage,\
|
|
|
|
MapPage,\
|
|
|
|
MapSpace,\
|
|
|
|
MapIoMem,\
|
|
|
|
GetPgAddr,\
|
|
|
|
CommitPages,\
|
|
|
|
ReleasePages,\
|
2010-10-01 11:21:55 +02:00
|
|
|
\
|
2012-03-08 09:33:38 +01:00
|
|
|
AllocKernelSpace,\
|
|
|
|
FreeKernelSpace,\
|
|
|
|
KernelAlloc,\
|
|
|
|
KernelFree,\
|
|
|
|
UserAlloc,\
|
|
|
|
UserFree,\
|
|
|
|
Kmalloc,\
|
|
|
|
Kfree,\
|
|
|
|
CreateRingBuffer,\
|
2011-10-04 18:03:06 +02:00
|
|
|
\
|
2012-03-08 09:33:38 +01:00
|
|
|
GetPid,\
|
|
|
|
CreateObject,\
|
|
|
|
DestroyObject,\
|
|
|
|
CreateEvent,\
|
|
|
|
RaiseEvent,\
|
|
|
|
WaitEvent,\
|
|
|
|
DestroyEvent,\
|
|
|
|
ClearEvent,\
|
2010-10-01 11:21:55 +02:00
|
|
|
\
|
2012-03-08 09:33:38 +01:00
|
|
|
LoadCursor,\
|
|
|
|
SelectHwCursor,\
|
|
|
|
SetHwCursor,\
|
|
|
|
HwCursorRestore,\
|
|
|
|
HwCursorCreate,\
|
2010-10-01 11:21:55 +02:00
|
|
|
\
|
2012-03-08 09:33:38 +01:00
|
|
|
SysMsgBoardStr,\
|
|
|
|
SysMsgBoardChar,\
|
|
|
|
GetCurrentTask,\
|
|
|
|
LoadFile,\
|
|
|
|
SendEvent,\
|
|
|
|
SetMouseData,\
|
|
|
|
Sleep,\
|
|
|
|
GetTimerTicks,\
|
2010-10-01 11:21:55 +02:00
|
|
|
\
|
2012-03-08 09:33:38 +01:00
|
|
|
strncat,\
|
|
|
|
strncpy,\
|
|
|
|
strncmp,\
|
|
|
|
strnlen,\
|
|
|
|
strchr,\
|
|
|
|
strrchr,\
|
2010-10-01 11:21:55 +02:00
|
|
|
\
|
2012-03-08 09:33:38 +01:00
|
|
|
LFBAddress,\
|
|
|
|
GetDisplay,\
|
|
|
|
SetScreen
|