Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-03-13 | kernel/amd64: machdep: Add context switch helper | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-13 | kernel/amd64: machdep: Add pcb init code | Ian Moffett | |
This commit adds a processor specific routine which sets up the Process Control Block for a thread Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-13 | kernel/amd64: machdep: Remove extra whitespace | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-13 | kernel/amd64: trap: Update panic message | Ian Moffett | |
We have a scheduler now, this old message does not make sense. So it is replaced. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-13 | kernel/amd64: spectre: Log only once | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-13 | kernel/amd64: machdep: Fix typo | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-11 | kernel/amd64: machdep: Enable SSE/SSE2 per core | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-10 | kernel/amd64: trap: Add stack-segment fault ISR | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-07 | kernel/amd64: trap: Parse TRAP_PAGEFLT error code | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-07 | kernel: Require VAS arg in vm + loader refactor | Ian Moffett | |
This commit adds vas argument to VM mapping functions as well as changing how mapping is done in the loader. This commit also fixes weird error handling and parses needed PHDRs within the loader Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-06 | kernel/amd64: Remove switch.S | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-02-29 | kernel/amd64: trap: Simplify trap_print() logic | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
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> |