|
Kernelite 0.1.0
Kernelite is a minimalist, educational operating system kernel built from scratch. The project aims to recreate core components of the Linux architecture to explore the fundamentals of operating system design and hardware-software interaction.
|
Provides a mechanism to exit QEMU with a specific code. More...

Functions | |
| void | exit (uint32_t code) |
| Exit the guest environment with a semihosting code. | |
Provides a mechanism to exit QEMU with a specific code.
Uses the semihosting SYS_EXIT call (HLT #0xF000) to terminate the QEMU guest and propagate an exit code back to the host.
| void exit | ( | uint32_t | code | ) |
Exit the guest environment with a semihosting code.
Uses the ARM semihosting SYS_EXIT operation to terminate execution under QEMU and report the provided status code to the host.
| code | Host-visible exit status. |