From a76bdb6f2b32ba7d38175c160399b2559c7d9db3 Mon Sep 17 00:00:00 2001 From: bzt Date: Tue, 16 Feb 2021 22:46:48 +0100 Subject: [PATCH] More examples and screenshots --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5aa8765..46ac8f4 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ used to create a shared object and get converted into an .efi file. If you comment out `USE_UTF8` in uefi.h, then all character representation will use `wchar_t`, and there will be no string conversion between your application and the UEFI interfaces. This also means you must use `L""` and `L''` literals everywhere, -and you main would receive `wchar_t **argv`. +and your main would receive `wchar_t **argv`. ### Available Makefile Options @@ -272,10 +272,10 @@ The actual implementation of `fstat` is in stdio.c, because it needs to access s | Function | Description | |---------------|----------------------------------------------------------------------------| -| usleep | the usual | -| sleep | the usual | -| unlink | as usual, but accepts wide char strings | -| rmdir | as usual, but accepts wide char strings | +| usleep | as usual (uses BS->Stall) | +| sleep | as usual | +| unlink | as usual, but might accept wide char strings | +| rmdir | as usual, but might accept wide char strings | Accessing UEFI Services ----------------------- @@ -285,9 +285,9 @@ in `uefi.h`: | Global Variable | Description | |-----------------|----------------------------------------------------------| -| `*BS` | *efi_boot_services_t*, pointer to the Boot Time Services | -| `*RT` | *efi_runtime_t*, pointer to the Runtime Services | -| `*ST` | *efi_system_table_t*, pointer to the UEFI System Table | +| `*BS`, `gBS` | *efi_boot_services_t*, pointer to the Boot Time Services | +| `*RT`, `gRT` | *efi_runtime_t*, pointer to the Runtime Services | +| `*ST`, `gST` | *efi_system_table_t*, pointer to the UEFI System Table | | `IM` | *efi_handle_t* of your Loaded Image | The EFI structures, enums, typedefs and defines are all converted to ANSI C standard POSIX style, for example