summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-12-31build: tools: Handle path spaces in cross.shMolly A. McCollum
Modify cross.sh to accomodate for spaces in paths Signed-off-by: Molly A. McCollum <molly@rvrsys.net> Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-28kernel/amd64: cpu: Ensure `bsp_info' is zero'dIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-28kernel/amd64: trap: Fix stack misalignmentIan 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-25kernel/amd64: machdep: RefactorIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-25kernel: vm_physseg: Fix allocation issueIan Moffett
We should check free_count before possibly resetting it. We don't want horrible things to happen. Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-25docs: Add better contribution guidelinesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-25kernel/amd64: lapic: Refactor includesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-25kernel/amd64: lapic: Fix APIC Timer IDT entry typeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-25kernel/amd64: lapic: Add initial LAPIC Timer logicIan Moffett
The commit adds the initial Local APIC timer support in Hyra... However, the interrupt service routine is a stub and needs to be completed. Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-25kernel: timer: Add microseconds supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-23kernel/amd64: cpu: Add interrupt helper routineIan Moffett
This commit adds a helper that allows checking if maskable interrupts are disabled on the current core. Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-23build: configure: Update OS prefixIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-21build: Update build constant OS prefixesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-19kernel: cdefs: Add extra helpersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-19kernel/amd64: lapic: Fixup LAPIC state trackingIan Moffett
This commit removes the lapic_set_base() function and certain globals from the Local APIC driver so it won't cause problems on hardware with many CPU sockets or that is just wacky. Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-19kernel/amd64: lapic: Refactor namesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-19kernel/amd64: Re-organize AMD64 filesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-19kernel/amd64: isa: Add i8254 driverIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-19kernel/amd64: io: Add I/O helpersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-18docs: man: change headers from bsd styleYusuf M
Signed-off-by: Yusuf M <blazt@osmora.org> Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-18docs: readme: Update old emailsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-17kernel/amd64: trap: Fix stack issuesIan Moffett
This fixes a bug relating to a lack of error code (pushed by hardware) misaligning the stack. Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-17kernel/amd64: frame: Seperate ASM from C headerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-15build: Update versioning schemeIan Moffett
This commit introduces a nicer versioning scheme to Hyra where the version number shall be bumped by 0.1 per stable release !! This commit did not bump the version !! Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-15docs: man: Create virtual memory related manpagesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-15docs: man: Ensure manpages are up to dateIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-13kernel: vm: Ensure calls are serializedIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-13kernel: vm: `cpu_vm_ctx' -> `vm_ctx'Ian Moffett
This commit cleans up the naming of the `cpu_vm_ctx' as it already implies it is per core Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-13kernel: vm: Add support for dynalloc pool resizeIan Moffett
This commit creates a wrapper that allows resizing of a memory pool created by dynalloc() Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-13kernel: tty: Cleanup comment widthIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-13kernel/amd64: intr: Add Interrupt Stack definesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-13kernel/amd64: tss: Add TSS stack helpersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-13kernel/amd64: trap: Add TRAP_NONE defineIan Moffett
This commit introduces the trap type TRAP_NONE to allow for general interrupts as they also use the `trap_frame' but are not interrupts that will occur during instruction execution. Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-13kernel/amd64: machdep: Cleanup processor_init()Ian Moffett
This commit cleans up processor_init() by tidying up and reordering calls to ensure things will be set up in the correct order. Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-13kernel/amd64: tss: Fix broken TSS codeIan Moffett
This commit fixes some horribly broken TSS code. It is unclear how it got this broken. Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-13kernel/amd64: trap: Log instruction pointerIan Moffett
This commit adds some logic to trap_handler() which makes it show the instruction pointer from the trapframe. Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-13kernel/amd64: trap: Cleanup commentsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-12kernel: lib: Fix warnings with __assert()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-12kernel/amd64: machdep: Fixup comment clarityIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-11kernel/amd64: Add Task State SegmentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-11kernel/amd64: machdep: Include missing headerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-11kernel/amd64: machdep: Add module infoIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-11kernel: init: Fixup call orderIan Moffett
Some virtual memory routines are called by processor_init()... This is a temporary workaround until these calls are moved to processor_init() Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-11kernel/amd64: Update arch(9)Ian Moffett
This commit cleans up arch(9) as a few things were noticed. First, it would make sense to identify cores (described by the cpu_info structure) in every arch ported, thus the lapic_id has been changed to id so it can be shared. Some annotations have also been added for the sake of clarity. The manpage for arch(9) has also been cleaned up. Signed-off-by: Ian Moffett <ian@osmora.org>
2023-12-06kernel/amd64: lapic: Fix typoIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-11-24kernel: Fixup VM header namingIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-11-24kernel: vm: Port TLSF allocatorIan Moffett
This commit adds a Two-Level Segregated Fit memory allocator port to the Hyra kernelspace. Signed-off-by: Ian Moffett <ian@osmora.org>
2023-11-24kernel: lib: Add assert headerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-11-24build: Update 'vega' binaries to 'hyra'Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2023-11-14kernel/amd64: lapic: Simplify LAPIC timer initsigsegv7
Signed-off-by: sigsegv7 <ian@osmora.org>