From c69afcb00557ec77287b40a51657f74663f01d0b Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Fri, 18 Apr 2008 10:11:59 +0000 Subject: [PATCH] add new exports for pe cursor driver git-svn-id: svn://kolibrios.org@792 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/exports.inc | 4 ++-- kernel/trunk/core/peload.inc | 45 ++++++++++++++++++++--------------- 2 files changed, 28 insertions(+), 21 deletions(-) diff --git a/kernel/trunk/core/exports.inc b/kernel/trunk/core/exports.inc index 7d199afd50..a79ff1b036 100644 --- a/kernel/trunk/core/exports.inc +++ b/kernel/trunk/core/exports.inc @@ -134,8 +134,8 @@ kernel_export: dd szLoadCursor , load_cursor ;stdcall - dd szSelectHwCursor , select_hw_cursor ;import - dd szSetHwCursor , set_hw_cursor ;import + dd szSelectHwCursor , select_hw_cursor ;import stdcall + dd szSetHwCursor , set_hw_cursor ;import stdcall dd szHwCursorRestore , hw_restore ;import dd szHwCursorCreate , create_cursor ;import diff --git a/kernel/trunk/core/peload.inc b/kernel/trunk/core/peload.inc index 6b86d33c52..96d0ae6c9a 100644 --- a/kernel/trunk/core/peload.inc +++ b/kernel/trunk/core/peload.inc @@ -279,27 +279,34 @@ L40: align 16 __exports: export 'KERNEL', \ - alloc_kernel_space, 'AllocKernelSpace', \ ; stdcall - free_kernel_space, 'FreeKernelSpace', \ ; stdcall - kernel_alloc, 'KernelAlloc', \ ; stdcall - kernel_free, 'KernelFree', \ ; stdcall - malloc, 'Kmalloc', \ - free, 'Kfree', \ - map_io_mem, 'MapIoMem', \ ; stdcall + alloc_kernel_space, 'AllocKernelSpace', \ ; stdcall + create_kernel_object, 'CreateObject', \ + destroy_kernel_object, 'DestroyObject', \ + free_kernel_space, 'FreeKernelSpace', \ ; stdcall + kernel_alloc, 'KernelAlloc', \ ; stdcall + kernel_free, 'KernelFree', \ ; stdcall + malloc, 'Kmalloc', \ + free, 'Kfree', \ + map_io_mem, 'MapIoMem', \ ; stdcall \ - set_screen, 'SetScreen', \ - pci_api, 'PciApi', \ - pci_read8, 'PciRead8', \ ; stdcall - pci_read16, 'PciRead16', \ ; stdcall - pci_read32, 'PciRead32', \ ; stdcall - pci_write8, 'PciWrite8', \ ; stdcall - pci_write16, 'PciWrite16', \ ; stdcall - pci_write32, 'PciWrite32', \ ; stdcall + select_hw_cursor, 'SelectHwCursor', \ ; stdcall + set_hw_cursor, 'SetHwCursor', \ ; stdcall + hw_restore, 'HwCursorRestore', \ ; + create_cursor, 'HwCursorCreate', \ ; \ - reg_service, 'RegService', \ - user_alloc, 'UserAlloc', \ ; stdcall - user_free, 'UserFree', \ ; stdcall - sys_msg_board_str, 'SysMsgBoardStr' + set_screen, 'SetScreen', \ + pci_api, 'PciApi', \ + pci_read8, 'PciRead8', \ ; stdcall + pci_read16, 'PciRead16', \ ; stdcall + pci_read32, 'PciRead32', \ ; stdcall + pci_write8, 'PciWrite8', \ ; stdcall + pci_write16, 'PciWrite16', \ ; stdcall + pci_write32, 'PciWrite32', \ ; stdcall +\ + reg_service, 'RegService', \ + user_alloc, 'UserAlloc', \ ; stdcall + user_free, 'UserFree', \ ; stdcall + sys_msg_board_str, 'SysMsgBoardStr'