]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg/ArmVirtualizationPkg: introduce gEarlyPL011BaseAddressGuid
authorLaszlo Ersek <lersek@redhat.com>
Thu, 18 Sep 2014 18:06:22 +0000 (18:06 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 18 Sep 2014 18:06:22 +0000 (18:06 +0000)
This GUID will identify a customized HOB that carries the base address of
the PL011 serial port, for clients that cannot access PCDs.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-By: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16139 6f19259b-4bc3-4df7-8a09-765794883524

ArmPlatformPkg/ArmVirtualizationPkg/ArmVirtualizationPkg.dec
ArmPlatformPkg/ArmVirtualizationPkg/Include/Guid/EarlyPL011BaseAddress.h [new file with mode: 0644]

index 8d51182d716b06bae63b848bcb13ed10ea951b9c..c07fce94a4797700550eb130edc11fb24050b02b 100644 (file)
@@ -32,6 +32,7 @@
 \r
 [Guids.common]\r
   gArmVirtualizationTokenSpaceGuid = { 0x0B6F5CA7, 0x4F53, 0x445A, { 0xB7, 0x6E, 0x2E, 0x36, 0x5B, 0x80, 0x63, 0x66 } }\r
+  gEarlyPL011BaseAddressGuid       = { 0xB199DEA9, 0xFD5C, 0x4A84, { 0x80, 0x82, 0x2F, 0x41, 0x70, 0x78, 0x03, 0x05 } }\r
 \r
 [PcdsFixedAtBuild]\r
   #\r
diff --git a/ArmPlatformPkg/ArmVirtualizationPkg/Include/Guid/EarlyPL011BaseAddress.h b/ArmPlatformPkg/ArmVirtualizationPkg/Include/Guid/EarlyPL011BaseAddress.h
new file mode 100644 (file)
index 0000000..1b703a8
--- /dev/null
@@ -0,0 +1,27 @@
+/** @file\r
+  GUID for the HOB that caches the base address of the PL011 serial port, for\r
+  when PCD access is not available.\r
+\r
+  Copyright (C) 2014, Red Hat, Inc.\r
+\r
+  This program and the accompanying materials are licensed and made available\r
+  under the terms and conditions of the BSD License that accompanies this\r
+  distribution. The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php.\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
+  WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __EARLY_PL011_BASE_ADDRESS_H__\r
+#define __EARLY_PL011_BASE_ADDRESS_H__\r
+\r
+#define EARLY_PL011_BASE_ADDRESS_GUID { \\r
+          0xB199DEA9, 0xFD5C, 0x4A84, \\r
+          { 0x80, 0x82, 0x2F, 0x41, 0x70, 0x78, 0x03, 0x05 } \\r
+        }\r
+\r
+extern EFI_GUID gEarlyPL011BaseAddressGuid;\r
+\r
+#endif\r