From ca4593c2dcde8ae8a5c48ccf41589e85451f6cf8 Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Wed, 27 Jul 2022 18:30:33 +0300 Subject: Drop UefiApplicationEntryPoint library from shell apps Signed-off-by: Konstantin Aladyshev --- Lessons/Lesson_13/README.md | 3 +-- Lessons/Lesson_13/UefiLessonsPkg/SimpleShellApp/SimpleShellApp.inf | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'Lessons/Lesson_13') diff --git a/Lessons/Lesson_13/README.md b/Lessons/Lesson_13/README.md index 0d42005..ffa7a40 100644 --- a/Lessons/Lesson_13/README.md +++ b/Lessons/Lesson_13/README.md @@ -32,13 +32,12 @@ With the necessary modifications the INF file would look like this: MdePkg/MdePkg.dec [LibraryClasses] - UefiApplicationEntryPoint UefiLib ShellCEntryLib ``` Main changes: - `ENTRY_POINT = ShellCEntryLib` is added to the `[Defines]` section -- `ShellCEntryLib` is added to the `[LibraryClasses]` section +- `ShellCEntryLib` is added to the `[LibraryClasses]` section instead of `UefiApplicationEntryPoint` In the end it works this way. Shell C library is the main UEFI app with the standard entry point: ``` diff --git a/Lessons/Lesson_13/UefiLessonsPkg/SimpleShellApp/SimpleShellApp.inf b/Lessons/Lesson_13/UefiLessonsPkg/SimpleShellApp/SimpleShellApp.inf index da3d49b..371b967 100644 --- a/Lessons/Lesson_13/UefiLessonsPkg/SimpleShellApp/SimpleShellApp.inf +++ b/Lessons/Lesson_13/UefiLessonsPkg/SimpleShellApp/SimpleShellApp.inf @@ -19,7 +19,6 @@ MdePkg/MdePkg.dec [LibraryClasses] - UefiApplicationEntryPoint UefiLib ShellCEntryLib -- cgit v1.2.3-18-g5258