#![no_std]
#![feature(likely_unlikely)]
#![feature(c_variadic)]
#![allow(missing_docs)]
#![allow(clippy::not_unsafe_ptr_arg_deref)]
extern crate alloc;
extern crate ax_runtime;
#[macro_use]
extern crate ax_log;
#[macro_use]
pub mod dyn_debug;
pub mod entry;
#[cfg(axtest)]
#[doc(hidden)]
pub mod axtest_exports;
#[cfg(all(test, not(axtest)))]
mod axtest_exports;
#[cfg(test)]
mod host_link_symbols {
#[unsafe(no_mangle)]
static STACK_SIZE: usize = 0;
#[unsafe(no_mangle)]
static PAGE_SIZE: usize = 0;
#[unsafe(no_mangle)]
static __PERCPU_TEMPLATE_ALIGN_START: usize = 0;
#[unsafe(no_mangle)]
static __PERCPU_TEMPLATE_ALIGN_END: usize = 0;
}
mod cgroup;
mod config;
mod ebpf;
mod error;
mod file;
mod ipc;
mod kmod;
pub mod kprobe;
mod mm;
mod namespace;
mod perf;
mod pseudofs;
mod stop_machine;
mod sync;
mod syscall;
mod task;
mod time;
mod tracepoint;
mod trap;
mod uprobe;
pub use error::{DmaOperation, StarryError, StarryResult};
pub use syscalls::Errno;