From e0109007158d132bf2c64c63a9e2a47794627f2b Mon Sep 17 00:00:00 2001 From: Guillaume DIDIER Date: Mon, 21 Oct 2019 13:10:53 +0200 Subject: [PATCH] Test infrastructure - serial port - harnesses using qemu --- .idea/DendrobatesTinctoriusAzureus.iml | 5 + .idea/workspace.xml | 28 +- Cargo.lock | 15 +- Cargo.toml | 17 +- polling_serial/Cargo.toml | 15 + polling_serial/src/lib.rs | 171 ++++ scripts/bochsrc | 2 +- scripts/bochsrc-solstice | 1262 ++++++++++++++++++++++++ scripts/disassemble.sh | 3 + scripts/gdb.sh | 0 scripts/qemu.sh | 2 + scripts/run.sh | 2 + src/lib.rs | 76 ++ src/main.rs | 144 +-- tests/basic_boot.rs | 28 + tests/panic_test.rs | 26 + vga_buffer/src/lib.rs | 17 + 17 files changed, 1735 insertions(+), 78 deletions(-) create mode 100644 polling_serial/Cargo.toml create mode 100644 polling_serial/src/lib.rs create mode 100644 scripts/bochsrc-solstice create mode 100755 scripts/disassemble.sh mode change 100644 => 100755 scripts/gdb.sh create mode 100755 scripts/qemu.sh create mode 100755 scripts/run.sh create mode 100644 src/lib.rs create mode 100644 tests/basic_boot.rs create mode 100644 tests/panic_test.rs diff --git a/.idea/DendrobatesTinctoriusAzureus.iml b/.idea/DendrobatesTinctoriusAzureus.iml index ba79a76..73c366e 100644 --- a/.idea/DendrobatesTinctoriusAzureus.iml +++ b/.idea/DendrobatesTinctoriusAzureus.iml @@ -14,7 +14,12 @@ + + + + + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 579062f..0967496 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -11,22 +11,23 @@ + - - - - - - + + + + + - - - + + + +