userspace/target/operating_system/macros/
hooking.rs

1#[macro_export]
2macro_rules! hooking {
3    ($identifier:ident) => {
4        pub const NUMBER: usize = super::numbers::$identifier;
5        pub const LABEL: &str = super::labels::$identifier;
6        // pub type SIGNATURE = super::signatures::$identifier;
7    };
8}
9pub use hooking;