std1.0.0-beta-7 SafeC docs

std :: kernel::mmu

Struct std::MmuArmV7

#include <std/kernel/mmu.h> source

struct MmuArmV7 { }

Small pages; the root L1 table is 16 KiB and must be 16 KiB aligned. Normal memory is TEX=001 C=1 B=1 (write-back), device is TEX=000 C=0 B=1.

Methods

§int levels() constsource · definition
§int shift(int level) constsource · definition
§unsigned long entries(int level) constsource · definition
§unsigned long esize() constsource · definition
§unsigned long long table_desc(unsigned long phys) constsource · definition
§unsigned long long leaf_desc(unsigned long phys, unsigned int flags) constsource · definition
§int valid(unsigned long long e) constsource · definition
§int is_leaf(unsigned long long e, int level) constsource · definition
§unsigned long addr(unsigned long long e, int level) constsource · definition
§int load_root(unsigned long root) constsource · definition
§int flush_all() constsource · definition
§int flush_page(unsigned long virt) constsource · definition