Rev 2322 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2322 | Rev 2461 | ||
---|---|---|---|
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: 2322 $ |
8 | $Revision: 2461 $ |
9 | 9 | ||
10 | ; Old style system call converter |
10 | ; Old style system call converter |
11 | align 16 |
11 | align 16 |
Line 45... | Line 45... | ||
45 | align 32 |
45 | align 32 |
46 | syscall_entry: |
46 | syscall_entry: |
47 | ; sti |
47 | ; sti |
48 | push ecx |
48 | push ecx |
49 | xor ecx, ecx |
49 | xor ecx, ecx |
50 | mov cl, al |
50 | mov cl, al ; keep subfn# in ah |
51 | and cl, 7 |
51 | and cl, 7 |
52 | call dword [servetable3 + ecx * 4] |
52 | call dword [servetable3 + ecx * 4] |
53 | pop ecx |
53 | pop ecx |
54 | sysret |
54 | sysret |