Skip to content

Commit 3a1dee1

Browse files
authored
Update 42_write_uefi_application_entry_point.md
Refine format
1 parent 27ebe9c commit 3a1dee1

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

4_uefi_applications/42_write_uefi_application_entry_point.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,11 @@ Its prototype is list below:
4040
EFI_STATUS
4141
EFIAPI
4242
UefiMain (
43+
IN EFI_HANDLE _ImageHandle_,
44+
IN EFI_SYSTEM_TABLE *_SystemTable_
45+
);
4346
```
4447

45-
`IN EFI_HANDLE` _ImageHandle_`,`
46-
47-
`IN EFI_SYSTEM_TABLE `*_SystemTable_
48-
49-
`);`
50-
5148
As can be seen, there are two parameters for UEFI application entry point,
5249

5350
`ImageHandle` and `SystemTable`. `ImageHandle` refers to the image handle of
@@ -61,10 +58,9 @@ Hello World!" string to console.
6158
**********
6259
**Note:** This application uses several pcds to demonstrate the usage of PCD.
6360
Readers can obtain the default value of these pcds from the
61+
_$WORKSPACE\MdeModulePkg\MdeModulePkg.dec_ file.
6462
**********
6563

66-
_$WORKSPACE\MdeModulePkg\MdeModulePkg.dec file._
67-
6864
```c
6965
EFI_STATUS
7066
EFIAPI

0 commit comments

Comments
 (0)