ableos/kernel/src/ipc/buffer.rs

16 lines
262 B
Rust
Raw Normal View History

2023-05-15 02:19:34 -05:00
use crossbeam_queue::{ArrayQueue, SegQueue};
use super::message::Message;
enum BufferTypes {
Unbound(SegQueue<Message>),
Bound(ArrayQueue<Message>),
}
pub struct IpcBuffer {
protocol: Protocol,
buffer: BufferTypes,
}
pub struct Protocol {}