Subversion Repositories Kolibri OS

Rev

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

Rev 1072 Rev 1074
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2008. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2008. 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: 1072 $
8
$Revision: 1074 $
9
 
9
 
Line 1031... Line 1031...
1031
           mov edi,ebx
1031
           mov edi,ebx
1032
           call get_event_ex
1032
           call get_event_ex
1033
           mov [esp+36], eax
1033
           mov [esp+36], eax
1034
           ret
1034
           ret
1035
.15:
1035
.15:
1036
           mov ecx, [current_slot]
1036
           mov  eax, [current_slot]
1037
           mov eax, [ecx+APPDATA.fpu_handler]
1037
           xchg ebx, [eax+APPDATA.exc_handler]
1038
           mov [ecx+APPDATA.fpu_handler], ebx
1038
           xchg ecx, [eax+APPDATA.except_mask]
1039
           mov [esp+36], eax
1039
           mov  [esp+36], ebx ; reg_eax+8
-
 
1040
           mov  [esp+24], ecx ; reg_ebx+8
1040
           ret
1041
           ret
1041
.16:
1042
.16:
1042
           test ebx, ebx
1043
           test ebx, ebx
1043
           jz .fail
1044
           jz .fail
1044
           cmp ebx, OS_BASE
1045
           cmp ebx, OS_BASE
Line 1049... Line 1050...
1049
.17:
1050
.17:
1050
           call srv_handlerEx   ;ebx
1051
           call srv_handlerEx   ;ebx
1051
           mov [esp+36], eax
1052
           mov [esp+36], eax
1052
           ret
1053
           ret
1053
.18:
1054
.18:
1054
           mov ecx, [current_slot]
1055
           mov  eax, [current_slot]
1055
           mov eax, [ecx+APPDATA.sse_handler]
1056
           btr  [eax+APPDATA.except_mask],ebx
1056
           mov [ecx+APPDATA.sse_handler], ebx
1057
           setc byte[esp+36]
1057
           mov [esp+36], eax
1058
           jecxz @f
-
 
1059
           bts  [eax+APPDATA.except_mask],ebx
1058
           ret
1060
     @@:   ret
1059
.19:
1061
.19:
1060
           cmp ebx, OS_BASE
1062
           cmp ebx, OS_BASE
1061
           jae .fail
1063
           jae .fail
1062
           stdcall load_library, ebx
1064
           stdcall load_library, ebx
1063
           mov [esp+36], eax
1065
           mov [esp+36], eax