From b3eab1608b24c16404430f1da63ec151d2127d03 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Mon, 8 Jan 2024 18:59:54 +0100 Subject: [PATCH] rename the feature "syscall" to "common-os" The feature currently has no meaning. "common-os" will later enable a classical monolithic kernel. --- Cargo.toml | 2 +- src/macros.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index df32b6073f..70e7530f8a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,7 +63,7 @@ tcp = ["smoltcp", "smoltcp/socket-tcp"] udp = ["smoltcp", "smoltcp/socket-udp"] trace = [] vga = [] -syscall = [] +common-os = [] [dependencies] ahash = { version = "0.8", default-features = false } diff --git a/src/macros.rs b/src/macros.rs index 2f82054138..c127bab229 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -75,7 +75,7 @@ macro_rules! dbg { #[cfg(not(any( target_arch = "riscv64", all(target_arch = "x86_64", feature = "newlib"), - feature = "syscall" + feature = "common-os" )))] macro_rules! kernel_function { ($f:ident()) => { @@ -113,7 +113,7 @@ macro_rules! kernel_function { #[cfg(any( target_arch = "riscv64", all(target_arch = "x86_64", feature = "newlib"), - feature = "syscall" + feature = "common-os" ))] macro_rules! kernel_function { ($f:ident($($x:tt)*)) => {{