Subversion Repositories Kolibri OS

Rev

Rev 1941 | Rev 2322 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1941 Rev 2047
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: 1941 $
8
$Revision: 2047 $
9
 
9
 
10
; Old style system call converter
10
; Old style system call converter
11
align 16
11
align 16
Line 44... Line 44...
44
 
44
 
45
align 32
45
align 32
46
syscall_entry:
46
syscall_entry:
47
;        sti
47
;        sti
-
 
48
	push ecx
-
 
49
	xor	ecx, ecx
48
	push ecx
50
	mov	cl, al
49
	and   eax, 3
51
	and	cl, 7
50
	call	dword [servetable3 + eax * 4]
52
	call	dword [servetable3 + ecx * 4]
51
	pop	ecx
53
	pop	ecx
Line 52... Line 54...
52
	sysret
54
	sysret
53
 
55
 
Line 154... Line 156...
154
 
156
 
155
align 4
157
align 4
Line 156... Line 158...
156
servetable3:	; Kolibri-A special service
158
servetable3:	; Kolibri-A special service
157
 
159
 
158
	dd	sys_rdmsr	 ; 0  = read MSR
160
	dd	sys_rdmsr	 ; 0  = read MSR
-
 
161
	dd	sys_map1	 ; 1  = get sys data (test only)
-
 
162
	dd	paleholder	 ; 2
-
 
163
	dd	paleholder	 ; 3
-
 
164
	dd	paleholder	 ; 4
-
 
165
	dd	paleholder	 ; 5
159
	dd	sys_map1 	 ; 1  = map any page (test only)
166
	dd	paleholder	 ; 6
Line 160... Line 167...
160
	dd	paleholder	 ; 2
167
	dd	special_srv	 ; 7  = special service