Source code of Windows XP (NT5)
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.1 KiB

  1. ;++
  2. ;
  3. ; Copyright (c) 1989 Microsoft Corporation
  4. ;
  5. ; Module Name:
  6. ;
  7. ; cpu.inc
  8. ;
  9. ; Abstract:
  10. ;
  11. ; This module contains the assembly structures and definitions
  12. ; for INTEL 80x86 CPU specifiec information. This include file
  13. ; is mainly used by CPU.ASM to determine CPU type and stepping
  14. ; number.
  15. ;
  16. ; Author:
  17. ;
  18. ; Shie-Lin (shielint) 1-Oct-1991
  19. ;
  20. ; Revision History:
  21. ;
  22. ;--
  23. ;
  24. ; The following equates define the control bits of CR0 register
  25. ;
  26. CR0_AM equ 40000h
  27. CR0_ET equ 00010h
  28. ;
  29. ; The following equates define the control bits of EFALGS register
  30. ;
  31. EFLAGS_AC equ 40000h
  32. EFLAGS_VM equ 20000h
  33. EFLAGS_RF equ 10000h
  34. EFLAGS_NF equ 4000h
  35. EFLAGS_IOPL equ 3000h
  36. EFLAGS_IF equ 200h
  37. EFLAGS_TF equ 100h
  38. EFLAGS_ID equ 200000h
  39. ;
  40. ; Define the iret frame
  41. ;
  42. IretFrame struc
  43. IretEip dd 0
  44. IretCs dd 0
  45. IretEFlags dd 0
  46. IretFrame ends
  47. ;
  48. ; Misc. definitions
  49. ;
  50. ADDRESS_OVERRIDE equ 67h
  51. OPERAND_OVERRIDE equ 66h