summaryrefslogtreecommitdiff
path: root/sys/inc/arch
AgeCommit message (Collapse)Author
65 min.kern/amd64: lapic: Add Local APIC timer interfacedevIan Moffett
This commit adds an interface to perform a oneshot operation with the Local APIC timer as well as providing a stub interrupt service routine for it. Signed-off-by: Ian Moffett <ian@osmora.org>
66 min.kern/amd64: idt: Make idt.h includable in ASMIan Moffett
This also moves the interrupt gate defines to the idt.h header so that they can be used within C code Signed-off-by: Ian Moffett <ian@osmora.org>
99 min.kern: Add initial process definitionsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
100 min.kern/amd64: Add trapframe definitionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 hoursproject: Correct malformed copyright headersHEADmasterIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 hourskern/amd64: Add md/cpu.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
16 hourskern/amd64: Do low-level processor configurationIan Moffett
This commit seperates low-level processor configuration into the cpu_loinit() function. This is to be called for the BSP and per AP. Signed-off-by: Ian Moffett <ian@osmora.org>
16 hourskern/amd64: msr: Make md/msr.h includable in asmIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
18 hourskern/amd64: mp: Sync MTRRs between APs and BSPIan Moffett
Section 11.11.8 of the Intel SDM states that all MTRRs in a multiprocessing system must be synced to prevent undefined behavior. Signed-off-by: Ian Moffett <ian@osmora.org>
24 hourskern/amd64: lapic: Add lapic_read_id() functionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
27 hourskern/amd64: lapic: Add support for sending IPIsIan Moffett
This commit introduces an interface for sending inter-processor interrupts using the current Local APIC unit Signed-off-by: Ian Moffett <ian@osmora.org>
29 hourskern/amd64: lapic: Configure and calibrate timerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
29 hourskern/amd64: Expose IDT to C through idt.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
29 hourskern/amd64: i8254: Add dividend defineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
39 hourskern/amd64: isa: Add minimal i8254 driverIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
40 hourskern/amd64: cpu: Add initial Local APIC driverIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
40 hourskern/amd64: Add CPUID helper macroIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
45 hourskern/amd64+mu: Introduce percpu machine core blockIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
45 hourskern/amd64: Add model specific register helpersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2 dayskern/amd64: Annotate KFENCE macroIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2 dayskern/amd64+mu: Add initial virtual memory sourcesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern/amd64: cpu: Add kernel fence for trap entryIan Moffett
A kernel fence ensures that the GS base will contain kernel data on entry. Signed-off-by: Ian Moffett <ian@osmora.org>