Vystem 0.2
This commit is contained in:
6
docs/shelter/cpu/pit.md
Normal file
6
docs/shelter/cpu/pit.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# PIT API
|
||||
|
||||
In Shelter, the PIT is only used for one purpose: estimating the CPU frequency. It's only used with the PIC, never with the IOAPIC, so the API is volontarily very simple:
|
||||
- `sh_pit_set_frequency()`: expect the frequency as argument. Set the PIT to uses this frequency and return nothing
|
||||
|
||||
This API is defined inside `shelter/lib/include/cpu/pit.h` and implemented inside `shelter/lib/include/cpu/pic.c`.
|
||||
Reference in New Issue
Block a user