diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-06-28 07:00:39 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-06-28 07:00:39 +0000 |
commit | 3eb9473ea9a949badfe06ae61d2d3fcfa53651c7 (patch) | |
tree | e9d8c368dbb1e58794b2c00acefe4bbad270f8c4 /EdkCompatibilityPkg/Foundation/Guid | |
parent | 30d4a0c7ec19938196b1308006b990e0945150da (diff) | |
download | edk2-platforms-3eb9473ea9a949badfe06ae61d2d3fcfa53651c7.tar.xz |
Add in the 1st version of ECP.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2832 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Guid')
59 files changed, 2126 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Guid/AcpiDescription/AcpiDescription.c b/EdkCompatibilityPkg/Foundation/Guid/AcpiDescription/AcpiDescription.c new file mode 100644 index 0000000000..f5b04ace50 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/AcpiDescription/AcpiDescription.c @@ -0,0 +1,28 @@ +/*++
+
+Copyright (c) 2006, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ AcpiDescription.c
+
+Abstract:
+
+
+ GUIDs used for ACPI Description
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION (AcpiDescription)
+
+EFI_GUID gEfiAcpiDescriptionGuid = EFI_ACPI_DESCRIPTION_GUID;
+
+EFI_GUID_STRING(&gEfiAcpiDescriptionGuid, "ACPI Description", "ACPI Description GUID");
diff --git a/EdkCompatibilityPkg/Foundation/Guid/AcpiDescription/AcpiDescription.h b/EdkCompatibilityPkg/Foundation/Guid/AcpiDescription/AcpiDescription.h new file mode 100644 index 0000000000..43adf0191b --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/AcpiDescription/AcpiDescription.h @@ -0,0 +1,127 @@ +/*++
+
+Copyright (c) 2006 - 2007, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ AcpiDescription.h
+
+Abstract:
+
+
+ GUIDs used for ACPI Description
+
+--*/
+
+#ifndef _EFI_ACPI_DESCRIPTION_H_
+#define _EFI_ACPI_DESCRIPTION_H_
+
+#define EFI_ACPI_DESCRIPTION_GUID \
+ { \
+ 0x3c699197, 0x93c, 0x4c69, 0xb0, 0x6b, 0x12, 0x8a, 0xe3, 0x48, 0x1d, 0xc9 \
+ }
+
+typedef struct {
+ UINT8 AddressSpaceId;
+ UINT8 RegisterBitWidth;
+ UINT8 RegisterBitOffset;
+ UINT8 AccessSize;
+ UINT64 Address;
+} EFI_ACPI_GENERIC_ADDRESS_STRUCTURE;
+
+#define ACPI_ADDRESS_ID_MEMORY 0
+#define ACPI_ADDRESS_ID_IO 1
+#define ACPI_ADDRESS_ID_PCI 2
+#define ACPI_ADDRESS_ID_EC 3
+#define ACPI_ADDRESS_ID_SMBUS 4
+
+#define ACPI_ADDRESS_ACCESS_ANY 0
+#define ACPI_ADDRESS_ACCESS_BYTE 1
+#define ACPI_ADDRESS_ACCESS_WORD 2
+#define ACPI_ADDRESS_ACCESS_DWORD 3
+#define ACPI_ADDRESS_ACCESS_QWORD 4
+
+//
+// Following structure defines ACPI Description information.
+// This information is platform specific, may be consumed by DXE generic driver.
+//
+#pragma pack(1)
+typedef struct _EFI_ACPI_DESCRIPTION {
+ //
+ // For Timer
+ //
+ EFI_ACPI_GENERIC_ADDRESS_STRUCTURE PM_TMR_BLK;
+ UINT8 PM_TMR_LEN;
+ UINT8 TMR_VAL_EXT;
+
+ //
+ // For RTC
+ //
+ UINT8 DAY_ALRM;
+ UINT8 MON_ALRM;
+ UINT8 CENTURY;
+
+ //
+ // For Reset
+ //
+ EFI_ACPI_GENERIC_ADDRESS_STRUCTURE RESET_REG;
+ UINT8 RESET_VALUE;
+
+ //
+ // For Shutdown
+ //
+ EFI_ACPI_GENERIC_ADDRESS_STRUCTURE PM1a_EVT_BLK;
+ EFI_ACPI_GENERIC_ADDRESS_STRUCTURE PM1b_EVT_BLK;
+ EFI_ACPI_GENERIC_ADDRESS_STRUCTURE PM1a_CNT_BLK;
+ EFI_ACPI_GENERIC_ADDRESS_STRUCTURE PM1b_CNT_BLK;
+ EFI_ACPI_GENERIC_ADDRESS_STRUCTURE PM2_CNT_BLK;
+ UINT8 PM1_EVT_LEN;
+ UINT8 PM1_CNT_LEN;
+ UINT8 PM2_CNT_LEN;
+ UINT8 SLP_TYPa;
+ UINT8 SLP_TYPb;
+
+ //
+ // For sleep
+ //
+ UINT8 SLP1_TYPa;
+ UINT8 SLP1_TYPb;
+ UINT8 SLP2_TYPa;
+ UINT8 SLP2_TYPb;
+ UINT8 SLP3_TYPa;
+ UINT8 SLP3_TYPb;
+ UINT8 SLP4_TYPa;
+ UINT8 SLP4_TYPb;
+
+ //
+ // GPE
+ //
+ EFI_ACPI_GENERIC_ADDRESS_STRUCTURE GPE0_BLK;
+ EFI_ACPI_GENERIC_ADDRESS_STRUCTURE GPE1_BLK;
+ UINT8 GPE0_BLK_LEN;
+ UINT8 GPE1_BLK_LEN;
+ UINT8 GPE1_BASE;
+
+ //
+ // IAPC Boot Arch
+ //
+ UINT16 IAPC_BOOT_ARCH;
+
+ //
+ // Flags
+ //
+ UINT32 Flags;
+
+} EFI_ACPI_DESCRIPTION;
+#pragma pack()
+
+extern EFI_GUID gEfiAcpiDescriptionGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/AlternateFvBlock/AlternateFvBlock.c b/EdkCompatibilityPkg/Foundation/Guid/AlternateFvBlock/AlternateFvBlock.c new file mode 100644 index 0000000000..3017b31c0f --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/AlternateFvBlock/AlternateFvBlock.c @@ -0,0 +1,28 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ AlternateFvBlock.c
+
+Abstract:
+
+ Tiano Guid used to define the Alternate Firmware Volume Block Guid.
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION (AlternateFvBlock)
+
+EFI_GUID gEfiAlternateFvBlockGuid = EFI_ALTERNATE_FV_BLOCK_GUID;
+
+EFI_GUID_STRING
+ (&gEfiAlternateFvBlockGuid, "Alternate Firmware Volume Block GUID", "Alternate Firmware Volume Block GUID");
diff --git a/EdkCompatibilityPkg/Foundation/Guid/AlternateFvBlock/AlternateFvBlock.h b/EdkCompatibilityPkg/Foundation/Guid/AlternateFvBlock/AlternateFvBlock.h new file mode 100644 index 0000000000..53340eaa04 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/AlternateFvBlock/AlternateFvBlock.h @@ -0,0 +1,32 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ AlternateFvBlock.h
+
+Abstract:
+
+ Tiano Guid used to define the Alternate Firmware Volume Block Guid.
+
+--*/
+
+#ifndef _ALT_FVB_GUID_H
+#define _ALT_FVB_GUID_H
+
+#define EFI_ALTERNATE_FV_BLOCK_GUID \
+ { \
+ 0xf496922d, 0x172f, 0x4bbc, 0xa1, 0xeb, 0xe, 0xeb, 0x94, 0x9c, 0x34, 0x86 \
+ }
+
+extern EFI_GUID gEfiAlternateFvBlockGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/Bmp/Bmp.c b/EdkCompatibilityPkg/Foundation/Guid/Bmp/Bmp.c new file mode 100644 index 0000000000..d62e0fa1a2 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/Bmp/Bmp.c @@ -0,0 +1,29 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ Bmp.c
+ .c
+
+Abstract:
+
+ GUID used as a filename for the BMP logo
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION (Bmp)
+
+EFI_GUID gEfiDefaultBmpLogoGuid = EFI_DEFAULT_BMP_LOGO_GUID;
+
+EFI_GUID_STRING (&gEfiDefaultBmpLogoGuid, "Guid for BMP logo", "Guid for BMP logo");
+
diff --git a/EdkCompatibilityPkg/Foundation/Guid/Bmp/Bmp.h b/EdkCompatibilityPkg/Foundation/Guid/Bmp/Bmp.h new file mode 100644 index 0000000000..e095d2a929 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/Bmp/Bmp.h @@ -0,0 +1,62 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ Bmp.h
+
+Abstract:
+
+--*/
+
+#ifndef _BMP_GUID_H_
+#define _BMP_GUID_H_
+
+
+//
+// Definitions for BMP files
+//
+#pragma pack(1)
+
+typedef struct {
+ UINT8 Blue;
+ UINT8 Green;
+ UINT8 Red;
+ UINT8 Reserved;
+} BMP_COLOR_MAP;
+
+typedef struct {
+ CHAR8 CharB;
+ CHAR8 CharM;
+ UINT32 Size;
+ UINT16 Reserved[2];
+ UINT32 ImageOffset;
+ UINT32 HeaderSize;
+ UINT32 PixelWidth;
+ UINT32 PixelHeight;
+ UINT16 Planes; // Must be 1
+ UINT16 BitPerPixel; // 1, 4, 8, or 24
+ UINT32 CompressionType;
+ UINT32 ImageSize; // Compressed image size in bytes
+ UINT32 XPixelsPerMeter;
+ UINT32 YPixelsPerMeter;
+ UINT32 NumberOfColors;
+ UINT32 ImportantColors;
+} BMP_IMAGE_HEADER;
+
+#pragma pack()
+
+#define EFI_DEFAULT_BMP_LOGO_GUID \
+ {0x7BB28B99,0x61BB,0x11d5,0x9A,0x5D,0x00,0x90,0x27,0x3F,0xC1,0x4D}
+
+extern EFI_GUID gEfiDefaultBmpLogoGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/BootState/BootState.c b/EdkCompatibilityPkg/Foundation/Guid/BootState/BootState.c new file mode 100644 index 0000000000..6e32f780b1 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/BootState/BootState.c @@ -0,0 +1,30 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ BootState.c
+
+Abstract:
+
+ GUID for use conveying the boot-state to PEI
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION (BootState)
+
+EFI_GUID gEfiBootStateGuid = EFI_BOOT_STATE_VARIABLE_GUID;
+
+//
+// GUID for frequency selection HOB
+//
+EFI_GUID_STRING(&gEfiBootStateGuid, "Boot State", "Boot State");
diff --git a/EdkCompatibilityPkg/Foundation/Guid/BootState/BootState.h b/EdkCompatibilityPkg/Foundation/Guid/BootState/BootState.h new file mode 100644 index 0000000000..e0aeba41b4 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/BootState/BootState.h @@ -0,0 +1,38 @@ +/*++
+
+Copyright (c) 2004 - 2005, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ BootState.h
+
+Abstract:
+
+ Constants and declarations that are common accross PEI and DXE.
+--*/
+
+#ifndef _BOOT_STATE_H_
+#define _BOOT_STATE_H_
+
+#include "Tiano.h"
+
+//
+// BOOT STATE
+//
+
+typedef UINT32 EFI_BOOT_STATE;
+
+#define BOOT_STATE_VARIABLE_NAME L"BootState"
+
+#define EFI_BOOT_STATE_VARIABLE_GUID \
+ {0x60b5e939, 0xfcf, 0x4227, 0xba, 0x83, 0x6b, 0xbe, 0xd4, 0x5b, 0xc0, 0xe3}
+
+extern EFI_GUID gEfiBootStateGuid;
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/Capsule/Capsule.c b/EdkCompatibilityPkg/Foundation/Guid/Capsule/Capsule.c new file mode 100644 index 0000000000..6e167d3b02 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/Capsule/Capsule.c @@ -0,0 +1,29 @@ +/*++
+
+Copyright (c) 2006, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ Capsule.c
+
+Abstract:
+
+ EFI Capsule update Guid data declarations.
+
+--*/
+
+#include "Tiano.h"
+
+#include EFI_GUID_DEFINITION(Capsule)
+
+EFI_GUID gEfiCapsuleVendorGuid = EFI_CAPSULE_VENDOR_GUID;
+
+EFI_GUID_STRING(&gEfiCapsuleVendorGuid, "EFI", "Efi Capsule GUID")
+
diff --git a/EdkCompatibilityPkg/Foundation/Guid/Capsule/Capsule.h b/EdkCompatibilityPkg/Foundation/Guid/Capsule/Capsule.h new file mode 100644 index 0000000000..8c61f5e725 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/Capsule/Capsule.h @@ -0,0 +1,35 @@ +/*++
+
+Copyright (c) 2006, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ Capsule.h
+
+Abstract:
+
+ Capsule update Guid definitions
+
+--*/
+
+#ifndef _EFI_CAPSULE_VENDOR_GUID_H_
+#define _EFI_CAPSULE_VENDOR_GUID_H_
+
+//
+// Note -- This guid is used as a vendor GUID (depending on implementation)
+// for the capsule variable if the capsule pointer is passes through reset
+// via a variable.
+//
+#define EFI_CAPSULE_VENDOR_GUID \
+ { 0x711C703F, 0xC285, 0x4B10, 0xA3, 0xB0, 0x36, 0xEC, 0xBD, 0x3C, 0x8B, 0xE2 }
+
+extern EFI_GUID gEfiCapsuleVendorGuid;
+
+#endif // #ifndef _EFI_CAPSULE_VENDOR_GUID_H_
diff --git a/EdkCompatibilityPkg/Foundation/Guid/CompatibleMemoryTested/CompatibleMemoryTested.c b/EdkCompatibilityPkg/Foundation/Guid/CompatibleMemoryTested/CompatibleMemoryTested.c new file mode 100644 index 0000000000..e542d29e8c --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/CompatibleMemoryTested/CompatibleMemoryTested.c @@ -0,0 +1,28 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ CompatibleMemoryTested.c
+
+Abstract:
+
+ Tiano Guid used for all Compatible Memory Range Tested GUID.
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION (CompatibleMemoryTested)
+
+EFI_GUID gEfiCompatibleMemoryTestedGuid = EFI_COMPATIBLE_MEMORY_TESTED_PROTOCOL_GUID;
+
+EFI_GUID_STRING
+ (&gEfiCompatibleMemoryTestedGuid, "CompatibleMemoryTested Protocol", "Tiano Generic Memory Test Protocol");
diff --git a/EdkCompatibilityPkg/Foundation/Guid/CompatibleMemoryTested/CompatibleMemoryTested.h b/EdkCompatibilityPkg/Foundation/Guid/CompatibleMemoryTested/CompatibleMemoryTested.h new file mode 100644 index 0000000000..2223776fb2 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/CompatibleMemoryTested/CompatibleMemoryTested.h @@ -0,0 +1,32 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ CompatibleMemoryTested.h
+
+Abstract:
+
+ Tiano Guid used for all Compatible Memory Range Tested GUID.
+
+--*/
+
+#ifndef _COMPATIBLE_MEMORY_TESTED_GUID_H_
+#define _COMPATIBLE_MEMORY_TESTED_GUID_H_
+
+#define EFI_COMPATIBLE_MEMORY_TESTED_PROTOCOL_GUID \
+ { \
+ 0x64c475ef, 0x344b, 0x492c, 0x93, 0xad, 0xab, 0x9e, 0xb4, 0x39, 0x50, 0x4 \
+ }
+
+extern EFI_GUID gEfiCompatibleMemoryTestedGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/ConsoleInDevice/ConsoleInDevice.c b/EdkCompatibilityPkg/Foundation/Guid/ConsoleInDevice/ConsoleInDevice.c new file mode 100644 index 0000000000..7fb5ab09a4 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/ConsoleInDevice/ConsoleInDevice.c @@ -0,0 +1,27 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ ConsoleInDevice.c
+
+Abstract:
+
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION(ConsoleInDevice)
+
+
+EFI_GUID gEfiConsoleInDeviceGuid = EFI_CONSOLE_IN_DEVICE_GUID;
+
+EFI_GUID_STRING(&gEfiConsoleInDeviceGuid, "Console In Device Guid", "EFI Conosle In Device Guid");
diff --git a/EdkCompatibilityPkg/Foundation/Guid/ConsoleInDevice/ConsoleInDevice.h b/EdkCompatibilityPkg/Foundation/Guid/ConsoleInDevice/ConsoleInDevice.h new file mode 100644 index 0000000000..7fc1b90594 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/ConsoleInDevice/ConsoleInDevice.h @@ -0,0 +1,29 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ ConsoleInDevice.h
+
+Abstract:
+
+
+--*/
+
+#ifndef _CONSOLE_IN_DEVICE_H_
+#define _CONSOLE_IN_DEVICE_H_
+
+#define EFI_CONSOLE_IN_DEVICE_GUID \
+ { 0xd3b36f2b, 0xd551, 0x11d4, 0x9a, 0x46, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d }
+
+extern EFI_GUID gEfiConsoleInDeviceGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/ConsoleOutDevice/ConsoleOutDevice.c b/EdkCompatibilityPkg/Foundation/Guid/ConsoleOutDevice/ConsoleOutDevice.c new file mode 100644 index 0000000000..b546f6d574 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/ConsoleOutDevice/ConsoleOutDevice.c @@ -0,0 +1,27 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ ConsoleOutDevice.c
+
+Abstract:
+
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION(ConsoleOutDevice)
+
+
+EFI_GUID gEfiConsoleOutDeviceGuid = EFI_CONSOLE_OUT_DEVICE_GUID;
+
+EFI_GUID_STRING(&gEfiConsoleOutDeviceGuid, "Console Out Device Guid", "EFI Console Out Device Guid");
diff --git a/EdkCompatibilityPkg/Foundation/Guid/ConsoleOutDevice/ConsoleOutDevice.h b/EdkCompatibilityPkg/Foundation/Guid/ConsoleOutDevice/ConsoleOutDevice.h new file mode 100644 index 0000000000..7eff36a842 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/ConsoleOutDevice/ConsoleOutDevice.h @@ -0,0 +1,29 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ ConsoleOutDevice.h
+
+Abstract:
+
+
+--*/
+
+#ifndef _CONSOLE_OUT_DEVICE_H_
+#define _CONSOLE_OUT_DEVICE_H_
+
+#define EFI_CONSOLE_OUT_DEVICE_GUID \
+ { 0xd3b36f2c, 0xd551, 0x11d4, 0x9a, 0x46, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d }
+
+extern EFI_GUID gEfiConsoleOutDeviceGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf b/EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf new file mode 100644 index 0000000000..c9465c50ec --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf @@ -0,0 +1,98 @@ +#/*++
+#
+# Copyright (c) 2004 - 2007, Intel Corporation
+# All rights reserved. This program and the accompanying materials
+# are licensed and made available under the terms and conditions of the BSD License
+# which accompanies this distribution. The full text of the license may be found at
+# http://opensource.org/licenses/bsd-license.php
+#
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+#
+# Module Name:
+#
+# EdkGuidLib.inf
+#
+# Abstract:
+#
+# Component description file for the Edk Guid library.
+#
+#--*/
+[defines]
+BASE_NAME= EdkGuidLib
+COMPONENT_TYPE= LIBRARY
+
+[includes.common]
+ $(EDK_SOURCE)\Foundation
+ $(EDK_SOURCE)\Foundation\Framework
+ $(EDK_SOURCE)\Foundation\Efi
+ $(EDK_SOURCE)\Foundation\Include
+ $(EDK_SOURCE)\Foundation\Efi\Include
+ $(EDK_SOURCE)\Foundation\Framework\Include
+ $(EDK_SOURCE)\Foundation\Include\IndustryStandard
+ $(EDK_SOURCE)
+ $(EDK_SOURCE)\Foundation\Core\Dxe
+ $(EDK_SOURCE)\Foundation\Include\Pei
+ $(EDK_SOURCE)\Foundation\Library\Pei\Include
+
+[nmake.common]
+
+[sources.common]
+ AcpiDescription\AcpiDescription.h
+ AcpiDescription\AcpiDescription.c
+ AlternateFvBlock\AlternateFvBlock.h
+ AlternateFvBlock\AlternateFvBlock.c
+ Bmp\Bmp.h
+ Bmp\Bmp.c
+ BootState\BootState.h
+ BootState\BootState.c
+ Capsule\Capsule.h
+ Capsule\Capsule.c
+ CompatibleMemoryTested\CompatibleMemoryTested.h
+ CompatibleMemoryTested\CompatibleMemoryTested.c
+ ConsoleInDevice\ConsoleInDevice.h
+ ConsoleInDevice\ConsoleInDevice.c
+ ConsoleOutDevice\ConsoleOutDevice.h
+ ConsoleOutDevice\ConsoleOutDevice.c
+ EfiShell\EfiShell.h
+ EfiShell\EfiShell.c
+ FlashMapHob\FlashMapHob.h
+ FlashMapHob\FlashMapHob.c
+ HotPlugDevice\HotPlugDevice.h
+ HotPlugDevice\HotPlugDevice.c
+ IoBaseHob\IoBaseHob.h
+ IoBaseHob\IoBaseHob.c
+ MemoryTypeInformation\MemoryTypeInformation.h
+ MemoryTypeInformation\MemoryTypeInformation.c
+ PciHotPlugDevice\PciHotPlugDevice.h
+ PciHotPlugDevice\PciHotPlugDevice.c
+ PciOptionRomTable\PciOptionRomTable.h
+ PciOptionRomTable\PciOptionRomTable.c
+ PciExpressBaseAddress\PciExpressBaseAddress.h
+ PciExpressBaseAddress\PciExpressBaseAddress.c
+ PeiFlushInstructionCache\PeiFlushInstructionCache.h
+ PeiFlushInstructionCache\PeiFlushInstructionCache.c
+ PeiPeCoffLoader\PeiPeCoffLoader.h
+ PeiPeCoffLoader\PeiPeCoffLoader.c
+ PeiPerformanceHob\PeiPerformanceHob.h
+ PeiPerformanceHob\PeiPerformanceHob.c
+ PeiTransferControl\PeiTransferControl.h
+ PeiTransferControl\PeiTransferControl.c
+ PrimaryConsoleInDevice\PrimaryConsoleInDevice.h
+ PrimaryConsoleInDevice\PrimaryConsoleInDevice.c
+ PrimaryConsoleOutDevice\PrimaryConsoleOutDevice.h
+ PrimaryConsoleOutDevice\PrimaryConsoleOutDevice.c
+ PrimaryStandardErrorDevice\PrimaryStandardErrorDevice.h
+ PrimaryStandardErrorDevice\PrimaryStandardErrorDevice.c
+ StandardErrorDevice\StandardErrorDevice.h
+ StandardErrorDevice\StandardErrorDevice.c
+ StatusCode\StatusCode.h
+ StatusCode\StatusCode.c
+ StatusCodeCallerId\StatusCodeCallerId.h
+ StatusCodeCallerId\StatusCodeCallerId.c
+ SystemNvDataGuid\SystemNvDataGuid.h
+ SystemNvDataGuid\SystemNvDataGuid.c
+ EventLegacyBios\EventLegacyBios.h
+ EventLegacyBios\EventLegacyBios.c
+ GenericVariable\GenericVariable.h
+ GenericVariable\GenericVariable.c
\ No newline at end of file diff --git a/EdkCompatibilityPkg/Foundation/Guid/EfiShell/EfiShell.c b/EdkCompatibilityPkg/Foundation/Guid/EfiShell/EfiShell.c new file mode 100644 index 0000000000..ee4ddb7c50 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/EfiShell/EfiShell.c @@ -0,0 +1,31 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ EfiShell.c
+
+Abstract:
+
+ FFS Filename for EFI Shell
+
+--*/
+
+#include "Tiano.h"
+
+#include EFI_GUID_DEFINITION (EfiShell)
+
+EFI_GUID gEfiShellFileGuid = EFI_SHELL_FILE_GUID;
+EFI_GUID gEfiMiniShellFileGuid = EFI_MINI_SHELL_FILE_GUID;
+
+EFI_GUID_STRING (&gEfiShellFileGuid, "EfiShell", "Efi Shell FFS file name GUID")
+EFI_GUID_STRING (&gEfiMiniShellFileGuid, "EfiMiniShell", "Efi Mini-Shell FFS file name GUID")
+
diff --git a/EdkCompatibilityPkg/Foundation/Guid/EfiShell/EfiShell.h b/EdkCompatibilityPkg/Foundation/Guid/EfiShell/EfiShell.h new file mode 100644 index 0000000000..a3b76d3c29 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/EfiShell/EfiShell.h @@ -0,0 +1,34 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ EfiShell.h
+
+Abstract:
+
+ FFS Filename for EFI Shell
+
+--*/
+
+#ifndef _EFI_SHELL_H_
+#define _EFI_SHELL_H_
+
+#define EFI_SHELL_FILE_GUID \
+ { 0xc57ad6b7, 0x0515, 0x40a8, 0x9d, 0x21, 0x55, 0x16, 0x52, 0x85, 0x4e, 0x37 }
+
+#define EFI_MINI_SHELL_FILE_GUID \
+ { 0x86ad232b, 0xd33a, 0x465c, 0xbf, 0x5f, 0x41, 0x37, 0xb, 0xa9, 0x2f, 0xe2 }
+
+extern EFI_GUID gEfiShellFileGuid;
+extern EFI_GUID gEfiMiniShellFileGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/EventLegacyBios/EventLegacyBios.c b/EdkCompatibilityPkg/Foundation/Guid/EventLegacyBios/EventLegacyBios.c new file mode 100644 index 0000000000..75da46b540 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/EventLegacyBios/EventLegacyBios.c @@ -0,0 +1,23 @@ +/*++
+
+Copyright (c) 2006, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ EfiLegacyBios.c
+
+--*/
+#include "Tiano.h"
+
+#include EFI_GUID_DEFINITION (EventLegacyBios)
+
+EFI_GUID gEfiEventLegacyBootGuid = EFI_EVENT_LEGACY_BOOT_GUID;
+
+EFI_GUID_STRING (&gEfiEventLegacyBootGuid, "EventLegacyBoot", "Event Legacy Boot GUID")
diff --git a/EdkCompatibilityPkg/Foundation/Guid/EventLegacyBios/EventLegacyBios.h b/EdkCompatibilityPkg/Foundation/Guid/EventLegacyBios/EventLegacyBios.h new file mode 100644 index 0000000000..648e2549f8 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/EventLegacyBios/EventLegacyBios.h @@ -0,0 +1,28 @@ +/** @file
+ GUID is the name of events used with CreateEventEx in order to be notified when the EFI boot manager is about to boot a legacy boot option. Events of this type are notificated just before Int19h is invoked.
+
+ Copyright (c) 2006, Intel Corporation
+ All rights reserved. This program and the accompanying materials
+ are licensed and made available under the terms and conditions of the BSD License
+ which accompanies this distribution. The full text of the license may be found at
+ http://opensource.org/licenses/bsd-license.php
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+ Module Name: EventLegacyBios.h
+
+ @par Revision Reference:
+ GUIDs defined in DXE CIS 0.91b.
+
+**/
+
+#ifndef __EVENT_LEGACY_BIOS_GUID_H__
+#define __EVENT_LEGACY_BIOS_GUID_H__
+
+#define EFI_EVENT_LEGACY_BOOT_GUID \
+ { 0x2a571201, 0x4966, 0x47f6, 0x8b, 0x86, 0xf3, 0x1e, 0x41, 0xf3, 0x2f, 0x10 }
+
+extern EFI_GUID gEfiEventLegacyBootGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/FlashMapHob/FlashMapHob.c b/EdkCompatibilityPkg/Foundation/Guid/FlashMapHob/FlashMapHob.c new file mode 100644 index 0000000000..2294280348 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/FlashMapHob/FlashMapHob.c @@ -0,0 +1,29 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ FlashMapHob.c
+
+Abstract:
+
+ GUIDs used for Flash Map HOB entries in the in the HOB list.
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION (FlashMapHob)
+
+
+EFI_GUID gEfiFlashMapHobGuid = EFI_FLASH_MAP_HOB_GUID;
+
+EFI_GUID_STRING (&gEfiFlashMapHobGuid, "Flash Map HOB", "Flash Map HOB GUID for HOB list");
+
diff --git a/EdkCompatibilityPkg/Foundation/Guid/FlashMapHob/FlashMapHob.h b/EdkCompatibilityPkg/Foundation/Guid/FlashMapHob/FlashMapHob.h new file mode 100644 index 0000000000..1676df2a5e --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/FlashMapHob/FlashMapHob.h @@ -0,0 +1,33 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ FlashMapHob.h
+
+Abstract:
+
+ GUID used for Flash Map HOB entries in the HOB list.
+
+--*/
+
+#ifndef _FLASH_MAP_HOB_GUID_H_
+#define _FLASH_MAP_HOB_GUID_H_
+
+//
+// Definitions for Flash Map
+//
+#define EFI_FLASH_MAP_HOB_GUID \
+ { 0xb091e7d2, 0x5a0, 0x4198, 0x94, 0xf0, 0x74, 0xb7, 0xb8, 0xc5, 0x54, 0x59 }
+
+extern EFI_GUID gEfiFlashMapHobGuid;
+
+#endif // _FLASH_MAP_HOB_GUID_H_
diff --git a/EdkCompatibilityPkg/Foundation/Guid/GenericVariable/GenericVariable.c b/EdkCompatibilityPkg/Foundation/Guid/GenericVariable/GenericVariable.c new file mode 100644 index 0000000000..e1dc76c1a4 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/GenericVariable/GenericVariable.c @@ -0,0 +1,27 @@ +/*++
+
+Copyright (c) 2007, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ GenericVariable.c
+
+Abstract:
+
+ The variable space Guid to pair with a Unicode string name to tag an EFI variable
+
+--*/
+
+#include "EfiSpec.h"
+#include EFI_GUID_DEFINITION (GenericVariable)
+
+EFI_GUID gEfiGenericVariableGuid = EFI_GENERIC_VARIABLE_GUID;
+
+EFI_GUID_STRING(&gEfiGenericVariableGuid, "GenericVariable", "Generic Variable GUID");
diff --git a/EdkCompatibilityPkg/Foundation/Guid/GenericVariable/GenericVariable.h b/EdkCompatibilityPkg/Foundation/Guid/GenericVariable/GenericVariable.h new file mode 100644 index 0000000000..d6b4f3e570 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/GenericVariable/GenericVariable.h @@ -0,0 +1,32 @@ +/*++
+
+Copyright (c) 2007, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ GenericVariable.h
+
+Abstract:
+
+ The variable space Guid to pair with a Unicode string name to tag an EFI variable
+
+--*/
+
+#ifndef _GENERIC_VARIABLE_H_
+#define _GENERIC_VARIABLE_H_
+
+#define EFI_GENERIC_VARIABLE_GUID \
+ { \
+ 0x59d1c24f, 0x50f1, 0x401a, 0xb1, 0x01, 0xf3, 0x3e, 0x0d, 0xae, 0xd4, 0x43 \
+ }
+
+extern EFI_GUID gEfiGenericVariableGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/HotPlugDevice/HotPlugDevice.c b/EdkCompatibilityPkg/Foundation/Guid/HotPlugDevice/HotPlugDevice.c new file mode 100644 index 0000000000..fda226a851 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/HotPlugDevice/HotPlugDevice.c @@ -0,0 +1,27 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ HotPlugDevice.c
+
+Abstract:
+
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION(HotPlugDevice)
+
+
+EFI_GUID gEfiHotPlugDeviceGuid = HOT_PLUG_DEVICE_GUID;
+
+EFI_GUID_STRING(&gEfiHotPlugDeviceGuid, "Hot Plug Device Guid", "Hot Plug Device Guid");
diff --git a/EdkCompatibilityPkg/Foundation/Guid/HotPlugDevice/HotPlugDevice.h b/EdkCompatibilityPkg/Foundation/Guid/HotPlugDevice/HotPlugDevice.h new file mode 100644 index 0000000000..0e7ebdea72 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/HotPlugDevice/HotPlugDevice.h @@ -0,0 +1,28 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ HotPlugDevice.h
+
+Abstract:
+
+
+--*/
+
+#ifndef _HOT_PLUG_DEVICE_H_
+#define _HOT_PLUG_DEVICE_H_
+
+#define HOT_PLUG_DEVICE_GUID \
+ { 0x220ac432, 0x1d43, 0x49e5, 0xa7, 0x4f, 0x4c, 0x9d, 0xa6, 0x7a, 0xd2, 0x3b }
+
+extern EFI_GUID gEfiHotPlugDeviceGuid;
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/IoBaseHob/IoBaseHob.c b/EdkCompatibilityPkg/Foundation/Guid/IoBaseHob/IoBaseHob.c new file mode 100644 index 0000000000..f42089b34d --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/IoBaseHob/IoBaseHob.c @@ -0,0 +1,29 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ IoBaseHob.c
+
+Abstract:
+
+ GUIDs used for IoBase HOB entries in the in the HOB list.
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION(IoBaseHob)
+
+
+EFI_GUID gEfiIoBaseHobGuid = EFI_IOBASE_HOB_GUID;
+
+EFI_GUID_STRING(&gEfiIoBaseHobGuid, "IOBASE HOB", "IOBASE HOB GUID for HOB list.");
+
diff --git a/EdkCompatibilityPkg/Foundation/Guid/IoBaseHob/IoBaseHob.h b/EdkCompatibilityPkg/Foundation/Guid/IoBaseHob/IoBaseHob.h new file mode 100644 index 0000000000..e55f2b129c --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/IoBaseHob/IoBaseHob.h @@ -0,0 +1,30 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ IoBaseHob.h
+
+Abstract:
+
+ GUID used for IoBase HOB entries in the HOB list.
+
+--*/
+
+#ifndef _IOBASE_GUID_H_
+#define _IOBASE_GUID_H_
+
+#define EFI_IOBASE_HOB_GUID \
+{ 0xd4a28a3e, 0xdcf2, 0x43cf, 0xa2, 0xb7, 0xf3, 0x57, 0x2a, 0x7c, 0xab, 0x9 }
+
+extern EFI_GUID gEfiIoBaseHobGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/MemoryTypeInformation/MemoryTypeInformation.c b/EdkCompatibilityPkg/Foundation/Guid/MemoryTypeInformation/MemoryTypeInformation.c new file mode 100644 index 0000000000..d39f635ae4 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/MemoryTypeInformation/MemoryTypeInformation.c @@ -0,0 +1,29 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ MemoryTypeInformation.c
+
+Abstract:
+
+ GUID used for Memory Type Information entries in the HOB list.
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION(MemoryTypeInformation)
+
+EFI_GUID gEfiMemoryTypeInformationGuid = EFI_MEMORY_TYPE_INFORMATION_GUID;
+
+EFI_GUID_STRING(&gEfiMemoryTypeInformationGuid, "Memory Type Information",
+ "Memory Type Information HOB GUID for HOB list.");
+
diff --git a/EdkCompatibilityPkg/Foundation/Guid/MemoryTypeInformation/MemoryTypeInformation.h b/EdkCompatibilityPkg/Foundation/Guid/MemoryTypeInformation/MemoryTypeInformation.h new file mode 100644 index 0000000000..d85c84374e --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/MemoryTypeInformation/MemoryTypeInformation.h @@ -0,0 +1,37 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ MemoryTypeInformation.h
+
+Abstract:
+
+ GUID used for Memory Type Information entries in the HOB list.
+
+--*/
+
+#ifndef _MEMORY_TYPE_INFORMATION_GUID_H_
+#define _MEMORY_TYPE_INFORMATION_GUID_H_
+
+#define EFI_MEMORY_TYPE_INFORMATION_GUID \
+ { 0x4c19049f,0x4137,0x4dd3,0x9c,0x10,0x8b,0x97,0xa8,0x3f,0xfd,0xfa }
+
+#define EFI_MEMORY_TYPE_INFORMATION_VARIABLE_NAME L"MemoryTypeInformation"
+
+extern EFI_GUID gEfiMemoryTypeInformationGuid;
+
+typedef struct {
+ UINT32 Type;
+ UINT32 NumberOfPages;
+} EFI_MEMORY_TYPE_INFORMATION;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PciExpressBaseAddress/PciExpressBaseAddress.c b/EdkCompatibilityPkg/Foundation/Guid/PciExpressBaseAddress/PciExpressBaseAddress.c new file mode 100644 index 0000000000..d2ae68bf3e --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PciExpressBaseAddress/PciExpressBaseAddress.c @@ -0,0 +1,28 @@ +/*++
+
+Copyright (c) 2006, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PciExpressBaseAddress.c
+
+Abstract:
+
+
+ GUIDs used for PciExpress Base Address
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION (PciExpressBaseAddress)
+
+EFI_GUID gEfiPciExpressBaseAddressGuid = EFI_PCI_EXPRESS_BASE_ADDRESS_GUID;
+
+EFI_GUID_STRING(&gEfiPciExpressBaseAddressGuid, "PCI Express Base Address", "PCI Express Base Address GUID");
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PciExpressBaseAddress/PciExpressBaseAddress.h b/EdkCompatibilityPkg/Foundation/Guid/PciExpressBaseAddress/PciExpressBaseAddress.h new file mode 100644 index 0000000000..0625b3e147 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PciExpressBaseAddress/PciExpressBaseAddress.h @@ -0,0 +1,46 @@ +/*++
+
+Copyright (c) 2006, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PciExpressBaseAddress.h
+
+Abstract:
+
+
+ GUIDs used for PciExpress Base Address
+
+--*/
+
+#ifndef _EFI_PCI_EXPRESS_BASE_ADDRESS_H_
+#define _EFI_PCI_EXPRESS_BASE_ADDRESS_H_
+
+#define EFI_PCI_EXPRESS_BASE_ADDRESS_GUID \
+ { \
+ 0x3677d529, 0x326f, 0x4603, 0xa9, 0x26, 0xea, 0xac, 0xe0, 0x1d, 0xcb, 0xb0 \
+ }
+
+//
+// Following structure defines PCI Express Base Address information.
+// This information is platform specific, and built into hob in PEI phase.
+// It can be consumed by PEI PCI driver and DXE PCI driver.
+//
+#pragma pack(1)
+typedef struct _EFI_PCI_EXPRESS_BASE_ADDRESS_INFORMATION {
+ UINT32 HostBridgeNumber;
+ UINT32 RootBridgeNumber;
+ UINT64 PciExpressBaseAddress;
+} EFI_PCI_EXPRESS_BASE_ADDRESS_INFORMATION;
+#pragma pack()
+
+extern EFI_GUID gEfiPciExpressBaseAddressGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PciHotPlugDevice/PciHotplugDevice.c b/EdkCompatibilityPkg/Foundation/Guid/PciHotPlugDevice/PciHotplugDevice.c new file mode 100644 index 0000000000..a0b884c730 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PciHotPlugDevice/PciHotplugDevice.c @@ -0,0 +1,29 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PciHotplugDevice.c
+
+Abstract:
+
+
+ GUIDs used to indicate the device is Pccard hotplug device
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION(PciHotplugDevice)
+
+
+EFI_GUID gEfiPciHotplugDeviceGuid = EFI_PCI_HOTPLUG_DEVICE_GUID;
+
+EFI_GUID_STRING(&gEfiPciHotplugDeviceGuid, "PCI Hotplug Device", "PCI Hotplug Device GUID in EFI System Table");
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PciHotPlugDevice/PciHotplugDevice.h b/EdkCompatibilityPkg/Foundation/Guid/PciHotPlugDevice/PciHotplugDevice.h new file mode 100644 index 0000000000..dafcf1e6cf --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PciHotPlugDevice/PciHotplugDevice.h @@ -0,0 +1,30 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PciHotplugDevice.h
+
+Abstract:
+
+ GUIDs used to indicate the device is Pccard hotplug device
+
+--*/
+
+#ifndef _PCI_HOTPLUG_DEVICE_GUID_H_
+#define _PCI_HOTPLUG_DEVICE_GUID_H_
+
+#define EFI_PCI_HOTPLUG_DEVICE_GUID \
+ { 0x0b280816, 0x52e7, 0x4e51, 0xaa, 0x57, 0x11, 0xbd, 0x41, 0xcb, 0xef, 0xc3 }
+
+extern EFI_GUID gEfiPciHotplugDeviceGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PciOptionRomTable/PciOptionRomTable.c b/EdkCompatibilityPkg/Foundation/Guid/PciOptionRomTable/PciOptionRomTable.c new file mode 100644 index 0000000000..436c805b73 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PciOptionRomTable/PciOptionRomTable.c @@ -0,0 +1,27 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PciOptionRomTable.c
+
+Abstract:
+
+ GUID and data structure used to describe the list of PCI Option ROMs present in a system.
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION(PciOptionRomTable)
+
+EFI_GUID gEfiPciOptionRomTableGuid = EFI_PCI_OPTION_ROM_TABLE_GUID;
+
+EFI_GUID_STRING(&gEfiPciOptionRomTableGuid, "PCI Option ROM Table", "PCI Option ROM Table GUID in EFI System Table");
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PciOptionRomTable/PciOptionRomTable.h b/EdkCompatibilityPkg/Foundation/Guid/PciOptionRomTable/PciOptionRomTable.h new file mode 100644 index 0000000000..5055ccc649 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PciOptionRomTable/PciOptionRomTable.h @@ -0,0 +1,46 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PciOptionRomTable.h
+
+Abstract:
+
+ GUID and data structure used to describe the list of PCI Option ROMs present in a system.
+
+--*/
+
+#ifndef _PCI_OPTION_ROM_TABLE_GUID_H_
+
+#define EFI_PCI_OPTION_ROM_TABLE_GUID \
+ { 0x7462660f, 0x1cbd, 0x48da, 0xad, 0x11, 0x91, 0x71, 0x79, 0x13, 0x83, 0x1c }
+
+extern EFI_GUID gEfiPciOptionRomTableGuid;
+
+typedef struct {
+ EFI_PHYSICAL_ADDRESS RomAddress;
+ EFI_MEMORY_TYPE MemoryType;
+ UINT32 RomLength;
+ UINT32 Seg;
+ UINT8 Bus;
+ UINT8 Dev;
+ UINT8 Func;
+ BOOLEAN ExecutedLegacyBiosImage;
+ BOOLEAN DontLoadEfiRom;
+} EFI_PCI_OPTION_ROM_DESCRIPTOR;
+
+typedef struct {
+ UINT64 PciOptionRomCount;
+ EFI_PCI_OPTION_ROM_DESCRIPTOR *PciOptionRomDescriptors;
+} EFI_PCI_OPTION_ROM_TABLE;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PeiFlushInstructionCache/PeiFlushInstructionCache.c b/EdkCompatibilityPkg/Foundation/Guid/PeiFlushInstructionCache/PeiFlushInstructionCache.c new file mode 100644 index 0000000000..967f944cf3 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PeiFlushInstructionCache/PeiFlushInstructionCache.c @@ -0,0 +1,29 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PeiFlushInstructionCache.c
+
+Abstract:
+
+ GUID for the Instruction Cache Flushing APIs shared between PEI and DXE
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION(PeiFlushInstructionCache)
+
+EFI_GUID gEfiPeiFlushInstructionCacheGuid = EFI_PEI_FLUSH_INSTRUCTION_CACHE_GUID;
+
+EFI_GUID_STRING(&gEfiPeiFlushInstructionCacheGuid, "PEI Flush Instruction Cache",
+ "Flush Instruction Cache APIs from PEI");
+
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PeiFlushInstructionCache/PeiFlushInstructionCache.h b/EdkCompatibilityPkg/Foundation/Guid/PeiFlushInstructionCache/PeiFlushInstructionCache.h new file mode 100644 index 0000000000..7bd6c8956c --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PeiFlushInstructionCache/PeiFlushInstructionCache.h @@ -0,0 +1,44 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PeiFlushInstructionCache.h
+
+Abstract:
+
+ GUID for the Instruction Cache Flushing APIs shared between PEI and DXE
+
+--*/
+
+#ifndef _PEI_FLUSH_INSTRUCTION_CACHE_GUID_H_
+#define _PEI_FLUSH_INSTRUCTION_CACHE_GUID_H_
+
+#define EFI_PEI_FLUSH_INSTRUCTION_CACHE_GUID \
+ { 0xd8117cfc, 0x94a6, 0x11d4, 0x9a, 0x3a, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d }
+
+EFI_FORWARD_DECLARATION (EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL);
+
+typedef
+EFI_STATUS
+(EFIAPI *EFI_PEI_FLUSH_INSTRUCTION_CACHE_FLUSH) (
+ IN EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL *This,
+ IN EFI_PHYSICAL_ADDRESS Start,
+ IN UINT64 Length
+ );
+
+typedef struct _EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL {
+ EFI_PEI_FLUSH_INSTRUCTION_CACHE_FLUSH Flush;
+} EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL;
+
+extern EFI_GUID gEfiPeiFlushInstructionCacheGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PeiPeCoffLoader/PeiPeCoffLoader.c b/EdkCompatibilityPkg/Foundation/Guid/PeiPeCoffLoader/PeiPeCoffLoader.c new file mode 100644 index 0000000000..517ee4aa0e --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PeiPeCoffLoader/PeiPeCoffLoader.c @@ -0,0 +1,28 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PeiPeCoffLoader.c
+
+Abstract:
+
+ GUID for the PE/COFF Loader APIs shared between PEI and DXE
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION(PeiPeCoffLoader)
+
+EFI_GUID gEfiPeiPeCoffLoaderGuid = EFI_PEI_PE_COFF_LOADER_GUID;
+
+EFI_GUID_STRING(&gEfiPeiPeCoffLoaderGuid, "PE/COFF Loader", "PE/COFF Loader APIs from PEI");
+
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PeiPeCoffLoader/PeiPeCoffLoader.h b/EdkCompatibilityPkg/Foundation/Guid/PeiPeCoffLoader/PeiPeCoffLoader.h new file mode 100644 index 0000000000..3589f31ff6 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PeiPeCoffLoader/PeiPeCoffLoader.h @@ -0,0 +1,116 @@ +/*++
+
+Copyright (c) 2005 - 2006, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PeiPeCoffLoader.h
+
+Abstract:
+
+ GUID for the PE/COFF Loader APIs shared between PEI and DXE
+
+--*/
+
+#ifndef _PEI_PE_COFF_LOADER_H_
+#define _PEI_PE_COFF_LOADER_H_
+
+#include "EfiImage.h"
+
+#define EFI_PEI_PE_COFF_LOADER_GUID \
+ { 0xd8117cff, 0x94a6, 0x11d4, 0x9a, 0x3a, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d }
+
+EFI_FORWARD_DECLARATION (EFI_PEI_PE_COFF_LOADER_PROTOCOL);
+
+#define EFI_IMAGE_ERROR_SUCCESS 0
+#define EFI_IMAGE_ERROR_IMAGE_READ 1
+#define EFI_IMAGE_ERROR_INVALID_PE_HEADER_SIGNATURE 2
+#define EFI_IMAGE_ERROR_INVALID_MACHINE_TYPE 3
+#define EFI_IMAGE_ERROR_INVALID_SUBSYSTEM 4
+#define EFI_IMAGE_ERROR_INVALID_IMAGE_ADDRESS 5
+#define EFI_IMAGE_ERROR_INVALID_IMAGE_SIZE 6
+#define EFI_IMAGE_ERROR_INVALID_SECTION_ALIGNMENT 7
+#define EFI_IMAGE_ERROR_SECTION_NOT_LOADED 8
+#define EFI_IMAGE_ERROR_FAILED_RELOCATION 9
+#define EFI_IMAGE_ERROR_FAILED_ICACHE_FLUSH 10
+
+typedef
+EFI_STATUS
+(EFIAPI *EFI_PEI_PE_COFF_LOADER_READ_FILE) (
+ IN VOID *FileHandle,
+ IN UINTN FileOffset,
+ IN OUT UINTN *ReadSize,
+ OUT VOID *Buffer
+ );
+
+typedef struct {
+ EFI_PHYSICAL_ADDRESS ImageAddress;
+ UINT64 ImageSize;
+ EFI_PHYSICAL_ADDRESS DestinationAddress;
+ EFI_PHYSICAL_ADDRESS EntryPoint;
+ EFI_PEI_PE_COFF_LOADER_READ_FILE ImageRead;
+ VOID *Handle;
+ VOID *FixupData;
+ UINT32 SectionAlignment;
+ UINT32 PeCoffHeaderOffset;
+ UINT32 DebugDirectoryEntryRva;
+ VOID *CodeView;
+ CHAR8 *PdbPointer;
+ UINTN SizeOfHeaders;
+ UINT32 ImageCodeMemoryType;
+ UINT32 ImageDataMemoryType;
+ UINT32 ImageError;
+ UINTN FixupDataSize;
+ UINT16 Machine;
+ UINT16 ImageType;
+ BOOLEAN RelocationsStripped;
+ BOOLEAN IsTeImage;
+#ifdef EFI_NT_EMULATOR
+ VOID **ModHandle;
+#endif
+} EFI_PEI_PE_COFF_LOADER_IMAGE_CONTEXT;
+
+typedef
+EFI_STATUS
+(EFIAPI *EFI_PEI_PE_COFF_LOADER_GET_IMAGE_INFO) (
+ IN EFI_PEI_PE_COFF_LOADER_PROTOCOL *This,
+ IN OUT EFI_PEI_PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
+ );
+
+typedef
+EFI_STATUS
+(EFIAPI *EFI_PEI_PE_COFF_LOADER_LOAD_IMAGE) (
+ IN EFI_PEI_PE_COFF_LOADER_PROTOCOL *This,
+ IN OUT EFI_PEI_PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
+ );
+
+typedef
+EFI_STATUS
+(EFIAPI *EFI_PEI_PE_COFF_LOADER_RELOCATE_IMAGE) (
+ IN EFI_PEI_PE_COFF_LOADER_PROTOCOL *This,
+ IN OUT EFI_PEI_PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
+ );
+
+typedef
+EFI_STATUS
+(EFIAPI *EFI_PEI_PE_COFF_LOADER_UNLOAD_IMAGE) (
+ IN EFI_PEI_PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
+ );
+
+typedef struct _EFI_PEI_PE_COFF_LOADER_PROTOCOL {
+ EFI_PEI_PE_COFF_LOADER_GET_IMAGE_INFO GetImageInfo;
+ EFI_PEI_PE_COFF_LOADER_LOAD_IMAGE LoadImage;
+ EFI_PEI_PE_COFF_LOADER_RELOCATE_IMAGE RelocateImage;
+ EFI_PEI_PE_COFF_LOADER_UNLOAD_IMAGE UnloadImage;
+} EFI_PEI_PE_COFF_LOADER_PROTOCOL;
+
+extern EFI_GUID gEfiPeiPeCoffLoaderGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PeiPerformanceHob/PeiPerformanceHob.c b/EdkCompatibilityPkg/Foundation/Guid/PeiPerformanceHob/PeiPerformanceHob.c new file mode 100644 index 0000000000..1906a97f6a --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PeiPerformanceHob/PeiPerformanceHob.c @@ -0,0 +1,29 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ OemFvHob.c
+
+Abstract:
+
+ The GUID of the GUIDed HOB that represents the OEM FV block.
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION (PeiPerformanceHob)
+
+EFI_GUID gEfiPeiPerformanceHobGuid = EFI_PEI_PERFORMANCE_HOB_GUID;
+
+EFI_GUID_STRING (&gEfiPeiPerformanceHobGuid, "PEI Performance HOB",
+ "Guid for PEI Performance Measurement HOB");
+
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PeiPerformanceHob/PeiPerformanceHob.h b/EdkCompatibilityPkg/Foundation/Guid/PeiPerformanceHob/PeiPerformanceHob.h new file mode 100644 index 0000000000..7f9104fedf --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PeiPerformanceHob/PeiPerformanceHob.h @@ -0,0 +1,45 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PeiPerformanceHob.h
+
+Abstract:
+ The PEI performance HOB definition.
+
+--*/
+
+#ifndef _PEI_PERFORMANCE_HOB_GUID_H_
+#define _PEI_PERFORMANCE_HOB_GUID_H_
+
+
+#define EFI_PEI_PERFORMANCE_HOB_GUID \
+{0x10f432de, 0xdeec, 0x4631, 0x80, 0xcd, 0x47, 0xf6, 0x5d, 0x8f, 0x80, 0xbb}
+
+#define PEI_PERF_MAX_DESC_STRING 8
+
+typedef struct {
+ UINT64 StartTimeCount;
+ UINT64 StopTimeCount;
+ EFI_GUID Name;
+ UINT16 DescriptionString[PEI_PERF_MAX_DESC_STRING];
+} PEI_PERFORMANCE_MEASURE_LOG_ENTRY;
+
+typedef struct {
+ UINT32 NumberOfEntries;
+ UINT32 Reserved;
+ PEI_PERFORMANCE_MEASURE_LOG_ENTRY Log[1];
+} EFI_HOB_GUID_DATA_PERFORMANCE_LOG;
+
+extern EFI_GUID gEfiPeiPerformanceHobGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PeiTransferControl/PeiTransferControl.c b/EdkCompatibilityPkg/Foundation/Guid/PeiTransferControl/PeiTransferControl.c new file mode 100644 index 0000000000..ffd2b34cd9 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PeiTransferControl/PeiTransferControl.c @@ -0,0 +1,28 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PeiTransferControl.c
+
+Abstract:
+
+ GUID for the SetJump()/LongJump() APIs shared between PEI and DXE
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION(PeiTransferControl)
+
+EFI_GUID gEfiPeiTransferControlGuid = EFI_PEI_TRANSFER_CONTROL_GUID;
+
+EFI_GUID_STRING(&gEfiPeiTransferControlGuid, "Transfer Control", "Transfer Control APIs from PEI");
+
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PeiTransferControl/PeiTransferControl.h b/EdkCompatibilityPkg/Foundation/Guid/PeiTransferControl/PeiTransferControl.h new file mode 100644 index 0000000000..0ed5a0d7a8 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PeiTransferControl/PeiTransferControl.h @@ -0,0 +1,53 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PeiTransferControl.h
+
+Abstract:
+
+ GUID for the SetJump()/LongJump() APIs shared between PEI and DXE
+
+--*/
+
+#ifndef _PEI_TRANSFER_CONTROL_H_
+#define _PEI_TRANSFER_CONTROL_H_
+
+#define EFI_PEI_TRANSFER_CONTROL_GUID \
+ { 0xd8117d02, 0x94a6, 0x11d4, 0x9a, 0x3a, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d }
+
+
+EFI_FORWARD_DECLARATION (EFI_PEI_TRANSFER_CONTROL_PROTOCOL);
+
+typedef
+EFI_STATUS
+(EFIAPI *EFI_PEI_TRANSFER_CONTROL_SET_JUMP) (
+ IN EFI_PEI_TRANSFER_CONTROL_PROTOCOL *This,
+ OUT VOID *Context
+ );
+
+typedef
+EFI_STATUS
+(EFIAPI *EFI_PEI_TRANSFER_CONTROL_LONG_JUMP) (
+ IN EFI_PEI_TRANSFER_CONTROL_PROTOCOL *This,
+ IN VOID *Context
+ );
+
+typedef struct _EFI_PEI_TRANSFER_CONTROL_PROTOCOL {
+ EFI_PEI_TRANSFER_CONTROL_LONG_JUMP SetJump;
+ EFI_PEI_TRANSFER_CONTROL_LONG_JUMP LongJump;
+ UINT32 JumpContextSize;
+} EFI_PEI_TRANSFER_CONTROL_PROTOCOL;
+
+extern EFI_GUID gEfiPeiTransferControlGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PrimaryConsoleInDevice/PrimaryConsoleInDevice.c b/EdkCompatibilityPkg/Foundation/Guid/PrimaryConsoleInDevice/PrimaryConsoleInDevice.c new file mode 100644 index 0000000000..a59624785e --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PrimaryConsoleInDevice/PrimaryConsoleInDevice.c @@ -0,0 +1,28 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PrimaryConsoleInDevice.c
+
+Abstract:
+
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION(PrimaryConsoleInDevice)
+
+
+EFI_GUID gEfiPrimaryConsoleInDeviceGuid = EFI_PRIMARY_CONSOLE_IN_DEVICE_GUID;
+
+EFI_GUID_STRING(&gEfiPrimaryConsoleInDeviceGuid, "Primary Console In Device Guid",
+ "EFI Primary Conosle In Device Guid");
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PrimaryConsoleInDevice/PrimaryConsoleInDevice.h b/EdkCompatibilityPkg/Foundation/Guid/PrimaryConsoleInDevice/PrimaryConsoleInDevice.h new file mode 100644 index 0000000000..3681ef573f --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PrimaryConsoleInDevice/PrimaryConsoleInDevice.h @@ -0,0 +1,29 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PrimaryConsoleInDevice.h
+
+Abstract:
+
+
+--*/
+
+#ifndef _PRIMARY_CONSOLE_IN_DEVICE_H_
+#define _PRIMARY_CONSOLE_IN_DEVICE_H_
+
+#define EFI_PRIMARY_CONSOLE_IN_DEVICE_GUID \
+ { 0xe451dcbe, 0x96a1, 0x4729, 0xa5, 0xcf, 0x6b, 0x9c, 0x2c, 0xff, 0x47, 0xfd }
+
+extern EFI_GUID gEfiPrimaryConsoleInDeviceGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PrimaryConsoleOutDevice/PrimaryConsoleOutDevice.c b/EdkCompatibilityPkg/Foundation/Guid/PrimaryConsoleOutDevice/PrimaryConsoleOutDevice.c new file mode 100644 index 0000000000..8dd11a1f51 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PrimaryConsoleOutDevice/PrimaryConsoleOutDevice.c @@ -0,0 +1,26 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PrimaryConsoleOutDevice.c
+
+Abstract:
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION(PrimaryConsoleOutDevice)
+
+EFI_GUID gEfiPrimaryConsoleOutDeviceGuid = EFI_PRIMARY_CONSOLE_OUT_DEVICE_GUID;
+
+EFI_GUID_STRING(&gEfiPrimaryConsoleOutDeviceGuid, "Primary Console Out Device Guid",
+ "EFI Primary Console Out Device Guid");
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PrimaryConsoleOutDevice/PrimaryConsoleOutDevice.h b/EdkCompatibilityPkg/Foundation/Guid/PrimaryConsoleOutDevice/PrimaryConsoleOutDevice.h new file mode 100644 index 0000000000..d87cbbcdcb --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PrimaryConsoleOutDevice/PrimaryConsoleOutDevice.h @@ -0,0 +1,28 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PrimaryConsoleOutDevice.h
+
+Abstract:
+
+--*/
+
+#ifndef _PRIMARY_CONSOLE_OUT_DEVICE_H_
+#define _PRIMARY_CONSOLE_OUT_DEVICE_H_
+
+#define EFI_PRIMARY_CONSOLE_OUT_DEVICE_GUID \
+ { 0x62bdf38a, 0xe3d5, 0x492c, 0x95, 0xc, 0x23, 0xa7, 0xf6, 0x6e, 0x67, 0x2e }
+
+extern EFI_GUID gEfiPrimaryConsoleOutDeviceGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PrimaryStandardErrorDevice/PrimaryStandardErrorDevice.c b/EdkCompatibilityPkg/Foundation/Guid/PrimaryStandardErrorDevice/PrimaryStandardErrorDevice.c new file mode 100644 index 0000000000..23e0651493 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PrimaryStandardErrorDevice/PrimaryStandardErrorDevice.c @@ -0,0 +1,26 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PrimaryStandardErrorDevice.c
+
+Abstract:
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION(PrimaryStandardErrorDevice)
+
+EFI_GUID gEfiPrimaryStandardErrorDeviceGuid = EFI_PRIMARY_STANDARD_ERROR_DEVICE_GUID;
+
+EFI_GUID_STRING(&gEfiPrimaryStandardErrorDeviceGuid, "Primary Standard Error Device Guid",
+ "EFI Primary Standard Error Device Guid");
diff --git a/EdkCompatibilityPkg/Foundation/Guid/PrimaryStandardErrorDevice/PrimaryStandardErrorDevice.h b/EdkCompatibilityPkg/Foundation/Guid/PrimaryStandardErrorDevice/PrimaryStandardErrorDevice.h new file mode 100644 index 0000000000..15d53dfb7e --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/PrimaryStandardErrorDevice/PrimaryStandardErrorDevice.h @@ -0,0 +1,28 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ PrimaryStandardErrorDevice.h
+
+Abstract:
+
+--*/
+
+#ifndef _PRIMARY_STANDARD_ERROR_DEVICE_H_
+#define _PRIMARY_STANDARD_ERROR_DEVICE_H_
+
+#define EFI_PRIMARY_STANDARD_ERROR_DEVICE_GUID \
+ { 0x5a68191b, 0x9b97, 0x4752, 0x99, 0x46, 0xe3, 0x6a, 0x5d, 0xa9, 0x42, 0xb1 }
+
+extern EFI_GUID gEfiPrimaryStandardErrorDeviceGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/StandardErrorDevice/StandardErrorDevice.c b/EdkCompatibilityPkg/Foundation/Guid/StandardErrorDevice/StandardErrorDevice.c new file mode 100644 index 0000000000..8badd8ddb5 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/StandardErrorDevice/StandardErrorDevice.c @@ -0,0 +1,27 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ StandardErrorDevice.c
+
+Abstract:
+
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION(StandardErrorDevice)
+
+
+EFI_GUID gEfiStandardErrorDeviceGuid = EFI_STANDARD_ERROR_DEVICE_GUID;
+
+EFI_GUID_STRING(&gEfiStandardErrorDeviceGuid, "Standard Error Device Guid", "EFI Standard Error Device Guid");
diff --git a/EdkCompatibilityPkg/Foundation/Guid/StandardErrorDevice/StandardErrorDevice.h b/EdkCompatibilityPkg/Foundation/Guid/StandardErrorDevice/StandardErrorDevice.h new file mode 100644 index 0000000000..b8cadfdebb --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/StandardErrorDevice/StandardErrorDevice.h @@ -0,0 +1,29 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ StandardErrorDevice.h
+
+Abstract:
+
+
+--*/
+
+#ifndef _STANDARD_ERROR_DEVICE_H_
+#define _STANDARD_ERROR_DEVICE_H_
+
+#define EFI_STANDARD_ERROR_DEVICE_GUID \
+ { 0xd3b36f2d, 0xd551, 0x11d4, 0x9a, 0x46, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d }
+
+extern EFI_GUID gEfiStandardErrorDeviceGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/StatusCode/StatusCode.c b/EdkCompatibilityPkg/Foundation/Guid/StatusCode/StatusCode.c new file mode 100644 index 0000000000..5c75cf0b28 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/StatusCode/StatusCode.c @@ -0,0 +1,28 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ StatusCode.c
+
+Abstract:
+
+ GUIDs used to identify Data Hub records that originate from the Tiano
+ ReportStatusCode API.
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION (StatusCode)
+
+EFI_GUID gEfiStatusCodeGuid = EFI_STATUS_CODE_GUID;
+
+EFI_GUID_STRING(&gEfiStatusCodeGuid, "Status Code", "Data Hub record for Tiano ReportStatusCode API");
diff --git a/EdkCompatibilityPkg/Foundation/Guid/StatusCode/StatusCode.h b/EdkCompatibilityPkg/Foundation/Guid/StatusCode/StatusCode.h new file mode 100644 index 0000000000..8953bb040e --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/StatusCode/StatusCode.h @@ -0,0 +1,33 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ StatusCode.h
+
+Abstract:
+
+ GUID used to identify Data Hub records that originate from the Tiano
+ ReportStatusCode API.
+
+--*/
+
+#ifndef _STATUS_CODE_H__
+#define _STATUS_CODE_H__
+
+#define EFI_STATUS_CODE_GUID \
+ { \
+ 0xd083e94c, 0x6560, 0x42e4, 0xb6, 0xd4, 0x2d, 0xf7, 0x5a, 0xdf, 0x6a, 0x2a \
+ }
+
+extern EFI_GUID gEfiStatusCodeGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/StatusCodeCallerId/StatusCodeCallerId.c b/EdkCompatibilityPkg/Foundation/Guid/StatusCodeCallerId/StatusCodeCallerId.c new file mode 100644 index 0000000000..87d979f984 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/StatusCodeCallerId/StatusCodeCallerId.c @@ -0,0 +1,27 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ StatusCodeCallerId.c
+
+Abstract:
+
+ GUID used to identify id for the caller who is initiating the Status Code.
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION (StatusCodeCallerId)
+
+EFI_GUID gEfiCallerIdGuid = EFI_STANDARD_CALLER_ID_GUID;
+
+EFI_GUID_STRING(&gEfiCallerIdGuid, "Status Code Caller Id", "Caller Id for Tiano ReportStatusCode API");
diff --git a/EdkCompatibilityPkg/Foundation/Guid/StatusCodeCallerId/StatusCodeCallerId.h b/EdkCompatibilityPkg/Foundation/Guid/StatusCodeCallerId/StatusCodeCallerId.h new file mode 100644 index 0000000000..964bb83129 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/StatusCodeCallerId/StatusCodeCallerId.h @@ -0,0 +1,37 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ StatusCodeCallerId.h
+
+Abstract:
+
+ GUID used to identify id for the caller who is initiating the Status Code.
+
+--*/
+
+#ifndef _STATUS_CODE_CALLER_ID_H__
+#define _STATUS_CODE_CALLER_ID_H__
+
+#include "EfiStatusCode.h"
+
+#ifndef EFI_STANDARD_CALLER_ID_GUID
+
+#define EFI_STANDARD_CALLER_ID_GUID \
+ {0xC9DCF469, 0xA7C4, 0x11D5, 0x87, 0xDA, 0x00, 0x06, 0x29, 0x45, 0xC3, 0xB9}
+
+#endif
+
+extern EFI_GUID gEfiCallerIdGuid;
+
+
+#endif
diff --git a/EdkCompatibilityPkg/Foundation/Guid/SystemNvDataGuid/SystemNvDataGuid.c b/EdkCompatibilityPkg/Foundation/Guid/SystemNvDataGuid/SystemNvDataGuid.c new file mode 100644 index 0000000000..59f563372f --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/SystemNvDataGuid/SystemNvDataGuid.c @@ -0,0 +1,32 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ SystemNvDataGuid.c
+
+Abstract:
+
+ GUIDs used for System Non Volatile HOB entries in the in the HOB list and FV Guids carrying
+ the System specific information.
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION(SystemNvDataGuid)
+
+
+EFI_GUID gEfiSystemNvDataHobGuid = EFI_SYSTEM_NV_DATA_HOB_GUID;
+EFI_GUID gEfiSystemNvDataFvGuid = EFI_SYSTEM_NV_DATA_FV_GUID;
+
+EFI_GUID_STRING(&gEfiSystemNvDataHobGuid, "SYSTEM NV DATA HOB", "SYSTEM NV DATA HOB GUID for HOB list.");
+EFI_GUID_STRING(&gEfiSystemNvDataFvGuid, "SYSTEM NV DATA FV", "SYSTEM NV DATA FV GUID");
+
diff --git a/EdkCompatibilityPkg/Foundation/Guid/SystemNvDataGuid/SystemNvDataGuid.h b/EdkCompatibilityPkg/Foundation/Guid/SystemNvDataGuid/SystemNvDataGuid.h new file mode 100644 index 0000000000..ce3358d147 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Guid/SystemNvDataGuid/SystemNvDataGuid.h @@ -0,0 +1,45 @@ +/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ SystemNvDataGuid.h
+
+Abstract:
+
+ GUIDs used for System Non Volatile HOB entries in the in the HOB list and FV Guids carrying
+ the System specific information.
+
+--*/
+
+#ifndef _SYSTEM_NV_DATA_GUID_H_
+#define _SYSTEM_NV_DATA_GUID_H_
+
+#define EFI_SYSTEM_NV_DATA_FV_GUID \
+ {0xfff12b8d, 0x7696, 0x4c8b, 0xa9, 0x85, 0x27, 0x47, 0x7, 0x5b, 0x4f, 0x50}
+
+#define EFI_SYSTEM_NV_DATA_HOB_GUID \
+ {0xd6e5092d, 0xc7b2, 0x4872, 0xaf, 0x66, 0xfd, 0xc0, 0xe6, 0xf9, 0x5e, 0x78}
+
+typedef struct {
+ EFI_GUID SystemNvDataHobGuid;
+ EFI_GUID SystemNvDataFvGuid;
+ EFI_LBA StartLba;
+ UINTN StartLbaOffset;
+ EFI_LBA EndLba;
+ UINTN EndLbaOffset;
+ UINT32 DataTypeSignature;
+} NV_SYSTEM_DATA_GUID_TYPE;
+
+extern EFI_GUID gEfiSystemNvDataHobGuid;
+extern EFI_GUID gEfiSystemNvDataFvGuid;
+
+#endif
|