diff options
Diffstat (limited to 'Lesson_34/UefiLessonsPkg')
-rw-r--r-- | Lesson_34/UefiLessonsPkg/SimpleDriver/SimpleDriver.c | 26 | ||||
-rw-r--r-- | Lesson_34/UefiLessonsPkg/SimpleDriver/SimpleDriver.inf | 19 |
2 files changed, 0 insertions, 45 deletions
diff --git a/Lesson_34/UefiLessonsPkg/SimpleDriver/SimpleDriver.c b/Lesson_34/UefiLessonsPkg/SimpleDriver/SimpleDriver.c deleted file mode 100644 index fd96d17..0000000 --- a/Lesson_34/UefiLessonsPkg/SimpleDriver/SimpleDriver.c +++ /dev/null @@ -1,26 +0,0 @@ -#include <Library/UefiBootServicesTableLib.h> -#include <Library/UefiLib.h> - - -EFI_STATUS -EFIAPI -SimpleDriverUnload ( - EFI_HANDLE ImageHandle - ) -{ - Print(L"Bye-bye from driver!\n"); - - return EFI_SUCCESS; -} - -EFI_STATUS -EFIAPI -SimpleDriverEntryPoint ( - IN EFI_HANDLE ImageHandle, - IN EFI_SYSTEM_TABLE *SystemTable - ) -{ - Print(L"Hello from driver!\n"); - - return EFI_SUCCESS; -} diff --git a/Lesson_34/UefiLessonsPkg/SimpleDriver/SimpleDriver.inf b/Lesson_34/UefiLessonsPkg/SimpleDriver/SimpleDriver.inf deleted file mode 100644 index a6008c2..0000000 --- a/Lesson_34/UefiLessonsPkg/SimpleDriver/SimpleDriver.inf +++ /dev/null @@ -1,19 +0,0 @@ -[Defines] - INF_VERSION = 1.25 - BASE_NAME = SimpleDriver - FILE_GUID = 384aeb18-105d-4af1-bf17-5e349e8f4d4c - MODULE_TYPE = UEFI_DRIVER - VERSION_STRING = 1.0 - ENTRY_POINT = SimpleDriverEntryPoint - UNLOAD_IMAGE = SimpleDriverUnload - -[Sources] - SimpleDriver.c - -[Packages] - MdePkg/MdePkg.dec - -[LibraryClasses] - UefiDriverEntryPoint - UefiLib - |