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.

61 lines
1.5 KiB

  1. ;++
  2. ;
  3. ; Copyright (c) 1989 Microsoft Corporation
  4. ;
  5. ; Module Name:
  6. ;
  7. ; MI.INC
  8. ;
  9. ; Abstract:
  10. ;
  11. ; This module contains equates for x86 machine instructions
  12. ;
  13. ; Author:
  14. ;
  15. ; Dave Hastings 2 May 1991
  16. ;
  17. ; Notes:
  18. ;
  19. ; This information used to reside in Trap.asm, but is now needed in
  20. ; multiple source files.
  21. ;
  22. ; Revision History:
  23. ;--
  24. MAX_INSTRUCTION_LENGTH EQU 15
  25. MAX_INSTRUCTION_PREFIX_LENGTH EQU 4
  26. MI_LOCK_PREFIX EQU 0F0H
  27. MI_ADDR_PREFIX EQU 067H
  28. MI_TWO_BYTE EQU 0FH
  29. MI_HLT EQU 0F4H
  30. MI_LTR_LLDT EQU 0
  31. MI_LGDT_LIDT_LMSW EQU 01H
  32. MI_MODRM_MASK EQU 38H
  33. MI_LLDT_MASK EQU 10h
  34. MI_LTR_MASK EQU 18H
  35. MI_LGDT_MASK EQU 10H
  36. MI_LIDT_MASK EQU 18H
  37. MI_LMSW_MASK EQU 30H
  38. MI_SPECIAL_MOV_MASK EQU 20H
  39. MI_REP_INS_OUTS EQU 0F3H
  40. MI_MIN_INS_OUTS EQU 06CH
  41. MI_MAX_INS_OUTS EQU 06FH
  42. MI_CLTS EQU 006H
  43. MI_INVD EQU 008H
  44. MI_WBINVD EQU 009H
  45. MI_MOV_FROM_CR EQU 020H
  46. MI_MOV_FROM_DR EQU 021H
  47. MI_MOV_TO_CR EQU 022H
  48. MI_MOV_TO_DR EQU 023H
  49. MI_MOV_FROM_TR EQU 024H
  50. MI_MOV_TO_TR EQU 026H
  51. MI_WRMSR EQU 030H
  52. MI_RDTSC EQU 031H
  53. MI_RDMSR EQU 032H
  54. MI_RDPMC EQU 033H
  55. MI_SYSEXIT EQU 035H