summaryrefslogtreecommitdiff
path: root/kernel/src
diff options
context:
space:
mode:
authorDennis Kobert <dennis@kobert.dev>2019-10-25 15:31:10 +0200
committerDennis Kobert <dennis@kobert.dev>2019-10-25 15:31:10 +0200
commit5a4f0191916b20e383830bc740e533d1c6988290 (patch)
tree9dffe254ab553d8ab611b2d8ce179c5a0c4dce20 /kernel/src
parent1193925cd231ed15a48f9f34c0fab8101aa5c820 (diff)
Add target x86_64-uff
Diffstat (limited to 'kernel/src')
-rw-r--r--kernel/src/lib.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/src/lib.rs b/kernel/src/lib.rs
new file mode 100644
index 0000000..066a526
--- /dev/null
+++ b/kernel/src/lib.rs
@@ -0,0 +1,13 @@
+#![no_std]
+#![no_main]
+
+#[no_mangle]
+pub extern "C" fn _start() -> ! {
+ loop {}
+}
+
+#[panic_handler]
+#[no_mangle]
+pub extern "C" fn panic_handler(_info: &core::panic::PanicInfo) -> ! {
+ loop {}
+}