summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2024-06-23kernel: Add fork1()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-23kernel/amd64: Add machdep thread init functionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-23kernel: sched: Add PCB and context switchingIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-23kernel/amd64: gdt: Add user CS/DS definesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-23kernel/amd64: pmap: Add function to create new VASIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-23kernel: vm: Add g_kvas for kernel VASIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-21kernel: cdefs: Fixup commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-20kernel/amd64: intr: Add splraise/splx supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-20kernel: queue: Add sys/queue.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-19kernel: Add initramfs and initial VFS codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-19kernel: lib: Add strncmp()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-19kernel: types: Add mode_tIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-13kernel: string: Add strcmp()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-13kernel/amd64: pmap: Fixup and improve consistencyIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-11kernel: Add sys/atomic.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-11kernel: types: Add off_tIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-10kernel: vm: Add initial code for MI layerIan Moffett
Add initial code for the machine independent virtual memory layer Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-09kernel/amd64: pmap: Add initial pmap codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-09kernel: types: Add paddr_t and vaddr_tIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-09kernel: param: Expand supported bit widthIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-09kernel: cdefs: Cleanup commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-08kernel/amd64: Prepare for schedulerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-08kernel: types: Add pid_tIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-08kernel: Add __static_assert macroIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-08kernel/amd64: Pass CPU info to cpu_startup()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-08kernel/amd64: lapic: Add End-Of-Interrupt helperIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-08kernel/amd64: lapic: Don't test register_timer()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-08kernel/amd64: lapic: Serialize lapic_timer_init()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-07kernel: Add __cacheline_aligned macroIan Moffett
This commit introduces a "__cacheline_aligned" macro which aligns data by the cache line size (COHERENCY_UNIT bytes). This is useful for heavily contended locks. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-06kernel/amd64: lapic: Assign timer to IST_SCHEDIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-06kernel/amd64: tss: Add support for TSSIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-06kernel/amd64: lapic: Add support for LAPIC timerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-06kernel/amd64: intr: Add intr_alloc_vector()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-06kernel: cdefs: Add __likely() and __unlikely()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-06kernel/amd64: isa: Add i8254 driverIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-06kernel: param: Add bit combining macrosIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-05kernel: vm: Add port of TLSFIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-05kernel: Add __assert()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-05kernel: init_main: Init virtual memory subsystemIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-05kernel/amd64: Add initial LAPIC codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-04kernel/amd64: spectre: Disable IBRS by defaultIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-04kernel/amd64: Add I/O APIC driverIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-04kernel/amd64: acpi: Support parsing MADTIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-04kernel: Add sys/errno.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-04kernel/amd64: Support IBRSIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-04kernel/amd64: trap: Add logging for debuggingIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-04kernel: vm: Add physical memory allocatorIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-04kernel: lib: Add memset()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-04kernel: Add ALIGN_UP/ALIGN_DOWN macrosIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-04kernel: Add bitmap helper macrosIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>