Page Menu
Home
desp's stash
Search
Configure Global Search
Log In
Files
F554847
trap.asm
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
trap.asm
View Options
.386
.MODEL
FLAT
include
common.inc
;
; Extern functions.
;
EXTRN
_AvmRdtscEmulationTrap0D@4
:
PROC
EXTRN
_AvmpRdtscEmulationTrap0DOriginalHandler
:
DWORD
; ;
; ------------------------------------------------------------------- ;
; CODE SECTION ;
; ------------------------------------------------------------------- ;
; ;
.CODE
_AvmpRdtscEmulationTrap0D
PROC
PUBLIC
TRAP_ENTRY
;
; Call our new trap function.
;
push
esp
call
_AvmRdtscEmulationTrap0D@4
;
; If our trap did not handle the fault,
; pass it to the original trap handler.
;
cmp
eax
,
0
jz
OldHandler
;
; Fault has been handled,
; return from the interrupt handler.
;
TRAP_END
add
esp
,
4
iretd
OldHandler:
TRAP_END
jmp
dword
ptr
[
_AvmpRdtscEmulationTrap0DOriginalHandler
]
_AvmpRdtscEmulationTrap0D
ENDP
END
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 11, 1:20 AM (1 d, 13 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
76/08/07366a1f6168f46d016289f43f2c
Attached To
rAVM avmext
Event Timeline
Log In to Comment