aboutsummaryrefslogtreecommitdiffstats
path: root/Lesson_16/Ovmf.diff
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2021-07-10 00:04:40 +0300
committerKonstantin Aladyshev <aladyshev22@gmail.com>2021-07-10 00:04:40 +0300
commit6064c1e48b622f53538f4df9bdd402c607a87d51 (patch)
tree93d3c937b9568568307fd2ff7053a30c538ad72a /Lesson_16/Ovmf.diff
parenta9c375c80c3505be794ec2b5d5bb90de27ef0d42 (diff)
downloadUEFI-Lessons-6064c1e48b622f53538f4df9bdd402c607a87d51.tar.gz
UEFI-Lessons-6064c1e48b622f53538f4df9bdd402c607a87d51.tar.bz2
UEFI-Lessons-6064c1e48b622f53538f4df9bdd402c607a87d51.zip
Move lessons to separate folder
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Diffstat (limited to 'Lesson_16/Ovmf.diff')
-rw-r--r--Lesson_16/Ovmf.diff59
1 files changed, 0 insertions, 59 deletions
diff --git a/Lesson_16/Ovmf.diff b/Lesson_16/Ovmf.diff
deleted file mode 100644
index 01238c5..0000000
--- a/Lesson_16/Ovmf.diff
+++ /dev/null
@@ -1,59 +0,0 @@
-diff --git a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
-index b0e9742937..840e6afa16 100644
---- a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
-+++ b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
-@@ -1535,6 +1535,13 @@ PlatformBootManagerAfterConsole (
- &gUefiShellFileGuid, L"EFI Internal Shell", LOAD_OPTION_ACTIVE
- );
-
-+ //
-+ // Register HelloWorld app
-+ //
-+ PlatformRegisterFvBootOption (
-+ &gHelloWorldFileGuid, L"Hello World", LOAD_OPTION_ACTIVE
-+ );
-+
- RemoveStaleFvFileOptions ();
- SetBootOrderFromQemu ();
-
-diff --git a/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf b/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
-index e470b9a6a3..62ae7be761 100644
---- a/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
-+++ b/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
-@@ -33,6 +33,7 @@
- OvmfPkg/OvmfPkg.dec
- SecurityPkg/SecurityPkg.dec
- ShellPkg/ShellPkg.dec
-+ UefiLessonsPkg/UefiLessonsPkg.dec
-
- [LibraryClasses]
- BaseLib
-@@ -83,3 +84,4 @@
- gEfiGlobalVariableGuid
- gRootBridgesConnectedEventGroupGuid
- gUefiShellFileGuid
-+ gHelloWorldFileGuid
-diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
-index 0a237a9058..51eba5e225 100644
---- a/OvmfPkg/OvmfPkgX64.dsc
-+++ b/OvmfPkg/OvmfPkgX64.dsc
-@@ -951,6 +951,7 @@
- gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
- gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
- }
-+ UefiLessonsPkg/HelloWorld/HelloWorld.inf
-
- !if $(SECURE_BOOT_ENABLE) == TRUE
- SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
-diff --git a/OvmfPkg/OvmfPkgX64.fdf b/OvmfPkg/OvmfPkgX64.fdf
-index 5fa8c08958..ab4e021452 100644
---- a/OvmfPkg/OvmfPkgX64.fdf
-+++ b/OvmfPkg/OvmfPkgX64.fdf
-@@ -308,6 +308,7 @@ INF ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf
- INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
- !endif
- INF ShellPkg/Application/Shell/Shell.inf
-+INF UefiLessonsPkg/HelloWorld/HelloWorld.inf
-
- INF MdeModulePkg/Logo/LogoDxe.inf
-