From 20a2298b393807c2eba0f6768b2fde5bf2036eb0 Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Tue, 13 Jul 2021 11:20:31 +0300 Subject: Reorder library lessons Signed-off-by: Konstantin Aladyshev --- .../SimpleLibraryWithConstructor.c | 18 ------------------ .../SimpleLibraryWithConstructor.inf | 16 ---------------- 2 files changed, 34 deletions(-) delete mode 100644 Lessons/Lesson_37/UefiLessonsPkg/Library/SimpleLibraryWithConstructor/SimpleLibraryWithConstructor.c delete mode 100644 Lessons/Lesson_37/UefiLessonsPkg/Library/SimpleLibraryWithConstructor/SimpleLibraryWithConstructor.inf (limited to 'Lessons/Lesson_37/UefiLessonsPkg/Library/SimpleLibraryWithConstructor') diff --git a/Lessons/Lesson_37/UefiLessonsPkg/Library/SimpleLibraryWithConstructor/SimpleLibraryWithConstructor.c b/Lessons/Lesson_37/UefiLessonsPkg/Library/SimpleLibraryWithConstructor/SimpleLibraryWithConstructor.c deleted file mode 100644 index 5ade80e..0000000 --- a/Lessons/Lesson_37/UefiLessonsPkg/Library/SimpleLibraryWithConstructor/SimpleLibraryWithConstructor.c +++ /dev/null @@ -1,18 +0,0 @@ -#include -#include - -UINTN Plus2(UINTN number) { - return number+2; -} - -EFI_STATUS -EFIAPI -SimpleLibraryConstructor( - IN EFI_HANDLE ImageHandle, - IN EFI_SYSTEM_TABLE *SystemTable - ) -{ - Print(L"Hello from library constructor!\n"); - return EFI_SUCCESS; -} - diff --git a/Lessons/Lesson_37/UefiLessonsPkg/Library/SimpleLibraryWithConstructor/SimpleLibraryWithConstructor.inf b/Lessons/Lesson_37/UefiLessonsPkg/Library/SimpleLibraryWithConstructor/SimpleLibraryWithConstructor.inf deleted file mode 100644 index fc56624..0000000 --- a/Lessons/Lesson_37/UefiLessonsPkg/Library/SimpleLibraryWithConstructor/SimpleLibraryWithConstructor.inf +++ /dev/null @@ -1,16 +0,0 @@ -[Defines] - INF_VERSION = 1.25 - BASE_NAME = SimpleLibraryWithConstructor - FILE_GUID = 96952c1e-86a6-4700-96b0-e7303ac3f92d - MODULE_TYPE = UEFI_APPLICATION - VERSION_STRING = 1.0 - LIBRARY_CLASS = SimpleLibrary | UEFI_APPLICATION - CONSTRUCTOR = SimpleLibraryConstructor - -[Sources] - SimpleLibraryWithConstructor.c - -[Packages] - MdePkg/MdePkg.dec - UefiLessonsPkg/UefiLessonsPkg.dec - -- cgit v1.2.3-18-g5258