1
0
Fork
You've already forked tiny-efi
0
💿 Public domain, EFI library originally written as part of Brutal.
  • C 100%
2026年06月18日 19:10:31 +02:00
includes/efi chore: update to newer cutekit include policy 2026年06月18日 19:10:31 +02:00
.clang-format format code 2023年02月17日 22:32:57 -05:00
compile_flags.txt initial commit 2023年02月17日 22:24:30 -05:00
console.c chore: update to newer cutekit include policy 2026年06月18日 19:10:31 +02:00
efi.c chore: update to newer cutekit include policy 2026年06月18日 19:10:31 +02:00
LICENSE Initial commit 2023年02月18日 03:23:48 +00:00
manifest.json chore: update to newer cutekit include policy 2026年06月18日 19:10:31 +02:00
README.md chore: port the project to osdk 2023年04月10日 20:58:43 +02:00

tinyefi

tinyefi is a tiny, public domain, EFI library originally written as part of Brutal.

Naming scheme/Comparison

Contrary to the standard EFI naming scheme, tinyefi uses snake_case for functions and PascalCase for types.

Standard GNU EFI code:

#include <efi.h>#include <efilib.h>
EFI_STATUS
EFIAPI
efi_main (EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable) {
 InitializeLib(ImageHandle, SystemTable);
 Print(L"Hello, world!\n");
 return EFI_SUCCESS;
}

tinyefi code:

#include <tinyefi/tinyefi.h>
EfiStatus efi_main(EfiHandle image_handle, EfiSystemTable *st)
{
 efi_init(image_handle, st);
 efi_console_write(L"Hello, World!");
 return EFI_SUCCESS;
}