#![cfg_attr(not(test), no_std)]
#![doc = include_str!("../README.md")]
#![allow(clippy::missing_safety_doc)]
use bbqueue_ipc::BBBuffer;
use core::ptr::null_mut;
use core::sync::atomic::{AtomicPtr, AtomicUsize};
pub static K2U_RING: AtomicPtr<BBBuffer> = AtomicPtr::new(null_mut());
pub static U2K_RING: AtomicPtr<BBBuffer> = AtomicPtr::new(null_mut());
pub static HEAP_PTR: AtomicPtr<u8> = AtomicPtr::new(null_mut());
pub static HEAP_LEN: AtomicUsize = AtomicUsize::new(0);
pub mod bbqueue_ipc;
pub mod boxes;
pub mod syscall;
#[repr(C)]
pub struct SysCallRings {
pub user_to_kernel: AtomicPtr<BBBuffer>,
pub kernel_to_user: AtomicPtr<BBBuffer>,
}