OpenCore
1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
HelloWorld.c
Go to the documentation of this file.
1
6
#include <Library/UefiBootServicesTableLib.h>
7
#include <Library/DebugLib.h>
8
9
STATIC
10
EFI_STATUS
11
EFIAPI
12
UefiMain
(
13
IN EFI_HANDLE ImageHandle,
14
IN EFI_SYSTEM_TABLE *SystemTable
15
)
16
{
17
DEBUG ((DEBUG_ERROR,
"Hello world\n"
));
18
return
EFI_SUCCESS;
19
}
20
21
int
22
ENTRY_POINT
(
23
void
24
)
25
{
26
UefiMain
(
gImageHandle
,
gST
);
27
28
return
0;
29
}
UefiMain
STATIC EFI_STATUS EFIAPI UefiMain(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition
HelloWorld.c:12
ENTRY_POINT
int ENTRY_POINT(void)
Definition
HelloWorld.c:22
gST
EFI_SYSTEM_TABLE * gST
Definition
OcBootServicesTableLib.c:28
gImageHandle
EFI_HANDLE gImageHandle
Definition
OcBootServicesTableLib.c:27
Utilities
TestHelloWorld
HelloWorld.c
Generated by
1.12.0