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.

55 lines
1.3 KiB

  1. #ifndef __IA64_WOW64EXTS32__
  2. #define __IA64_WOW64EXTS32__
  3. #define _CROSS_PLATFORM_
  4. #define WOW64EXTS_386
  5. #if !defined(_X86_)
  6. #error This file can only be included for x86 build
  7. #else
  8. /* include headers as if the platform were ia64,
  9. because we need 64-bit stuff for context conversion */
  10. #undef _X86_
  11. #define _IA64_
  12. #include <nt.h>
  13. #include <ntrtl.h>
  14. #include <nturtl.h>
  15. #include <windows.h>
  16. #undef _IA64_
  17. #define _X86_
  18. #include <kxia64.h>
  19. /* 32-bit stuff for context conversion are defined here */
  20. #include <wow64.h>
  21. #include <wow64cpu.h>
  22. #include <vdmdbg.h>
  23. #include <ia64cpu.h>
  24. /* these are defined in nti386.h, since we only included ntia64.h (in nt.h),
  25. we have to define these. */
  26. #define SIZE_OF_FX_REGISTERS 128
  27. typedef struct _FXSAVE_FORMAT {
  28. USHORT ControlWord;
  29. USHORT StatusWord;
  30. USHORT TagWord;
  31. USHORT ErrorOpcode;
  32. ULONG ErrorOffset;
  33. ULONG ErrorSelector;
  34. ULONG DataOffset;
  35. ULONG DataSelector;
  36. ULONG MXCsr;
  37. ULONG Reserved2;
  38. UCHAR RegisterArea[SIZE_OF_FX_REGISTERS];
  39. UCHAR Reserved3[SIZE_OF_FX_REGISTERS];
  40. UCHAR Reserved4[224];
  41. UCHAR Align16Byte[8];
  42. } FXSAVE_FORMAT, *PFXSAVE_FORMAT_WX86;
  43. #endif
  44. #endif __IA64_WOW64EXTS32__