forked from KolibriOS/kolibrios
15170454cc
kernel objects segmented sound buffers git-svn-id: svn://kolibrios.org@281 a494cfbc-eb01-0410-851d-a64ba20cac60
101 lines
3.1 KiB
PHP
101 lines
3.1 KiB
PHP
|
|
iglobal
|
|
szKernel db 'KERNEL', 0
|
|
szVersion db 'version',0
|
|
|
|
szRegService db 'RegService',0
|
|
szGetService db 'GetService',0
|
|
szServiceHandler db 'ServiceHandler',0
|
|
szAttachIntHandler db 'AttachIntHandler',0
|
|
szFpuSave db 'FpuSave',0
|
|
szFpuRestore db 'FpuRestore',0
|
|
|
|
szPciApi db 'PciApi', 0
|
|
szPciRead32 db 'PciRead32', 0
|
|
szPciRead8 db 'PciRead8', 0
|
|
szPciWrite8 db 'PciWrite8',0
|
|
|
|
szAllocPage db 'AllocPage',0
|
|
szAllocPages db 'AllocPages',0
|
|
szFreePage db 'FreePage',0
|
|
szGetPgAddr db 'GetPgAddr',0
|
|
szMapPage db 'MapPage',0
|
|
szMapSpace db 'MapSpace',0
|
|
szCommitPages db 'CommitPages',0
|
|
szReleasePages db 'ReleasePages',0
|
|
|
|
szAllocKernelSpace db 'AllocKernelSpace',0
|
|
szFreeKernelSpace db 'FreeKernelSpace',0
|
|
szKernelAlloc db 'KernelAlloc',0
|
|
szKernelFree db 'KernelFree',0
|
|
szUserAlloc db 'UserAlloc',0
|
|
szUserFree db 'UserFree',0
|
|
szKmalloc db 'Kmalloc',0
|
|
szKfree db 'Kfree',0
|
|
|
|
szCreateObject db 'CreateObject',0
|
|
szDestroyObject db 'DestroyObject',0
|
|
|
|
szLoadCursor db 'LoadCursor',0
|
|
szSetHwCursor db 'SetHwCursor',0
|
|
szHwCursorRestore db 'HwCursorRestore', 0
|
|
szHwCursorCreate db 'HwCursorCreate', 0
|
|
|
|
szSysMsgBoardStr db 'SysMsgBoardStr', 0
|
|
szGetCurrentTask db 'GetCurrentTask',0
|
|
szLFBAddress db 'LFBAddress',0
|
|
szLoadFile db 'LoadFile',0
|
|
szSendEvent db 'SendEvent',0
|
|
|
|
|
|
align 16
|
|
kernel_export:
|
|
dd szRegService , reg_service
|
|
dd szGetService , get_service
|
|
dd szServiceHandler , srv_handler
|
|
dd szAttachIntHandler, attach_int_handler
|
|
dd szFpuSave , fpu_save
|
|
dd szFpuRestore , fpu_restore
|
|
|
|
dd szPciApi , pci_api
|
|
dd szPciRead32 , pci_read32
|
|
dd szPciRead8 , pci_read8
|
|
dd szPciWrite8 , pci_write8
|
|
|
|
dd szAllocPage , alloc_page
|
|
dd szAllocPages , alloc_pages
|
|
dd szFreePage , free_page
|
|
dd szMapPage , map_page
|
|
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
|
|
dd szKernelAlloc , kernel_alloc
|
|
dd szKernelFree , kernel_free
|
|
dd szUserAlloc , user_alloc
|
|
dd szUserFree , user_free
|
|
dd szKmalloc , malloc
|
|
dd szKfree , free
|
|
|
|
dd szCreateObject , create_kernel_object
|
|
dd szDestroyObject , destroy_kernel_object
|
|
|
|
dd szLoadCursor , load_cursor
|
|
dd szSetHwCursor , set_hw_cursor
|
|
dd szHwCursorRestore , hw_restore
|
|
dd szHwCursorCreate , create_cursor
|
|
|
|
dd szSysMsgBoardStr , sys_msg_board_str
|
|
dd szGetCurrentTask , get_curr_task
|
|
dd szLoadFile , load_file
|
|
dd szSendEvent , send_event
|
|
exp_lfb:
|
|
dd szLFBAddress , 0
|
|
dd 0
|
|
|
|
endg
|
|
|