File: HelloWorld.c

package info (click to toggle)
efitools 1.9.2-3.6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 948 kB
  • sloc: ansic: 7,550; makefile: 131; perl: 119; sh: 35
file content (20 lines) | stat: -rw-r--r-- 365 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <efi.h>
#include <efilib.h>

#include <console.h>

EFI_STATUS
efi_main (EFI_HANDLE image, EFI_SYSTEM_TABLE *systab)
{
	InitializeLib(image, systab);

	console_alertbox((CHAR16 *[]) {
			L"HelloWorld",
			L"",
			L"This file is used to prove you have managed",
			L"To execute an unsigned binary in secure boot mode",
			NULL,
		});

	return EFI_SUCCESS;
}