mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
AArch64 does not generate divide-by-zero exceptions like x86. Yet the current generate exception test is using this operation to attempt triggering exceptions. This change abstracted the exception generation logic into per-arch files and use undefined instruction to trigger AArch64 exceptions. Signed-off-by: Kun Qin <kun.qin@microsoft.com> |
||
|---|---|---|
| .. | ||
| SampleUnitTestDxeGenerateException.inf | ||
| SampleUnitTestGenerateException.c | ||
| SampleUnitTestGenerateExceptionAArch64.c | ||
| SampleUnitTestGenerateExceptionIA32X64.c | ||
| SampleUnitTestHostGenerateException.inf | ||
| SampleUnitTestPeiGenerateException.inf | ||
| SampleUnitTestSmmGenerateException.inf | ||
| SampleUnitTestUefiShellGenerateException.inf | ||