Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
645 B

  1. ; extracted from sdk\inc\ks386.inc
  2. ;
  3. ; Yes I know this is not the right thing to do, but the 16bit
  4. ; masm runs "out of memory" while assembling (for cairo builds
  5. ; it runs out of memory in ks386.inc itself, so splitting our
  6. ; source file wouldn't do the trick).
  7. ;
  8. ; - nanduri
  9. ;
  10. ; Defines for user shared data
  11. ;
  12. MM_SHARED_USER_DATA_VA equ 07FFE0000H
  13. UsTickCountLow equ 00H
  14. UsTickCountMultiplier equ 04H
  15. ;
  16. ; Gdt Descriptor Offset Definitions
  17. ;
  18. KGDT_R3_DATA equ 020H
  19. KGDT_R3_TEB equ 038H
  20. ;
  21. ; constants for system irql and IDT vector conversion
  22. ;
  23. RPL_MASK equ 03H