From 0f10046a160249cbab1788b1582c556813283898 Mon Sep 17 00:00:00 2001 From: RaymondY Date: Sat, 23 Dec 2023 22:56:47 +0800 Subject: [PATCH] Update 42_write_uefi_application_entry_point.md Refine format --- .../42_write_uefi_application_entry_point.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 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..14cda1d 100644 --- a/4_uefi_applications/42_write_uefi_application_entry_point.md +++ b/4_uefi_applications/42_write_uefi_application_entry_point.md @@ -40,14 +40,11 @@ Its prototype is list below: EFI_STATUS EFIAPI 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 @@ -61,10 +58,9 @@ Hello World!" string to console. ********** **Note:** This application uses several pcds to demonstrate the usage of PCD. Readers can obtain the default value of these pcds from the +_$WORKSPACE\MdeModulePkg\MdeModulePkg.dec_ file. ********** -_$WORKSPACE\MdeModulePkg\MdeModulePkg.dec file._ - ```c EFI_STATUS EFIAPI