Changeset 1467 for trunk/src/win32k/misc/asmutils.asm
- Timestamp:
- Oct 27, 1999, 4:03:01 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/misc/asmutils.asm
r909 r1467 1 ; $Id: asmutils.asm,v 1. 2 1999-09-12 00:26:27bird Exp $1 ; $Id: asmutils.asm,v 1.3 1999-10-27 02:02:59 bird Exp $ 2 2 ; 3 3 ; asmutils - assembly utility functions … … 5 5 ; Copyright (c) 1998-1999 knut st. osmundsen 6 6 ; 7 ; Project Odin Software License can be found in LICENSE.TXT 7 8 ; 8 9 .386p … … 12 13 ; 13 14 include devsegdf.inc 14 include sas.inc15 15 16 16 ; … … 26 26 public _memrevmov@12 27 27 public _memmov@12 28 public GetOS2KrnlMTE29 28 ; public DisableInterrupts 30 29 ; public EnableInterrupts … … 196 195 197 196 198 ; gets the FLAT pointer to the OS2 Kernel MTE.199 ; eax is flat pointer to OS2 Kernel MTE.200 GetOS2KrnlMTE PROC NEAR201 push es202 203 mov ax, SAS_selector ;70h - Read-only SAS selector.204 mov es, ax205 xor ebx, ebx206 assume ebx: PTR SAS207 mov bx, [ebx].SAS_vm_data ;SAS_vm_data (0ch)208 assume ebx: PTR SAS_vm_section209 mov eax,[ebx].SAS_vm_krnl_mte ;SAS_vm_krnl_mte (0ch)210 211 pop es212 ret213 GetOS2KrnlMTE ENDP214 215 216 197 CODE32 ends 217 198 end
Note:
See TracChangeset
for help on using the changeset viewer.