Skip to content

Commit 7ab0619

Browse files
Document the efiapi ABI
1 parent c7a39ca commit 7ab0619

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/items/external-blocks.md

Lines changed: 2 additions & 0 deletions
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

@@ -272,6 +273,7 @@ Attributes on extern function parameters follow the same rules and
272273
restrictions as [regular function parameters].
273274

274275
[IDENTIFIER]: ../identifiers.md
276+
[UEFI]: https://uefi.org/specifications
275277
[WebAssembly module]: https://webassembly.github.io/spec/core/syntax/modules.html
276278
[functions]: functions.md
277279
[statics]: static-items.md

0 commit comments

Comments
 (0)