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.

40 lines
1.3 KiB

  1. NPX_CONTEXT_FULL EQU 00001000Fh ;/ Full context
  2. ContextFlags equ CsContextFlags
  3. ctx_env equ CsFloatSave
  4. ctx_stack equ CsFloatSave+FpRegisterArea ;need to change this puppy
  5. ctx_Cr0NpxState equ CsFloatSave+FpCr0NpxState
  6. ctx_SegGs equ CsSegGs
  7. ctx_SegFs equ CsSegFs
  8. ctx_SegEs equ CsSegEs
  9. ctx_SegDs equ CsSegDs
  10. ctx_RegEdi equ CsEdi
  11. ctx_RegEsi equ CsEsi
  12. ctx_RegEbp equ CsEbp
  13. ctx_RegEbx equ CsEbx
  14. ctx_RegEdx equ CsEdx
  15. ctx_RegEcx equ CsEcx
  16. ctx_RegEax equ CsEax
  17. ctx_RegEip equ CsEip
  18. ctx_SegCs equ CsSegCs
  19. ctx_EFlags equ CsEflags
  20. ctx_RegEsp equ CsEsp
  21. ctx_SegSs equ CsSegSs
  22. XCPT_FLOAT_INVALID_OPERATION EQU STATUS_FLOAT_INVALID_OPERATION
  23. XCPT_FLOAT_DENORMAL_OPERAND EQU STATUS_FLOAT_DENORMAL_OPERAND
  24. XCPT_FLOAT_DIVIDE_BY_ZERO EQU STATUS_FLOAT_DIVIDE_BY_ZERO
  25. XCPT_FLOAT_OVERFLOW EQU STATUS_FLOAT_OVERFLOW
  26. XCPT_FLOAT_UNDERFLOW EQU STATUS_FLOAT_UNDERFLOW
  27. XCPT_FLOAT_INEXACT_RESULT EQU STATUS_FLOAT_INEXACT_RESULT
  28. XCPT_FLOAT_STACK_CHECK EQU STATUS_FLOAT_STACK_CHECK
  29. ExceptionNum equ ErExceptionCode
  30. FHandlerFlags equ ErExceptionFlags
  31. NestedExceptionReportRecord equ ErExceptionRecord
  32. ExceptionAddress equ ErExceptionAddress
  33. CParameters equ ErNumberParameters
  34. Em87Busy equ 1
  35. Em87Idle equ 0