summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2024-02-28kernel: vfs: Move mountlist_entry to vfs_cache.cIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-28kernel: vfs: Do not leak memoryIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-28kernel: vfs: Add more documentationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-28kernel: Add ksyms.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-28kernel: Add initial VFS implementationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-28kernel: errno: Update errno.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel: Add initial ELF loader implementationIan Moffett
This is the initial ELF loader implementation, this will obviously need some fixups and refactoring in the future but it works as of now. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel: pmap: Use PROT_ instead of PMAP_ prefixIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel: Add elf.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel: sched: Fix mistake in context switch codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel: Add strcmp()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel/amd64: pmap: Add support for creating VASIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel/amd64: Drop 'asm' directoryIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel/amd64: sched: Send EOI after context switchIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel/amd64: cpu_mp: Allow single core processingIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel/amd64: lapic: Add support for sending EOIsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel: Remove tty_init() callsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel: sched: Fix broken preemptionsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel: sched: Fix PID allocation logicIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel: sched: Create schedvar.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-26kernel: vcons: Add missing PIX_BOUNDS_MAX_*Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-25kernel: vcons: Add more documentationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-25kernel/amd64: spectre: RefactorIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-25kernel/amd64: machdep: RefactorIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-25kernel: vcons: Add cursor supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-25kernel: vcons: Fix mistake in commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-25kernel: Move video console codeIan Moffett
This commit introduces a video console driver to Hyra and replaces that weird tty.c file used only for video console logic Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-24kernel/amd64: cpu: Fix logic bugIan Moffett
This commit fixes a logic bug in amd64_isr_intr_mask(). We want to return a bool that indicates if interrupts are masked (bit 9 of rflags unset) Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-23kernel: Add initial scheduler implementationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-23kernel/amd64: frame: Add macro to init trapframeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-23kernel/amd64: spectre: Remove useless whitespaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-23kernel/amd64: frameasm: Add missing registerIan Moffett
This commit fixes a bug in pop_trapframe_ec, in which a register was missing. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-23kernel/amd64: lapic_timer.S -> local_intr.SIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-23kernel/amd64: machdep: Remove useless declIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-22kernel/amd64: lapic: Set timer routineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-22kernel/amd64: lapic: uint32_t -> size_tIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-22kernel/amd64: Create per-processor context storageIan 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-22kernel/amd64: machdep: Unmask interruptsIan 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-22kernel/amd64: machdep: Isolate BSP-only callsIan 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-20kernel/amd64: trap: Dump regs upon exceptionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-18kernel/amd64: trap: Remove useless functionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-18kernel/amd64: hpet: Remove extra whitespaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-18kernel/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-18kernel/amd64: machdep: Init HPET only onceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-17kernel: syslog: Add '%p'Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-17kernel: syslog: Add TODOIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-15kernel/amd64: cpu: Prefix machdeps with cpu_Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-14kernel: queue: Keep track of element countIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-14kernel: cpu: Add hint_spinwait()Ian Moffett
This commit introduces a macro that must exist per architecture (even if it does nothing) to ensure it is machine independent. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-02-14kernel: Add __TRY_CALL() macroIan Moffett
This commit adds a macro to make testing if weak functions are implemented, then running them, less messy. This allows you to do so in one line. Signed-off-by: Ian Moffett <ian@osmora.org>