[−][src]Struct sunrise_kernel::frame_allocator::i386::FrameAllocatori386
A frame allocator backed up by a giant bitmap.
Fields
memory_bitmap: [u8; 4]
A big bitmap denoting for every frame if it is free or not
1 is free, 0 is already allocated/reserved This may seem backward, but this way when we start the array is filled with 0(reserved) and it can be put in the bss by the compiler
initialized: bool
All operations have to check that the Allocator has been initialized
Implementations
impl FrameAllocatori386
[src]
pub const fn new() -> Self
[src]
Called to initialize the FRAME_ALLOCATOR global.
Auto Trait Implementations
impl RefUnwindSafe for FrameAllocatori386
impl Send for FrameAllocatori386
impl Sync for FrameAllocatori386
impl Unpin for FrameAllocatori386
impl UnwindSafe for FrameAllocatori386
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,