2011-10-14 23:38:50 +02:00
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;; ;;
|
2012-03-13 17:51:57 +01:00
|
|
|
;; Copyright (C) KolibriOS team 2004-2011. All rights reserved. ;;
|
2011-10-14 23:38:50 +02:00
|
|
|
;; Distributed under terms of the GNU General Public License ;;
|
|
|
|
;; ;;
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
macro kernel_export [name]{
|
|
|
|
forward
|
|
|
|
if used name
|
|
|
|
if DEBUG
|
|
|
|
display 'uses: ',`name,#13,#10
|
|
|
|
end if
|
|
|
|
extrn name
|
|
|
|
end if
|
|
|
|
}
|
|
|
|
; all exported kernel functions and data
|
|
|
|
|
|
|
|
|
|
|
|
kernel_export \
|
|
|
|
RegService,\
|
|
|
|
GetService,\
|
|
|
|
ServiceHandler,\
|
|
|
|
AttachIntHandler,\
|
|
|
|
GetIntHandler,\
|
|
|
|
FpuSave,\
|
|
|
|
FpuRestore,\
|
|
|
|
ReservePortArea,\
|
|
|
|
Boot_Log,\
|
|
|
|
\
|
|
|
|
MutexInit,\
|
|
|
|
MutexLock,\
|
|
|
|
MutexUnlock,\
|
|
|
|
\
|
|
|
|
PciApi,\
|
|
|
|
PciRead32,\
|
|
|
|
PciRead16,\
|
|
|
|
PciRead8,\
|
|
|
|
PciWrite8,\
|
|
|
|
PciWrite16,\
|
|
|
|
PciWrite32,\
|
|
|
|
\
|
|
|
|
AllocPage,\
|
|
|
|
AllocPages,\
|
|
|
|
FreePage,\
|
|
|
|
MapPage,\
|
|
|
|
MapSpace,\
|
|
|
|
MapIoMem,\
|
|
|
|
GetPgAddr,\
|
|
|
|
CommitPages,\
|
|
|
|
ReleasePages,\
|
|
|
|
\
|
|
|
|
AllocKernelSpace,\
|
|
|
|
FreeKernelSpace,\
|
|
|
|
KernelAlloc,\
|
|
|
|
KernelFree,\
|
|
|
|
UserAlloc,\
|
|
|
|
UserFree,\
|
|
|
|
Kmalloc,\
|
|
|
|
Kfree,\
|
|
|
|
CreateRingBuffer,\
|
|
|
|
\
|
|
|
|
GetPid,\
|
2013-10-29 12:24:28 +01:00
|
|
|
CreateThread,\
|
2011-10-14 23:38:50 +02:00
|
|
|
CreateObject,\
|
|
|
|
DestroyObject,\
|
|
|
|
CreateEvent,\
|
|
|
|
RaiseEvent,\
|
|
|
|
WaitEvent,\
|
|
|
|
DestroyEvent,\
|
|
|
|
ClearEvent,\
|
|
|
|
\
|
|
|
|
LoadCursor,\
|
|
|
|
SelectHwCursor,\
|
|
|
|
SetHwCursor,\
|
|
|
|
HwCursorRestore,\
|
|
|
|
HwCursorCreate,\
|
|
|
|
\
|
|
|
|
SysMsgBoardStr,\
|
2013-06-07 16:12:54 +02:00
|
|
|
SysMsgBoard,\
|
2011-10-14 23:38:50 +02:00
|
|
|
GetCurrentTask,\
|
|
|
|
LoadFile,\
|
|
|
|
SendEvent,\
|
|
|
|
SetMouseData,\
|
2012-04-11 21:06:32 +02:00
|
|
|
SetKeyboardData,\
|
|
|
|
RegKeyboard,\
|
|
|
|
DelKeyboard,\
|
2011-10-14 23:38:50 +02:00
|
|
|
Sleep,\
|
|
|
|
GetTimerTicks,\
|
|
|
|
\
|
|
|
|
strncat,\
|
|
|
|
strncpy,\
|
|
|
|
strncmp,\
|
|
|
|
strnlen,\
|
|
|
|
strchr,\
|
|
|
|
strrchr,\
|
|
|
|
\
|
|
|
|
LFBAddress,\
|
|
|
|
GetDisplay,\
|
2012-04-23 11:19:34 +02:00
|
|
|
SetScreen,\
|
2013-05-18 01:53:28 +02:00
|
|
|
\
|
|
|
|
RegUSBDriver,\
|
|
|
|
USBOpenPipe,\
|
|
|
|
USBNormalTransferAsync,\
|
|
|
|
USBControlTransferAsync,\
|
2013-09-03 21:22:32 +02:00
|
|
|
USBGetParam,\
|
2012-04-23 11:19:34 +02:00
|
|
|
\
|
|
|
|
DiskAdd,\
|
|
|
|
DiskMediaChanged,\
|
2013-05-18 01:53:28 +02:00
|
|
|
DiskDel,\
|
|
|
|
\
|
|
|
|
TimerHS,\
|
|
|
|
CancelTimerHS
|