2013-05-28 19:34:26 +02:00
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;; ;;
|
2015-01-08 21:10:22 +01:00
|
|
|
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
|
2013-05-28 19:34:26 +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,\
|
|
|
|
CreateObject,\
|
|
|
|
DestroyObject,\
|
|
|
|
CreateEvent,\
|
|
|
|
RaiseEvent,\
|
|
|
|
WaitEvent,\
|
|
|
|
DestroyEvent,\
|
|
|
|
ClearEvent,\
|
|
|
|
\
|
|
|
|
LoadCursor,\
|
|
|
|
SelectHwCursor,\
|
|
|
|
SetHwCursor,\
|
|
|
|
HwCursorRestore,\
|
|
|
|
HwCursorCreate,\
|
|
|
|
\
|
|
|
|
SysMsgBoardStr,\
|
2013-06-07 16:12:54 +02:00
|
|
|
SysMsgBoard,\
|
2013-05-28 19:34:26 +02:00
|
|
|
GetCurrentTask,\
|
|
|
|
LoadFile,\
|
|
|
|
SendEvent,\
|
|
|
|
SetMouseData,\
|
|
|
|
Sleep,\
|
|
|
|
GetTimerTicks,\
|
|
|
|
\
|
|
|
|
strncat,\
|
|
|
|
strncpy,\
|
|
|
|
strncmp,\
|
|
|
|
strnlen,\
|
|
|
|
strchr,\
|
|
|
|
strrchr,\
|
|
|
|
\
|
|
|
|
LFBAddress,\
|
|
|
|
GetDisplay,\
|
|
|
|
SetScreen,\
|
2014-06-17 21:38:17 +02:00
|
|
|
\
|
|
|
|
RegUSBDriver,\
|
|
|
|
USBOpenPipe,\
|
|
|
|
USBNormalTransferAsync,\
|
|
|
|
USBControlTransferAsync,\
|
|
|
|
USBGetParam,\
|
2013-05-28 19:34:26 +02:00
|
|
|
\
|
|
|
|
NetRegDev,\
|
|
|
|
NetUnRegDev,\
|
|
|
|
NetPtrToNum,\
|
|
|
|
NetLinkChanged,\
|
2015-03-17 22:50:29 +01:00
|
|
|
NetAlloc,\
|
|
|
|
NetFree,\
|
|
|
|
EthInput,\
|
2014-01-14 21:50:19 +01:00
|
|
|
\
|
2021-07-13 00:42:27 +02:00
|
|
|
GetPCIList, \
|
|
|
|
\
|
|
|
|
FS_Service
|