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.

79 lines
1.2 KiB

  1. #ifndef _EFI_LIB_PLAT_H
  2. #define _EFI_LIB_PLAT_H
  3. /*++
  4. Copyright (c) 1998 Intel Corporation
  5. Module Name:
  6. efilibplat.h
  7. Abstract:
  8. EFI to compile bindings
  9. Revision History
  10. --*/
  11. #include "SalProc.h"
  12. VOID
  13. InitializeLibPlatform (
  14. IN EFI_HANDLE ImageHandle,
  15. IN EFI_SYSTEM_TABLE *SystemTable
  16. );
  17. VOID
  18. LibInitSalAndPalProc(
  19. OUT PLABEL *SalPlabel,
  20. OUT UINT64 *PalEntry
  21. );
  22. EFI_STATUS
  23. LibGetSalIoPortMapping (
  24. OUT UINT64 *IoPortMapping
  25. );
  26. EFI_STATUS
  27. LibGetSalIpiBlock (
  28. OUT UINT64 *IpiBlock
  29. );
  30. EFI_STATUS
  31. LibGetSalWakeupVector (
  32. OUT UINT64 *WakeVector
  33. );
  34. VOID *
  35. LibSearchSalSystemTable (
  36. IN UINT8 EntryType
  37. );
  38. VOID
  39. LibSalProc (
  40. IN UINT64 Arg1,
  41. IN UINT64 Arg2,
  42. IN UINT64 Arg3,
  43. IN UINT64 Arg4,
  44. IN UINT64 Arg5,
  45. IN UINT64 Arg6,
  46. IN UINT64 Arg7,
  47. IN UINT64 Arg8,
  48. OUT rArg *Results OPTIONAL
  49. );
  50. VOID
  51. LibPalProc (
  52. IN UINT64 Arg1,
  53. IN UINT64 Arg2,
  54. IN UINT64 Arg3,
  55. IN UINT64 Arg4,
  56. OUT rArg *Results OPTIONAL
  57. );
  58. #endif