Rev 802 | Rev 921 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 802 | Rev 865 | ||
---|---|---|---|
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: 802 $ |
8 | $Revision: 865 $ |
9 | 9 | ||
10 | ; Old style system call converter |
10 | ; Old style system call converter |
11 | align 16 |
11 | align 16 |
Line 31... | Line 31... | ||
31 | 31 | ||
32 | align 16 |
32 | align 16 |
33 | i40: |
33 | i40: |
34 | pushad |
34 | pushad |
35 | cld |
35 | cld |
36 | and eax, 0xff |
36 | movzx eax, al |
37 | call dword [servetable2 + eax * 4] |
37 | call dword [servetable2 + eax * 4] |
38 | popad |
38 | popad |
39 | iretd |
39 | iretd |
40 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
40 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 52... | Line 52... | ||
52 | mov ebp, [ebp] ; ebp - original ebp |
52 | mov ebp, [ebp] ; ebp - original ebp |
53 | ;------------------ |
53 | ;------------------ |
54 | pushad |
54 | pushad |
55 | cld |
55 | cld |
Line 56... | Line 56... | ||
56 | 56 | ||
57 | and eax, 0xff |
57 | movzx eax, al |
Line 58... | Line 58... | ||
58 | call dword [servetable2 + eax * 4] |
58 | call dword [servetable2 + eax * 4] |
59 | 59 | ||
60 | popad |
60 | popad |
Line 85... | Line 85... | ||
85 | mov ecx, [ecx] |
85 | mov ecx, [ecx] |
86 | ;------------------ |
86 | ;------------------ |
87 | pushad |
87 | pushad |
88 | cld |
88 | cld |
Line 89... | Line 89... | ||
89 | 89 | ||
90 | and eax, 0xff |
90 | movzx eax, al |
Line 91... | Line 91... | ||
91 | call dword [servetable2 + eax * 4] |
91 | call dword [servetable2 + eax * 4] |
92 | 92 | ||
93 | popad |
93 | popad |