render / rpms / edk2

Forked from rpms/edk2 2 months ago
Clone

Blame 0016-ArmPlatformPkg-introduce-fixed-PCD-for-early-hello-m.patch

Paolo Bonzini 348500
From 6734b88cf7abcaf42632e3d2fc469b2169dd2f16 Mon Sep 17 00:00:00 2001
Paolo Bonzini 348500
From: Laszlo Ersek <lersek@redhat.com>
Paolo Bonzini 348500
Date: Wed, 14 Oct 2015 13:49:43 +0200
Paolo Bonzini 348500
Subject: ArmPlatformPkg: introduce fixed PCD for early hello message (RH only)
Paolo Bonzini 348500
Paolo Bonzini 348500
Drew has proposed that ARM|AARCH64 platform firmware (especially virtual
Paolo Bonzini 348500
machine firmware) print a reasonably early, simple hello message to the
Paolo Bonzini 348500
serial port, regardless of debug mask settings. This should inform
Paolo Bonzini 348500
interactive users, and provide some rough help in localizing boot
Paolo Bonzini 348500
problems, even with restrictive debug masks.
Paolo Bonzini 348500
Paolo Bonzini 348500
If a platform doesn't want this feature, it should stick with the default
Paolo Bonzini 348500
empty string.
Paolo Bonzini 348500
Paolo Bonzini 348500
RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1270279
Paolo Bonzini 348500
Downstream only:
Paolo Bonzini 348500
<http://thread.gmane.org/gmane.comp.bios.edk2.devel/2996/focus=3433>.
Paolo Bonzini 348500
Paolo Bonzini 348500
Notes about the 20160608b-988715a -> 20170228-c325e41585e3 rebase:
Paolo Bonzini 348500
Paolo Bonzini 348500
- no changes
Paolo Bonzini 348500
Paolo Bonzini 348500
Notes about the 20170228-c325e41585e3 -> 20171011-92d07e48907f rebase:
Paolo Bonzini 348500
Paolo Bonzini 348500
- no changes
Paolo Bonzini 348500
Paolo Bonzini 348500
Suggested-by: Drew Jones <drjones@redhat.com>
Paolo Bonzini 348500
Contributed-under: TianoCore Contribution Agreement 1.0
Paolo Bonzini 348500
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Paolo Bonzini 348500
(cherry picked from commit 7ce97b06421434c82095f01a1753a8c9c546cc30)
Paolo Bonzini 348500
(cherry picked from commit 20b1f1cbd0590aa71c6d99d35e23cf08e0707750)
Paolo Bonzini 348500
---
Paolo Bonzini 348500
 ArmPlatformPkg/ArmPlatformPkg.dec | 7 +++++++
Paolo Bonzini 348500
 1 file changed, 7 insertions(+)
Paolo Bonzini 348500
Paolo Bonzini 348500
diff --git a/ArmPlatformPkg/ArmPlatformPkg.dec b/ArmPlatformPkg/ArmPlatformPkg.dec
Paolo Bonzini 348500
index 2d82ead..2380609 100644
Paolo Bonzini 348500
--- a/ArmPlatformPkg/ArmPlatformPkg.dec
Paolo Bonzini 348500
+++ b/ArmPlatformPkg/ArmPlatformPkg.dec
Paolo Bonzini 348500
@@ -126,6 +126,13 @@
Paolo Bonzini 348500
   gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L""|VOID*|0x0000001B
Paolo Bonzini 348500
   gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L""|VOID*|0x0000001C
Paolo Bonzini 348500
 
Paolo Bonzini 348500
+  #
Paolo Bonzini 348500
+  # Early hello message (ASCII string), printed to the serial port.
Paolo Bonzini 348500
+  # If set to the empty string, nothing is printed.
Paolo Bonzini 348500
+  # Otherwise, a trailing CRLF should be specified explicitly.
Paolo Bonzini 348500
+  #
Paolo Bonzini 348500
+  gArmPlatformTokenSpaceGuid.PcdEarlyHelloMessage|""|VOID*|0x00000100
Paolo Bonzini 348500
+
Paolo Bonzini 348500
 [PcdsFixedAtBuild.common,PcdsDynamic.common]
Paolo Bonzini 348500
   ## PL031 RealTimeClock
Paolo Bonzini 348500
   gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x0|UINT32|0x00000024
Paolo Bonzini 348500
-- 
Paolo Bonzini 348500
1.8.3.1
Paolo Bonzini 348500