summaryrefslogtreecommitdiff
path: root/MiscFramework/Ppi/SmbusPolicy
diff options
context:
space:
mode:
Diffstat (limited to 'MiscFramework/Ppi/SmbusPolicy')
-rw-r--r--MiscFramework/Ppi/SmbusPolicy/SmbusPolicy.c35
-rw-r--r--MiscFramework/Ppi/SmbusPolicy/SmbusPolicy.h48
2 files changed, 83 insertions, 0 deletions
diff --git a/MiscFramework/Ppi/SmbusPolicy/SmbusPolicy.c b/MiscFramework/Ppi/SmbusPolicy/SmbusPolicy.c
new file mode 100644
index 0000000..ccaf621
--- /dev/null
+++ b/MiscFramework/Ppi/SmbusPolicy/SmbusPolicy.c
@@ -0,0 +1,35 @@
+/*++
+ This file contains 'Framework Code' and is licensed as such
+ under the terms of your license agreement with Intel or your
+ vendor. This file may not be modified, except as allowed by
+ additional terms of your license agreement.
+--*/
+/*++
+
+Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved
+This software and associated documentation (if any) is furnished
+under a license and may only be used or copied in accordance
+with the terms of the license. Except as permitted by such
+license, no part of this software or documentation may be
+reproduced, stored in a retrieval system, or transmitted in any
+form or by any means without the express written consent of
+Intel Corporation.
+
+
+Module Name:
+
+ SmbusPolicy.c
+
+Abstract:
+
+ Smbus Policy PPI GUID as defined in EFI 2.0
+
+--*/
+
+#include "Tiano.h"
+#include "Pei.h"
+#include EFI_PPI_DEFINITION (SmbusPolicy)
+
+EFI_GUID gPeiSmbusPolicyPpiGuid = PEI_SMBUS_POLICY_PPI_GUID;
+
+EFI_GUID_STRING(&gPeiSmbusPolicyPpiGuid, "SmbusPolicy", "Smbus Policy PPI");
diff --git a/MiscFramework/Ppi/SmbusPolicy/SmbusPolicy.h b/MiscFramework/Ppi/SmbusPolicy/SmbusPolicy.h
new file mode 100644
index 0000000..48cd755
--- /dev/null
+++ b/MiscFramework/Ppi/SmbusPolicy/SmbusPolicy.h
@@ -0,0 +1,48 @@
+//
+// This file contains 'Framework Code' and is licensed as such
+// under the terms of your license agreement with Intel or your
+// vendor. This file may not be modified, except as allowed by
+// additional terms of your license agreement.
+//
+/*++
+
+Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved
+This software and associated documentation (if any) is furnished
+under a license and may only be used or copied in accordance
+with the terms of the license. Except as permitted by such
+license, no part of this software or documentation may be
+reproduced, stored in a retrieval system, or transmitted in any
+form or by any means without the express written consent of
+Intel Corporation.
+
+
+Module Name:
+
+ SmbusPolicy.h
+
+Abstract:
+
+ Smbus Policy PPI as defined in EFI 2.0
+
+--*/
+
+#ifndef _PEI_SMBUS_POLICY_PPI_H
+#define _PEI_SMBUS_POLICY_PPI_H
+
+#define PEI_SMBUS_POLICY_PPI_GUID \
+ { \
+ 0x63b6e435, 0x32bc, 0x49c6, 0x81, 0xbd, 0xb7, 0xa1, 0xa0, 0xfe, 0x1a, 0x6c \
+ }
+
+EFI_FORWARD_DECLARATION (PEI_SMBUS_POLICY_PPI);
+
+typedef struct _PEI_SMBUS_POLICY_PPI {
+ UINTN BaseAddress;
+ UINT32 PciAddress;
+ UINT8 NumRsvdAddress;
+ UINT8 *RsvdAddress;
+} PEI_SMBUS_POLICY_PPI;
+
+extern EFI_GUID gPeiSmbusPolicyPpiGuid;
+
+#endif