MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / KernelInfo

Class KernelInfo

euralios_std/src/time.rs:20–24  ·  view source on GitHub ↗

This structure is mapped read-only into user address space

Source from the content-addressed store, hash-verified

18
19/// This structure is mapped read-only into user address space
20pub struct KernelInfo {
21 pub pit_ticks: u64, // Number of PIT ticks since restart
22 pub last_tsc: u64, // TSC value at last pit_ticks update
23 pub tsc_per_pit: u64, // Change in TSC ticks per PIT tick
24}
25
26/// The virtual address of the KernelInfo struct
27const KERNELINFO_VIRTADDR: u64 = 0x4fff000;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected