mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-25 10:19:36 +03:00
0ba1fff7a7
git-svn-id: svn://kolibrios.org@5522 a494cfbc-eb01-0410-851d-a64ba20cac60
112 lines
2.7 KiB
PHP
112 lines
2.7 KiB
PHP
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;; ;;
|
|
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
|
|
;; 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,\
|
|
SysMsgBoard,\
|
|
GetCurrentTask,\
|
|
LoadFile,\
|
|
SendEvent,\
|
|
SetMouseData,\
|
|
Sleep,\
|
|
GetTimerTicks,\
|
|
\
|
|
strncat,\
|
|
strncpy,\
|
|
strncmp,\
|
|
strnlen,\
|
|
strchr,\
|
|
strrchr,\
|
|
\
|
|
LFBAddress,\
|
|
GetDisplay,\
|
|
SetScreen,\
|
|
\
|
|
RegUSBDriver,\
|
|
USBOpenPipe,\
|
|
USBNormalTransferAsync,\
|
|
USBControlTransferAsync,\
|
|
USBGetParam,\
|
|
\
|
|
NetRegDev,\
|
|
NetUnRegDev,\
|
|
NetPtrToNum,\
|
|
NetLinkChanged,\
|
|
NetAlloc,\
|
|
NetFree,\
|
|
EthInput,\
|
|
\
|
|
GetPCIList
|