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.

72 lines
1.3 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. ;
  39. ; define the structure type for real mode interrupt vectore
  40. ;
  41. RealModeVector struc
  42. VectorOffset dw 0
  43. VectorSegment dw 0
  44. RealModeVector ends
  45. ;
  46. ; Define the iret frame
  47. ;
  48. IretFrame struc
  49. IretIp dw 0
  50. IretCs dw 0
  51. IretFlags dw 0
  52. IretFrame ends
  53. ;
  54. ; Misc. definitions
  55. ;
  56. ADDRESS_OVERRIDE equ 67h
  57. OPERAND_OVERRIDE equ 66h