2007-03-26 16:18:08 +04:00
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;; ;;
|
|
|
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
|
|
|
;; Distributed under terms of the GNU General Public License ;;
|
|
|
|
;; ;;
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2007-09-21 01:35:55 +04:00
|
|
|
macro kernel_export [name]{
|
|
|
|
forward
|
|
|
|
;display `name,#13,#10
|
|
|
|
if used name
|
|
|
|
extrn name
|
|
|
|
end if
|
|
|
|
}
|
2007-01-19 20:46:58 +03:00
|
|
|
; all exported kernel functions and data
|
|
|
|
|
|
|
|
|
2007-09-21 01:35:55 +04:00
|
|
|
kernel_export \
|
|
|
|
RegService,\
|
|
|
|
GetService,\
|
|
|
|
ServiceHandler,\
|
|
|
|
AttachIntHandler,\
|
|
|
|
FpuSave,\
|
|
|
|
FpuRestore,\
|
|
|
|
\
|
|
|
|
PciApi,\
|
|
|
|
PciRead32,\
|
|
|
|
PciRead16,\
|
|
|
|
PciRead8,\
|
|
|
|
PciWrite8,\
|
|
|
|
PciWrite16,\
|
|
|
|
\
|
|
|
|
AllocPage,\
|
|
|
|
AllocPages,\
|
|
|
|
FreePage,\
|
|
|
|
MapPage,\
|
|
|
|
MapSpace,\
|
|
|
|
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,\
|
|
|
|
GetCurrentTask,\
|
|
|
|
LoadFile,\
|
|
|
|
SendEvent,\
|
|
|
|
SetMouseData,\
|
|
|
|
Sleep,\
|
|
|
|
GetTimerTicks,\
|
|
|
|
\
|
|
|
|
strncat,\
|
|
|
|
strncpy,\
|
|
|
|
strncmp,\
|
|
|
|
strnlen,\
|
|
|
|
strchr,\
|
|
|
|
strrchr,\
|
|
|
|
\
|
|
|
|
LFBAddress
|