kapi/lib.rs
1#![no_std]
2#![allow(unsafe_op_in_unsafe_fn)]
3#![allow(clippy::missing_safety_doc)]
4extern crate alloc;
5
6use axerrno::{LinuxError, LinuxResult};
7
8#[allow(dead_code)]
9type Result<T> = LinuxResult<T>;
10#[allow(dead_code)]
11type ModuleErr = LinuxError;
12
13#[cfg(feature = "kstr")]
14pub mod kstrtox;
15#[cfg(feature = "kmem")]
16pub mod mm;
17#[cfg(feature = "kparameter")]
18pub mod param;
19#[cfg(feature = "kstr")]
20pub mod string;
21#[cfg(feature = "kstr")]
22pub mod string_helper;