Skip to content

Update 42_write_uefi_application_entry_point.md #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions 4_uefi_applications/42_write_uefi_application_entry_point.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading