Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-02-29 | kernel/amd64: machdep: Add wrappers over CLI/STI | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-29 | kernel/amd64: pmap: Add user pte flag | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-29 | kernel/amd64: pmap: Add routine to switch vas | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-29 | kernel/amd64: pmap: Fix calculation of indices | Ian Moffett | |
This commit fixes a very stupid mistake in the pmap module for AMD64 Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-29 | kernel/amd64: pmap: Allocate new pmap if needed | Ian Moffett | |
This commit also removes the unnecessary usage of "volatile" Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-29 | kernel/amd64: tss: Allocate stack for RSP0 | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-26 | kernel: pmap: Use PROT_ instead of PMAP_ prefix | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-26 | kernel/amd64: pmap: Add support for creating VAS | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-26 | kernel/amd64: Drop 'asm' directory | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-26 | kernel/amd64: sched: Send EOI after context switch | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-26 | kernel/amd64: cpu_mp: Allow single core processing | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-26 | kernel/amd64: lapic: Add support for sending EOIs | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-25 | kernel/amd64: spectre: Refactor | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-25 | kernel/amd64: machdep: Refactor | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-23 | kernel: Add initial scheduler implementation | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-23 | kernel/amd64: spectre: Remove useless whitespace | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-23 | kernel/amd64: lapic_timer.S -> local_intr.S | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-23 | kernel/amd64: machdep: Remove useless decl | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-22 | kernel/amd64: lapic: Set timer routine | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-22 | kernel/amd64: lapic: uint32_t -> size_t | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-22 | kernel/amd64: Create per-processor context storage | Ian Moffett | |
This commit introduces per-processor context storage within the IA32_KERNEL_GS_BASE MSR Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-22 | kernel/amd64: machdep: Unmask interrupts | Ian Moffett | |
This commit unmasks maskable interrupts within the processor_init() routine for the AMD64 port. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-22 | kernel/amd64: machdep: Isolate BSP-only calls | Ian Moffett | |
Some routines are to be called on the BSP only during processor startup, this commit isolates them for the BSP onto in pre_init() Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-20 | kernel/amd64: trap: Dump regs upon exception | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-18 | kernel/amd64: trap: Remove useless function | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-18 | kernel/amd64: hpet: Remove extra whitespace | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-18 | kernel/amd64: hpet: Use hint_spinwait() | Ian Moffett | |
This commit completes a TODO in the HPET driver Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-18 | kernel/amd64: machdep: Init HPET only once | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-15 | kernel/amd64: cpu: Prefix machdeps with cpu_ | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-14 | kernel/amd64: hpet: HPET is architecture specific | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-11 | kernel/amd64: acpi: Fetch LAPIC base separate | Ian Moffett | |
This commit creates a acpi_get_lapic_base() so we don't have to parse the MADT each time we want the Local APIC base. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-11 | kernel: sched: Add initial sched related code | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-05 | kernel/amd64: lapic: Fix icr_lo overflow bug | Ian Moffett | |
Somehow icr_lo was a uint8_t which is obviously not right and would cause overflow bugs. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-05 | kernel/amd64: lapic: Conform to style | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-04 | kernel/amd64: lapic: Add support for sending IPIs | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-04 | kernel/amd64: lapic: Remove redundant whitespace | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-04 | kernel/amd64: lapic: Extend r/w width to 64 bits | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-01-17 | kernel: vm: Init virtual memory in pre_init() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-01-17 | kernel: Add serial logging support | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-01-13 | kernel/amd64: pmap: Add pmap_unmap() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-01-12 | kernel/amd64: pmap: Document PTE flags further | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-01-12 | kernel/amd64: pmap: Add pmap_map() routine | Ian Moffett | |
Add pmap_map() routine for creating virtual memory mappings. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-01-10 | kernel/amd64: machdep: Add pre_init() | Ian Moffett | |
This commit introduces a pre_init() function for setting up things that processor_init() may depend on Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-01-01 | project-wide: Make copyright year a range | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-01-01 | project-wide: Update copyright year | Ian Moffett | |
Happy new year!! Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2023-12-28 | kernel/amd64: cpu: Ensure `bsp_info' is zero'd | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2023-12-28 | kernel/amd64: trap: Fix stack misalignment | Ian Moffett | |
Some traps have error codes and others don't... Fix inconsistent error code handling. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2023-12-25 | kernel/amd64: machdep: Refactor | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2023-12-25 | kernel/amd64: lapic: Refactor includes | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2023-12-25 | kernel/amd64: lapic: Fix APIC Timer IDT entry type | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> |