From e427c030eff2979294e9a217ea4d20fb1264a1ff Mon Sep 17 00:00:00 2001 From: Ali Shirvani Date: Mon, 21 Dec 2020 09:39:53 +0330 Subject: [PATCH] Update 42_write_uefi_application_entry_point.md --- .../42_write_uefi_application_entry_point.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/4_uefi_applications/42_write_uefi_application_entry_point.md b/4_uefi_applications/42_write_uefi_application_entry_point.md index 0f6c090..4cd09de 100644 --- a/4_uefi_applications/42_write_uefi_application_entry_point.md +++ b/4_uefi_applications/42_write_uefi_application_entry_point.md @@ -39,23 +39,17 @@ Its prototype is list below: ``` EFI_STATUS EFIAPI -UefiMain ( +UefiMain (IN EFI_HANDLE ImageHandle, + IN EFI_SYSTEM_TABLE *SystemTable); ``` -`IN EFI_HANDLE` _ImageHandle_`,` - -`IN EFI_SYSTEM_TABLE `*_SystemTable_ - -`);` - As can be seen, there are two parameters for UEFI application entry point, `ImageHandle` and `SystemTable`. `ImageHandle` refers to the image handle of the UEFI application. `SystemTable` is the pointer to the EFI System Table. The following is a full UEFI_APPLICATION example located at - -$WORKSPACE\MdeModulePkg\Application\HelloWorld. It shows how to print a "UEFI +`$WORKSPACE\MdeModulePkg\Application\HelloWorld`. It shows how to print a "UEFI Hello World!" string to console. **********