From 69d0344bb74902917d0eb884be50e4637a2305cf Mon Sep 17 00:00:00 2001 From: Josh Junon Date: Sat, 8 Feb 2025 12:29:46 +0100 Subject: [PATCH] examples: fix no-std hello world incorrect interface query syscall --- examples/no-std/hello-world/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/no-std/hello-world/src/main.rs b/examples/no-std/hello-world/src/main.rs index 49b724f..ac51986 100644 --- a/examples/no-std/hello-world/src/main.rs +++ b/examples/no-std/hello-world/src/main.rs @@ -2,7 +2,7 @@ #![no_main] use oro::{ - id::iface::{KERNEL_IFACE_QUERY_TYPE_META_V0, ROOT_DEBUG_OUT_V0}, + id::iface::{KERNEL_IFACE_QUERY_BY_TYPE_V0, ROOT_DEBUG_OUT_V0}, key, syscall_get, syscall_set, }; @@ -13,8 +13,8 @@ fn write_bytes(bytes: &[u8]) { // Get the iface ID for the root ring debug output interface. let Ok(iface) = syscall_get!( - KERNEL_IFACE_QUERY_TYPE_META_V0, - KERNEL_IFACE_QUERY_TYPE_META_V0, + KERNEL_IFACE_QUERY_BY_TYPE_V0, + KERNEL_IFACE_QUERY_BY_TYPE_V0, ROOT_DEBUG_OUT_V0, 0 ) else {