MCPcopy Create free account
hub / github.com/Andy-Python-Programmer/aero / write_cr0

Function write_cr0

src/aero_kernel/src/arch/x86_64/controlregs.rs:349–351  ·  view source on GitHub ↗

Write the given set of CR0 flags. ## Safety This function does not preserve the current value of the CR0 flags and reserved fields. Its possible to violate memory safety by swapping CR0 flags.

(value: Cr0Flags)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

init_cpuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected