Rev 1859 | Rev 1941 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1859 | Rev 1928 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2007. 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 | ||
Line 8... | Line 8... | ||
8 | $Revision: 1859 $ |
8 | $Revision: 1928 $ |
9 | 9 | ||
10 | ; Old style system call converter |
10 | ; Old style system call converter |
11 | align 16 |
11 | align 16 |
Line 42... | Line 42... | ||
42 | ;; ;; |
42 | ;; ;; |
43 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
43 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 44... | Line 44... | ||
44 | 44 | ||
45 | align 32 |
45 | align 32 |
46 | syscall_entry: |
- | |
47 | push ecx |
46 | syscall_entry: |
48 | ; sti |
- | |
49 | ; and eax, 3 |
- | |
50 | ; call dword [servetable3 + eax * 4] |
- | |
51 | - | ||
52 | mov edi, [esp+4] |
47 | ; sti |
53 | mov ecx, [esp+8] |
- | |
54 | mov edx, [esp+12] |
- | |
55 | mov ebx, [esp+16] |
48 | push ecx |
56 | and al, 1 |
- | |
57 | jz .hline |
- | |
58 | mov eax, [esp+20] |
- | |
59 | sti |
- | |
60 | call vline |
- | |
61 | jmp .done |
- | |
62 | .hline: |
49 | and eax, 3 |
63 | mov eax, [esp+20] |
- | |
64 | sti |
- | |
65 | call hline |
- | |
66 | .done: |
- | |
67 | - | ||
68 | 50 | call dword [servetable3 + eax * 4] |
|
69 | pop ecx |
51 | pop ecx |
Line 70... | Line 52... | ||
70 | sysret |
52 | sysret |
71 | 53 | ||
Line 171... | Line 153... | ||
171 | dd sys_end ; -1-end application |
153 | dd sys_end ; -1-end application |
Line 172... | Line 154... | ||
172 | 154 | ||
173 | align 4 |
155 | align 4 |
Line 174... | Line 156... | ||
174 | servetable3: ; Kolibri-A special service |
156 | servetable3: ; Kolibri-A special service |
175 | 157 | ||
176 | dd hline ; 0 |
158 | dd sys_rdmsr ; 0 |
177 | dd vline ; 1 |
159 | dd paleholder ; 1 |
Line 178... | Line 160... | ||
178 | dd paleholder ; 2 |
160 | dd paleholder ; 2 |