Changeset 21791 for branches/gcc-kmk/src/kernel32/exceptutil.asm
- Timestamp:
- Nov 3, 2011, 7:46:38 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/kernel32/exceptutil.asm
r21755 r21791 34 34 CODE32 SEGMENT DWORD PUBLIC USE32 'CODE' 35 35 public _RaiseException@16 36 extrn OS2RAISEEXCEPTION: near36 extrn _OS2RaiseException : near 37 37 38 38 _RaiseException@16 proc near … … 65 65 mov eax, ss 66 66 push eax 67 call OS2RAISEEXCEPTION67 call _OS2RaiseException 68 68 69 69 ret 16 ;__stdcall … … 71 71 72 72 public _RtlUnwind@16 73 extrn OS2RtlUnwind : near73 extrn _OS2RtlUnwind : near 74 74 75 75 _RtlUnwind@16 proc near … … 102 102 mov eax, ss 103 103 push eax 104 call OS2RtlUnwind104 call _OS2RtlUnwind 105 105 106 106 ret 16 ;__stdcall … … 118 118 OS2ExceptionHandler endp 119 119 120 PUBLIC QueryExceptionChain121 122 QueryExceptionChain proc near120 PUBLIC _QueryExceptionChain 121 122 _QueryExceptionChain proc near 123 123 mov eax, fs:[0] 124 124 ret 125 QueryExceptionChain endp125 _QueryExceptionChain endp 126 126 127 127 PUBLIC GetExceptionRecord … … 280 280 281 281 282 ; 281 static DWORD EXC_CallHandler( WINEXCEPTION_RECORD *record, WINEXCEPTION_FRAME *frame,282 ; 281 static extern "C" DWORD EXC_CallHandler( WINEXCEPTION_RECORD *record, WINEXCEPTION_FRAME *frame, 283 283 EXTRN WriteLog:PROC 284 284 EXTRN _GetThreadTEB@0:PROC … … 287 287 ENDIF 288 288 289 EXC_push_frame __FP19_WINEXCEPTION_FRAMEproc289 EXC_push_frame proc 290 290 push ebp 291 291 mov ebp,esp … … 313 313 leave 314 314 ret 315 EXC_push_frame __FP19_WINEXCEPTION_FRAMEendp315 EXC_push_frame endp 316 316 317 317 ; 138 static inline WINEXCEPTION_FRAME * EXC_pop_frame( WINEXCEPTION_FRAME *frame ) 318 318 align 04h 319 319 320 EXC_pop_frame __FP19_WINEXCEPTION_FRAMEproc320 EXC_pop_frame proc 321 321 push ebp 322 322 mov ebp,esp … … 339 339 leave 340 340 ret 341 EXC_pop_frame __FP19_WINEXCEPTION_FRAMEendp341 EXC_pop_frame endp 342 342 343 343 align 04h 344 PUBLIC EXC_CallHandler__FP20_WINEXCEPTION_RECORDP19_WINEXCEPTION_FRAMEP10WINCONTEXTPP19_WINEXCEPTION_FRAMEPFP20_WINEXCEPTION_RECORDP19_WINEXCEPTION_FRAMEP10WINCONTEXTPv_UlT5345 346 EXC_CallHandler__FP20_WINEXCEPTION_RECORDP19_WINEXCEPTION_FRAMEP10WINCONTEXTPP19_WINEXCEPTION_FRAMEPFP20_WINEXCEPTION_RECORDP19_WINEXCEPTION_FRAMEP10WINCONTEXTPv_UlT5proc344 PUBLIC _EXC_CallHandler 345 346 _EXC_CallHandler proc 347 347 push ebp 348 348 mov ebp,esp … … 363 363 ; 298 EXC_push_frame( &newframe.frame ); 364 364 lea eax,[ebp-0ch]; newframe 365 call EXC_push_frame __FP19_WINEXCEPTION_FRAME365 call EXC_push_frame 366 366 367 367 ; 299 dprintf(("KERNEL32: Calling handler at %p code=%lx flags=%lx\n", … … 403 403 ; 303 EXC_pop_frame( &newframe.frame ); 404 404 lea eax,[ebp-0ch]; newframe 405 call EXC_pop_frame __FP19_WINEXCEPTION_FRAME405 call EXC_pop_frame 406 406 407 407 ; 304 return ret; … … 410 410 leave 411 411 ret 412 EXC_CallHandler__FP20_WINEXCEPTION_RECORDP19_WINEXCEPTION_FRAMEP10WINCONTEXTPP19_WINEXCEPTION_FRAMEPFP20_WINEXCEPTION_RECORDP19_WINEXCEPTION_FRAMEP10WINCONTEXTPv_UlT5endp412 _EXC_CallHandler endp 413 413 414 414 CODE32 ENDS
Note:
See TracChangeset
for help on using the changeset viewer.