Skip to content

Update 42_write_uefi_application_entry_point.md #3

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: master
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: 3 additions & 9 deletions 4_uefi_applications/42_write_uefi_application_entry_point.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

**********
Expand Down