Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-05-14 | kernel/amd64: machdep: Reorganize functions | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-14 | kernel: machdep: Add machine_panic() + panic beep | Ian Moffett | |
machine_panic() handles things like backtracing, beeping the speaker and halting the processor. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-07 | kernel/amd64: trap: Remove unnecessary whitespace | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-07 | kernel/amd64: tss: Ensure stacks are aligned | Ian Moffett | |
When allocating a kernel stack, ensure it is aligned on a 16-byte boundary. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-05-07 | kernel/amd64: trap: Temporarily disable interrupts | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-30 | kernel/amd64: machdep: Add cpu_halt_others() | Ian Moffett | |
Halts all other processors except self Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-28 | kernel/amd64: ioapic: Add ioapic_set_vec() | Ian Moffett | |
Add helper to set vector in a redirection table entry Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-26 | kernel/amd64: syscall: Allow RIP/RSP to be reset | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-20 | kernel: vm: Add initial demand paging support | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
2024-04-10 | kernel/amd64: trap: Send signals to thread | Ian Moffett | |
Send SIGSEGV, SIGFPE, etc to the thread instead of panicking if it is running in userland Signed-off-by: Ian Moffett <ian@osmora.org> | |||
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> |