Function page_attribute_table::init
source · pub fn init() -> Result<(), PatNotSupported>Expand description
Sets up and enables the Page Attribute Table (PAT) for this (the current) CPU.
This works by setting the [IA32_PAT] MSR to the value
specified by FIXED_PAT;
thus, it must be done separately on each and every CPU.
Returns Ok(()) upon success, and Err(PatNotSupported::Unsupported) if PAT is unsupported.