Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-09 | kernel/amd64: tss: Remove useless whitespace | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-09 | kernel/amd64: Add backtrace support for panic() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-07 | kernel/amd64: syscall: Set IP in syscall_args | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-06 | kernel/amd64: lapic: Remove unused includes | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-26 | kernel/amd64: tss: Do not allow userspace port I/O | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-25 | kernel/amd64: Remove "AP bootstrap done" message | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-24 | kernel/amd64: machdep: Init PCI driver | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-19 | kernel: syscall: Fix syscall order | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-16 | kernel,libc: syscall: Improve syscall code | Ian Moffett | |
- Remove the SYS_debug syscall - First syscall starts at 1 Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-16 | kernel: syscall: Remove syscall_args.ret | Ian Moffett | |
It is better to just return a value within the syscall handler and have that passed down to __syscall() like that Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-14 | kernel: Add support for syscalls | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-14 | kernel/amd64: pmap: Add pmap_free_vas() | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-13 | kernel/amd64: machdep: Add processor_free_pcb() | Ian Moffett | |
Add routine to deallocate resources within the process control block. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-03-13 | kernel/amd64: machdep: Check for NULL instead of 0 | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
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> |