Rev 3303 | Rev 3545 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3303 | Rev 3304 | ||
---|---|---|---|
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 | ||
Line 8... | Line 8... | ||
8 | $Revision: 3303 $ |
8 | $Revision: 3304 $ |
9 | 9 | ||
10 | ; Old style system call converter |
10 | ; Old style system call converter |
11 | align 16 |
11 | align 16 |
Line 39... | Line 39... | ||
39 | cld |
39 | cld |
Line 40... | Line 40... | ||
40 | 40 | ||
Line 41... | Line 41... | ||
41 | call protect_from_terminate |
41 | call protect_from_terminate |
42 | 42 | ||
43 | movzx eax, byte [esp+28] |
43 | movzx eax, byte [esp+28] |
Line 44... | Line 44... | ||
44 | mov edx, dword [esp+24] |
44 | mov edx, dword [esp+20] |
45 | call dword [servetable2 + eax * 4] |
45 | call dword [servetable2 + eax * 4] |
46 | 46 | ||
Line 66... | Line 66... | ||
66 | i40: |
66 | i40: |
67 | pushad |
67 | pushad |
68 | cld |
68 | cld |
69 | call protect_from_terminate |
69 | call protect_from_terminate |
70 | movzx eax, byte [esp+28] |
70 | movzx eax, byte [esp+28] |
71 | mov edx, dword [esp+24] |
71 | mov edx, dword [esp+20] |
72 | call dword [servetable2 + eax * 4] |
72 | call dword [servetable2 + eax * 4] |
73 | call unprotect_from_terminate |
73 | call unprotect_from_terminate |
74 | popad |
74 | popad |
75 | iretd |
75 | iretd |
Line 93... | Line 93... | ||
93 | pushad |
93 | pushad |
94 | cld |
94 | cld |
95 | call protect_from_terminate |
95 | call protect_from_terminate |
Line 96... | Line 96... | ||
96 | 96 | ||
97 | movzx eax, byte [esp+28] |
97 | movzx eax, byte [esp+28] |
98 | mov edx, dword [esp+24] |
98 | mov edx, dword [esp+20] |
Line 99... | Line 99... | ||
99 | call dword [servetable2 + eax * 4] |
99 | call dword [servetable2 + eax * 4] |
100 | 100 | ||
101 | call unprotect_from_terminate |
101 | call unprotect_from_terminate |