summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/src/lib.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/kernel/src/lib.rs b/kernel/src/lib.rs
index e18c22c..d8b49b4 100644
--- a/kernel/src/lib.rs
+++ b/kernel/src/lib.rs
@@ -34,22 +34,8 @@ pub extern "C" fn _start() -> ! {
qemu::exit_qemu(qemu::QemuExitCode::Success);
}
- fn _loop(i: u64) -> u64 {
- if i > 0b1010101001101101 {
- return i;
- }
- let n = i;
- let mut stdout = OStream::new();
- write!(&mut stdout, "{:x}", &n as *const u64 as u64).unwrap();
- _loop(i + 1)
- }
- _loop(0);
x86_64::instructions::interrupts::int3();
- let stdout = OStream::new();
- stdout.clear();
- panic!("panic! at the disco");
-
/// TODO: write test
///fn _loop(i: u64) -> u64 {
/// if i > 0b1010101001101101 {