Skip to content

Commit a9afb04

Browse files
authored
Merge pull request #1309 from nicholasbishop/bishop-add-efiapi
Document the `efiapi` ABI
2 parents e5adb99 + 7ab0619 commit a9afb04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/items/external-blocks.md

+2
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ There are also some platform-specific ABI strings:
9090
`__fastcall` and GCC and clang's `__attribute__((fastcall))`
9191
* `extern "vectorcall"` -- The `vectorcall` ABI -- corresponds to MSVC's
9292
`__vectorcall` and clang's `__attribute__((vectorcall))`
93+
* `extern "efiapi"` -- The ABI used for [UEFI] functions.
9394

9495
## Variadic functions
9596

@@ -288,6 +289,7 @@ Attributes on extern function parameters follow the same rules and
288289
restrictions as [regular function parameters].
289290

290291
[IDENTIFIER]: ../identifiers.md
292+
[UEFI]: https://uefi.org/specifications
291293
[WebAssembly module]: https://webassembly.github.io/spec/core/syntax/modules.html
292294
[functions]: functions.md
293295
[statics]: static-items.md

0 commit comments

Comments
 (0)