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.

83 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1998 Intel Corporation
  3. Module Name:
  4. fpswa.h
  5. Abstract:
  6. EFI driver wrapper for FPSWA
  7. Revision History
  8. --*/
  9. // #include "efi.h"
  10. // #include "efilib.h"
  11. //
  12. // First define PAL_RETURN
  13. //
  14. // typedef int PAL_RETURN;
  15. //
  16. // Global ID for fpswa driver & protocol
  17. //
  18. #define EFI_INTEL_FPSWA \
  19. { 0xc41b6531, 0x97b9, 0x11d3, 0x9a, 0x29, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d }
  20. #define EFI_INTEL_FPSWA_REVISION 0x00010000
  21. //
  22. //
  23. //
  24. typedef
  25. PAL_RETURN
  26. (*EFI_FPSWA) (
  27. IN unsigned int TrapType,
  28. IN OUT BUNDLE *pBundle,
  29. IN OUT UINT64 *pipsr,
  30. IN OUT UINT64 *pfsr,
  31. IN OUT UINT64 *pisr,
  32. IN OUT UINT64 *ppreds,
  33. IN OUT UINT64 *pifs,
  34. IN OUT FP_STATE *fp_state
  35. );
  36. typedef struct _FPSWA_INTERFACE {
  37. UINT32 Revision;
  38. UINT32 Reserved;
  39. EFI_FPSWA Fpswa;
  40. } FPSWA_INTERFACE;
  41. //
  42. // Prototypes
  43. //
  44. // PAL_RETURN
  45. // fp_emulate (
  46. // IN unsigned int TrapType,
  47. // IN OUT BUNDLE *pBundle,
  48. // IN OUT UINT64 *pipsr,
  49. // IN OUT UINT64 *pfsr,
  50. // IN OUT UINT64 *pisr,
  51. // IN OUT UINT64 *ppreds,
  52. // IN OUT UINT64 *pifs,
  53. // IN OUT FP_STATE *fp_state
  54. // );
  55. //
  56. // Globals
  57. //
  58. // extern EFI_GUID FpswaId;
  59. // extern FPSWA_INTERFACE FpswaInterface;
  60. // extern EFI_EVENT FpswaEvent;