Commit Graph

7 Commits

Author SHA1 Message Date
Berkus Decker f3103126ab Add simple serial menu for playing with kernel 2020-11-20 04:35:06 +02:00
Berkus Decker d572b2c297 Move panics to separate module
Add special panic code for QEMU tests.
2020-10-21 14:25:31 +03:00
Berkus Decker c823b42447 Update license identification 2020-10-17 22:32:16 +03:00
Berkus Decker 458aba6652 Gate QEMU functions behind testing features
At least for now, it's not used anywhere else.
2020-10-15 22:49:31 +03:00
Berkus Decker 44ef31ff77 Add missed clobbered registers in asm block
Fixes mis-compilation described in rust-lang/rust#68812.
2020-10-13 22:14:32 +03:00
Berkus Decker d453d60e19 Bump qemu-exit to version 1.0 2020-10-07 13:00:30 +03:00
Berkus Decker af1cc83530 Add testing framework
Based on os.phil-opp.com ideas it includes running test framework in
qemu semihosting mode so that tests can indicate pass or fail to calling
process.

GitHub Actions are configured to run these tests and validate acceptance.

Add test-runner target to perform tests in qemu.

Add -nographic for qemu running tests.

Drop serial for qemu tests as well.
2020-10-06 19:27:50 +03:00