More examples and screenshots

This commit is contained in:
bzt 2021-02-16 22:46:48 +01:00
parent 4d72ea6af2
commit a76bdb6f2b

View file

@ -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 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, 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 ### Available Makefile Options
@ -272,10 +272,10 @@ The actual implementation of `fstat` is in stdio.c, because it needs to access s
| Function | Description | | Function | Description |
|---------------|----------------------------------------------------------------------------| |---------------|----------------------------------------------------------------------------|
| usleep | the usual | | usleep | as usual (uses BS->Stall) |
| sleep | the usual | | sleep | as usual |
| unlink | as usual, but accepts wide char strings | | unlink | as usual, but might accept wide char strings |
| rmdir | as usual, but accepts wide char strings | | rmdir | as usual, but might accept wide char strings |
Accessing UEFI Services Accessing UEFI Services
----------------------- -----------------------
@ -285,9 +285,9 @@ in `uefi.h`:
| Global Variable | Description | | Global Variable | Description |
|-----------------|----------------------------------------------------------| |-----------------|----------------------------------------------------------|
| `*BS` | *efi_boot_services_t*, pointer to the Boot Time Services | | `*BS`, `gBS` | *efi_boot_services_t*, pointer to the Boot Time Services |
| `*RT` | *efi_runtime_t*, pointer to the Runtime Services | | `*RT`, `gRT` | *efi_runtime_t*, pointer to the Runtime Services |
| `*ST` | *efi_system_table_t*, pointer to the UEFI System Table | | `*ST`, `gST` | *efi_system_table_t*, pointer to the UEFI System Table |
| `IM` | *efi_handle_t* of your Loaded Image | | `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 The EFI structures, enums, typedefs and defines are all converted to ANSI C standard POSIX style, for example