diff options
| author | Michael Brown | 2023-01-31 11:17:57 +0100 |
|---|---|---|
| committer | Michael Brown | 2023-01-31 11:17:57 +0100 |
| commit | 66a2ff442dca892d242e39dddfdbb15eb338ffe2 (patch) | |
| tree | 8677cc9356188bd43b48aac33585584aae3a7cd2 /src/util | |
| parent | [dhcp] Add IANA-defined values for all current EFI client architectures (diff) | |
| download | ipxe-66a2ff442dca892d242e39dddfdbb15eb338ffe2.tar.gz ipxe-66a2ff442dca892d242e39dddfdbb15eb338ffe2.tar.xz ipxe-66a2ff442dca892d242e39dddfdbb15eb338ffe2.zip | |
[tests] Verify ability to sleep the CPU
The self-test suite does not currently ever attempt to sleep the CPU.
This is an operation that may fail (e.g. by attempting to execute a
privileged instruction while running as a Linux userspace binary, or
by halting the CPU with all interrupts disabled).
Add a trivial self-test to exercise the ability to sleep the CPU
without crashing or halting forever.
Inspired-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions
