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.

86 lines
1.6 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. //
  10. // First define PAL_RETURN
  11. //
  12. typedef int PAL_RETURN;
  13. //
  14. // Global ID for fpswa driver & protocol
  15. //
  16. #define EFI_INTEL_FPSWA \
  17. { 0xc41b6531, 0x97b9, 0x11d3, 0x9a, 0x29, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d }
  18. #define EFI_INTEL_FPSWA_REVISION 0x00010000
  19. //
  20. //
  21. //
  22. typedef
  23. PAL_RETURN
  24. (EFIAPI *EFI_FPSWA) (
  25. IN struct _FPSWA_INTERFACE *This,
  26. // IN UINTN TrapType,
  27. IN unsigned int TrapType,
  28. IN OUT VOID *Bundle,
  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 VOID *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. FpswaEntry (
  46. IN FPSWA_INTERFACE *This,
  47. // IN UINTN TrapType,
  48. IN unsigned int TrapType,
  49. IN OUT VOID *Bundle,
  50. IN OUT UINT64 *pipsr,
  51. IN OUT UINT64 *pfsr,
  52. IN OUT UINT64 *pisr,
  53. IN OUT UINT64 *ppreds,
  54. IN OUT UINT64 *pifs,
  55. IN OUT VOID *fp_state
  56. );
  57. //
  58. // Globals
  59. //
  60. extern EFI_GUID FpswaId;
  61. extern FPSWA_INTERFACE FpswaInterface;