ableos/kernel/src/ipc/buffer.rs
2023-05-15 02:19:34 -05:00

16 lines
262 B
Rust

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 {}