[][src]Trait sunrise_kernel::paging::hierarchical_table::PagingCacheFlusher

pub trait PagingCacheFlusher {
    fn flush_whole_cache();
}

Most implementations of paging have are accelerated with a cache that must be manually updated when changes to the page tables are made. The way we specify which part of the cache gets invalidated is arch-specific. We only provide the declaration for a flusher that our page tables can use.

Our implementation only enables flushing the whole cache for every operation, which is the only available way on i386, but should be more fine-grained for other architectures

Required methods

fn flush_whole_cache()

Flushes the whole cache.

Loading content...

Implementors

impl PagingCacheFlusher for TlbFlush[src]

impl PagingCacheFlusher for NoFlush[src]

Loading content...