Skip to content

Commit 4fa326b

Browse files
authored
Merge pull request #759 from ThomsonTan/patch-2
Adding __fastfail encoding for Windows ARM64
2 parents 95e9f28 + 69d9c99 commit 4fa326b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/intrinsics/fastfail.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Internally, `__fastfail` is implemented by using several architecture-specific m
3535
|x86|int 0x29|ecx|
3636
|x64|int 0x29|rcx|
3737
|ARM|Opcode 0xDEFB|r0|
38+
|ARM64|Opcode 0xF003|x0|
3839

3940
A fast fail request is self-contained and typically requires just two instructions to execute. Once a fast fail request has been executed the kernel then takes the appropriate action. In user-mode code, there are no memory dependencies beyond the instruction pointer itself when a fast fail event is raised. This maximizes its reliability even if there is severe memory corruption.
4041

@@ -50,12 +51,12 @@ Support for the native fast fail mechanism began in Windows 8. Windows operating
5051

5152
|Intrinsic|Architecture|
5253
|---------------|------------------|
53-
|`__fastfail`|x86, x64, ARM|
54+
|`__fastfail`|x86, x64, ARM, ARM64|
5455

5556
**Header file** \<intrin.h>
5657

5758
**END Microsoft Specific**
5859

5960
## See Also
6061

61-
[Compiler Intrinsics](../intrinsics/compiler-intrinsics.md)
62+
[Compiler Intrinsics](../intrinsics/compiler-intrinsics.md)

0 commit comments

Comments
 (0)