aboutsummaryrefslogtreecommitdiffstats
path: root/Lessons/Lesson_13
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2022-07-27 18:30:33 +0300
committerKonstantin Aladyshev <aladyshev22@gmail.com>2022-07-27 18:30:33 +0300
commitca4593c2dcde8ae8a5c48ccf41589e85451f6cf8 (patch)
tree3d9b8f36d306866d92e50a76e6dd49d2d48bb4bd /Lessons/Lesson_13
parent75181f2bb493f03d3202a2491aa565fc6eac7343 (diff)
downloadUEFI-Lessons-ca4593c2dcde8ae8a5c48ccf41589e85451f6cf8.tar.gz
UEFI-Lessons-ca4593c2dcde8ae8a5c48ccf41589e85451f6cf8.tar.bz2
UEFI-Lessons-ca4593c2dcde8ae8a5c48ccf41589e85451f6cf8.zip
Drop UefiApplicationEntryPoint library from shell apps
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Diffstat (limited to 'Lessons/Lesson_13')
-rw-r--r--Lessons/Lesson_13/README.md3
-rw-r--r--Lessons/Lesson_13/UefiLessonsPkg/SimpleShellApp/SimpleShellApp.inf1
2 files changed, 1 insertions, 3 deletions
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