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.

48 lines
1.3 KiB

  1. typedef struct _BUNDLE {
  2. ULONG64 BundleLow;
  3. ULONG64 BundleHigh;
  4. } BUNDLE;
  5. #ifdef WIN32_OR_WIN64
  6. typedef struct __declspec(align(16)) _FLOAT128_TYPE {
  7. #else
  8. typedef struct _FLOAT128_TYPE {
  9. #endif
  10. ULONG64 loFlt64;
  11. ULONG64 hiFlt64;
  12. } FLOAT128_TYPE;
  13. typedef struct fp_state_low_preserved_s {
  14. FLOAT128_TYPE fp_lp[4]; // f2-f5; f2=fp_lp[0], f3=fp_lp[1], ...
  15. } FP_STATE_LOW_PRESERVED;
  16. typedef struct fp_state_low_volatile_s {
  17. FLOAT128_TYPE fp_lv[10]; // f6-f15; f6=fp_lv[0], f7=fp_lv[1], ...
  18. } FP_STATE_LOW_VOLATILE;
  19. typedef struct fp_state_high_preserved_s {
  20. FLOAT128_TYPE fp_hp[16]; // f16-f31; f16=fp_hp[0], f17=fp_hp[1], ...
  21. } FP_STATE_HIGH_PRESERVED;
  22. typedef struct fp_state_high_volatile_s {
  23. FLOAT128_TYPE fp_hv[96]; // f32-f127; f32=fp_hv[0], f33=fp_hv[1], ...
  24. } FP_STATE_HIGH_VOLATILE;
  25. typedef struct fp_state_s {
  26. __int64 bitmask_low64; // f2-f63
  27. __int64 bitmask_high64; // f64-f127
  28. FP_STATE_LOW_PRESERVED *fp_state_low_preserved; // f2-f5
  29. FP_STATE_LOW_VOLATILE *fp_state_low_volatile; // f6-f15
  30. FP_STATE_HIGH_PRESERVED *fp_state_high_preserved; // f16-f31
  31. FP_STATE_HIGH_VOLATILE *fp_state_high_volatile; // f32-f127
  32. } FP_STATE;
  33. typedef struct {
  34. LONG64 retval; // r8
  35. ULONG64 err1; // r9
  36. ULONG64 err2; // r10
  37. ULONG64 err3; // r11
  38. } PAL_RETURN;