2007-03-21 23:58:33 +01:00
|
|
|
$Revision$
|
2007-03-26 14:18:08 +02:00
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;; ;;
|
|
|
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
|
|
|
;; Distributed under terms of the GNU General Public License ;;
|
|
|
|
;; ;;
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2006-10-06 08:09:41 +02:00
|
|
|
|
|
|
|
iglobal
|
2006-11-27 11:07:51 +01:00
|
|
|
szKernel db 'KERNEL', 0
|
2006-12-02 09:18:48 +01:00
|
|
|
szVersion db 'version',0
|
2007-01-19 04:58:46 +01:00
|
|
|
|
|
|
|
szRegService db 'RegService',0
|
|
|
|
szGetService db 'GetService',0
|
|
|
|
szServiceHandler db 'ServiceHandler',0
|
2006-11-27 11:07:51 +01:00
|
|
|
szAttachIntHandler db 'AttachIntHandler',0
|
2007-01-19 04:58:46 +01:00
|
|
|
szFpuSave db 'FpuSave',0
|
|
|
|
szFpuRestore db 'FpuRestore',0
|
|
|
|
|
2006-11-27 11:07:51 +01:00
|
|
|
szPciApi db 'PciApi', 0
|
|
|
|
szPciRead32 db 'PciRead32', 0
|
|
|
|
szPciRead8 db 'PciRead8', 0
|
|
|
|
szPciWrite8 db 'PciWrite8',0
|
2007-01-19 04:58:46 +01:00
|
|
|
|
|
|
|
szAllocPage db 'AllocPage',0
|
|
|
|
szAllocPages db 'AllocPages',0
|
|
|
|
szFreePage db 'FreePage',0
|
|
|
|
szGetPgAddr db 'GetPgAddr',0
|
2006-11-27 11:07:51 +01:00
|
|
|
szMapPage db 'MapPage',0
|
2007-01-19 04:58:46 +01:00
|
|
|
szMapSpace db 'MapSpace',0
|
|
|
|
szCommitPages db 'CommitPages',0
|
|
|
|
szReleasePages db 'ReleasePages',0
|
|
|
|
|
|
|
|
szAllocKernelSpace db 'AllocKernelSpace',0
|
|
|
|
szFreeKernelSpace db 'FreeKernelSpace',0
|
2006-11-27 11:07:51 +01:00
|
|
|
szKernelAlloc db 'KernelAlloc',0
|
|
|
|
szKernelFree db 'KernelFree',0
|
2007-01-19 04:58:46 +01:00
|
|
|
szUserAlloc db 'UserAlloc',0
|
|
|
|
szUserFree db 'UserFree',0
|
|
|
|
szKmalloc db 'Kmalloc',0
|
|
|
|
szKfree db 'Kfree',0
|
|
|
|
|
|
|
|
szCreateObject db 'CreateObject',0
|
|
|
|
szDestroyObject db 'DestroyObject',0
|
2007-02-16 05:16:52 +01:00
|
|
|
szCreateEvent db 'CreateEvent',0
|
|
|
|
szRaiseEvent db 'RaiseEvent',0
|
|
|
|
szWaitEvent db 'WaitEvent',0
|
|
|
|
szDestroyEvent db 'DestroyEvent',0
|
2007-02-26 13:40:37 +01:00
|
|
|
szClearEvent db 'ClearEvent',0
|
2007-01-19 04:58:46 +01:00
|
|
|
|
2006-11-27 11:07:51 +01:00
|
|
|
szLoadCursor db 'LoadCursor',0
|
|
|
|
szSetHwCursor db 'SetHwCursor',0
|
2006-12-02 09:18:48 +01:00
|
|
|
szHwCursorRestore db 'HwCursorRestore', 0
|
|
|
|
szHwCursorCreate db 'HwCursorCreate', 0
|
2007-01-19 04:58:46 +01:00
|
|
|
|
|
|
|
szSysMsgBoardStr db 'SysMsgBoardStr', 0
|
|
|
|
szGetCurrentTask db 'GetCurrentTask',0
|
2006-11-27 11:07:51 +01:00
|
|
|
szLFBAddress db 'LFBAddress',0
|
|
|
|
szLoadFile db 'LoadFile',0
|
2006-12-02 09:18:48 +01:00
|
|
|
szSendEvent db 'SendEvent',0
|
2007-05-08 13:32:58 +02:00
|
|
|
szSetMouseData db 'SetMouseData',0
|
|
|
|
szSleep db 'Sleep',0
|
|
|
|
szGetTimerTicks db 'GetTimerTicks',0
|
2006-10-06 08:09:41 +02:00
|
|
|
|
2007-01-19 04:58:46 +01:00
|
|
|
|
2006-10-06 08:09:41 +02:00
|
|
|
align 16
|
|
|
|
kernel_export:
|
2007-01-19 04:58:46 +01:00
|
|
|
dd szRegService , reg_service
|
|
|
|
dd szGetService , get_service
|
|
|
|
dd szServiceHandler , srv_handler
|
2006-10-06 08:09:41 +02:00
|
|
|
dd szAttachIntHandler, attach_int_handler
|
2007-01-19 04:58:46 +01:00
|
|
|
dd szFpuSave , fpu_save
|
|
|
|
dd szFpuRestore , fpu_restore
|
|
|
|
|
2006-10-06 08:09:41 +02:00
|
|
|
dd szPciApi , pci_api
|
|
|
|
dd szPciRead32 , pci_read32
|
|
|
|
dd szPciRead8 , pci_read8
|
|
|
|
dd szPciWrite8 , pci_write8
|
2007-01-19 04:58:46 +01:00
|
|
|
|
|
|
|
dd szAllocPage , alloc_page
|
|
|
|
dd szAllocPages , alloc_pages
|
|
|
|
dd szFreePage , free_page
|
2006-10-06 08:09:41 +02:00
|
|
|
dd szMapPage , map_page
|
2007-01-19 04:58:46 +01:00
|
|
|
dd szMapSpace , map_space
|
|
|
|
dd szGetPgAddr , get_pg_addr
|
|
|
|
dd szCommitPages , commit_pages ;not implemented
|
|
|
|
dd szReleasePages , release_pages
|
|
|
|
|
|
|
|
dd szAllocKernelSpace, alloc_kernel_space
|
|
|
|
dd szFreeKernelSpace , free_kernel_space
|
2006-10-06 08:09:41 +02:00
|
|
|
dd szKernelAlloc , kernel_alloc
|
|
|
|
dd szKernelFree , kernel_free
|
2007-01-19 04:58:46 +01:00
|
|
|
dd szUserAlloc , user_alloc
|
2007-02-16 05:16:52 +01:00
|
|
|
dd szUserFree , user_free
|
2007-01-19 04:58:46 +01:00
|
|
|
dd szKmalloc , malloc
|
|
|
|
dd szKfree , free
|
|
|
|
|
|
|
|
dd szCreateObject , create_kernel_object
|
|
|
|
dd szDestroyObject , destroy_kernel_object
|
2007-02-16 05:16:52 +01:00
|
|
|
dd szCreateEvent , create_event
|
|
|
|
dd szRaiseEvent , raise_event
|
|
|
|
dd szWaitEvent , wait_event
|
|
|
|
dd szDestroyEvent , destroy_event
|
2007-02-26 13:40:37 +01:00
|
|
|
dd szClearEvent , clear_event
|
2007-01-19 04:58:46 +01:00
|
|
|
|
2006-11-27 11:07:51 +01:00
|
|
|
dd szLoadCursor , load_cursor
|
2006-11-20 08:06:00 +01:00
|
|
|
dd szSetHwCursor , set_hw_cursor
|
2006-12-02 09:18:48 +01:00
|
|
|
dd szHwCursorRestore , hw_restore
|
|
|
|
dd szHwCursorCreate , create_cursor
|
2007-01-19 04:58:46 +01:00
|
|
|
|
|
|
|
dd szSysMsgBoardStr , sys_msg_board_str
|
|
|
|
dd szGetCurrentTask , get_curr_task
|
2006-11-20 08:06:00 +01:00
|
|
|
dd szLoadFile , load_file
|
2006-12-02 09:18:48 +01:00
|
|
|
dd szSendEvent , send_event
|
2007-05-08 13:32:58 +02:00
|
|
|
dd szSetMouseData , set_mouse_data
|
|
|
|
dd szSleep , delay_ms
|
|
|
|
dd szGetTimerTicks , get_timer_ticks
|
2006-11-20 08:06:00 +01:00
|
|
|
exp_lfb:
|
|
|
|
dd szLFBAddress , 0
|
2006-10-06 08:09:41 +02:00
|
|
|
dd 0
|
|
|
|
|
|
|
|
endg
|
|
|
|
|