Rev 4423 | Rev 5565 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4423 | Rev 5201 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
8 | $Revision: 4423 $ |
- | |
9 | - | ||
10 | iglobal |
- | |
11 | szKernel db 'KERNEL', 0 |
- | |
12 | szVersion db 'version',0 |
- | |
Line 13... | Line 8... | ||
13 | endg |
8 | $Revision: 5201 $ |
14 | 9 | ||
15 | align 4 |
10 | align 4 |
16 | __exports: |
11 | __exports: |
Line 46... | Line 41... | ||
46 | map_page, 'MapPage', \ ; stdcall |
41 | map_page, 'MapPage', \ ; stdcall |
47 | get_pg_addr, 'GetPgAddr', \ ; eax |
42 | get_pg_addr, 'GetPgAddr', \ ; eax |
48 | get_phys_addr, 'GetPhysAddr', \ ; eax |
43 | get_phys_addr, 'GetPhysAddr', \ ; eax |
49 | map_space, 'MapSpace', \ |
44 | map_space, 'MapSpace', \ |
50 | release_pages, 'ReleasePages', \ |
45 | release_pages, 'ReleasePages', \ |
- | 46 | alloc_dma24, 'AllocDMA24', \ ; stdcall |
|
51 | \ |
47 | \ |
52 | mutex_init, 'MutexInit', \ ; gcc fastcall |
48 | mutex_init, 'MutexInit', \ ; gcc fastcall |
53 | mutex_lock, 'MutexLock', \ ; gcc fastcall |
49 | mutex_lock, 'MutexLock', \ ; gcc fastcall |
54 | mutex_unlock, 'MutexUnlock', \ ; gcc fastcall |
50 | mutex_unlock, 'MutexUnlock', \ ; gcc fastcall |
55 | \ |
51 | \ |
Line 92... | Line 88... | ||
92 | boot_log, 'Boot_Log', \ |
88 | boot_log, 'Boot_Log', \ |
93 | \ |
89 | \ |
94 | load_cursor, 'LoadCursor', \ ;stdcall |
90 | load_cursor, 'LoadCursor', \ ;stdcall |
95 | \ |
91 | \ |
96 | get_curr_task, 'GetCurrentTask', \ |
92 | get_curr_task, 'GetCurrentTask', \ |
- | 93 | change_task, 'ChangeTask', \ |
|
97 | load_file, 'LoadFile', \ ;retval eax, ebx |
94 | load_file, 'LoadFile', \ ;retval eax, ebx |
98 | delay_ms, 'Sleep', \ |
95 | delay_ms, 'Sleep', \ |
99 | \ |
96 | \ |
100 | strncat, 'strncat', \ |
97 | strncat, 'strncat', \ |
101 | strncpy, 'strncpy', \ |
98 | strncpy, 'strncpy', \ |
Line 103... | Line 100... | ||
103 | strnlen, 'strnlen', \ |
100 | strnlen, 'strnlen', \ |
104 | strchr, 'strchr', \ |
101 | strchr, 'strchr', \ |
105 | strrchr, 'strrchr', \ |
102 | strrchr, 'strrchr', \ |
106 | \ |
103 | \ |
107 | timer_hs, 'TimerHS', \ |
104 | timer_hs, 'TimerHS', \ |
- | 105 | timer_hs, 'TimerHs', \ ; shit happens |
|
108 | cancel_timer_hs, 'CancelTimerHS', \ |
106 | cancel_timer_hs, 'CancelTimerHS', \ |
109 | \ |
107 | \ |
110 | reg_usb_driver, 'RegUSBDriver', \ |
108 | reg_usb_driver, 'RegUSBDriver', \ |
111 | usb_open_pipe, 'USBOpenPipe', \ |
109 | usb_open_pipe, 'USBOpenPipe', \ |
112 | usb_close_pipe, 'USBClosePipe', \ |
110 | usb_close_pipe, 'USBClosePipe', \ |
Line 119... | Line 117... | ||
119 | NET_remove_device, 'NetUnRegDev', \ |
117 | NET_remove_device, 'NetUnRegDev', \ |
120 | NET_ptr_to_num, 'NetPtrToNum', \ |
118 | NET_ptr_to_num, 'NetPtrToNum', \ |
121 | NET_link_changed, 'NetLinkChanged', \ |
119 | NET_link_changed, 'NetLinkChanged', \ |
122 | ETH_input, 'Eth_input', \ |
120 | ETH_input, 'Eth_input', \ |
123 | \ |
121 | \ |
- | 122 | get_pcidev_list, 'GetPCIList', \ |
|
- | 123 | \ |
|
124 | 0, 'LFBAddress' ; must be the last one |
124 | 0, 'LFBAddress' ; must be the last one |
125 | load kernel_exports_count dword from __exports + 24 |
125 | load kernel_exports_count dword from __exports + 24 |
126 | load kernel_exports_addresses dword from __exports + 28 |
126 | load kernel_exports_addresses dword from __exports + 28 |
127 | exp_lfb = OS_BASE + kernel_exports_addresses + (kernel_exports_count - 1) * 4 - 4 |
127 | exp_lfb = OS_BASE + kernel_exports_addresses + (kernel_exports_count - 1) * 4 - 4 |