extern crate alloc;
extern crate ax_runtime;
#[cfg(all(test, not(axtest)))]
extern crate std;
#[macro_use]
extern crate ax_log;
#[macro_use]
pub mod dyn_debug;
pub mod entry;
#[cfg(all(test, not(axtest)))]
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 cpu_capabilities;
mod ebpf;
mod error;
mod file;
mod ipc;
mod kmod;
pub mod kprobe;
mod mm;
mod namespace;
mod perf;
mod pseudofs;
mod rdrive_osal;
mod stop_machine;
mod sync;
mod syscall;
mod task;
mod time;
mod tracepoint;
mod trap;
mod uprobe;
#[cfg(all(test, axtest))]
mod block_runtime_axtest;
#[cfg(all(test, axtest))]
mod thread_lifecycle_axtest;
pub use error::{DmaOperation, StarryError, StarryResult};
pub use mm::{
ActivationError, ActivationLease, AddressSpaceCpuState, AddressSpaceId, AddressSpaceTag,
AnonymousSource, AppliedMutation, CloneUserRefError, CpuMask, EvictionError, EvictionLease,
EvictionResult, ExternalSource, FileSource, FrameLease, InstalledAddressSpace,
InstalledPageTableRoot, LinearSource, MappingDelta, MappingGroup, MappingId,
MappingPermissions, MappingRights, MappingSlot, MappingSlotKey, MappingSource, MmHandle, MmPin,
MmState, MutationError, MutationGate, MutationReceipt, MutationState, PageId, PageObject,
PageOffset, PageOrder, PageSizePolicy, PageState, PinError, PreparedMutation, PteDelta,
PublishEvent, PublishedMutation, PublishedPendingTlb, QuarantineError, QuarantineFailure,
ReclaimError, RepairPermit, ResidentDelta, RetirePermit, RmapSet, SlotState, SwapError,
SwapProvider, SwapToken, TagMode, TlbQuarantine, TlbRange, TlbRequest, UnsupportedSwap, Vma,
VmaDelta, VmaId, VmaMap, VmaSnapshot, WritebackError, WritebackLease, allocate_vma_id,
request_repair_retry, take_repair_candidates,
};
pub use syscalls::Errno;