Expand description
§Proka Kernel - A kernel for ProkaOS
Copyright (C) RainSTR Studio 2025, All rights reserved.
This provides the test trait and runner.
Structs§
- Jump
Buffer - The Jump Buffer to save the CPU state.
Enums§
- Qemu
Exit Code - This is the QEMU exit code
Traits§
- Testable
- The trait that assign the function is testable.
Functions§
- exit_
qemu - The function to quit the QEMU
- long_
jmp - Restore the context and jump back to the set_jmp location.
- set_jmp⚠
- Save the current context into the jump buffer. Returns 0 when saving, and 1 when returning from long_jmp.
- test_
runner - This is the test runner, which will run if the test begins.