summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
12 dayskern: proc: Protect mapping list with spinlockIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskern/amd64: mmu: Map with zero if prot is also zeroIan Moffett
To ensure that all residual data does not remain for the mapping in its table, we write a flat zero if prot is also zero i.e., no permissions Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskern/amd64: mmu: pmap_set_cache() -> pmap_set_cache()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskern/amd64: panic: Halt all processors on panicIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskern/amd64: cpu: Add cpu_halt_others() functionIan Moffett
Add function to halt all processor cores on the machine excluding self. This may be used for emergency conditions on the system. Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskern/amd64: cpu: Add CPU halt ISR for IPIsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskern/amd64: cpu: Enable interrupts upon CPU startupIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 dayslibc: stdio: Add POSIX puts()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 dayslibc: unistd: Fix typo in header guardIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 dayslibc: unistd: Add write() system call wrapperIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 dayslibc: string: Add POSIX strnlen()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 dayslibc: string: Add POSIX strlen()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 dayssys: unistd: Add standard stream file numbersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 dayskern/amd64: Support APIC inter-processor interruptsIan Moffett
This commit introduces support for sending inter-processor interrupts on the mainbus to other cores on the machine. Signed-off-by: Ian Moffett <ian@osmora.org>
13 dayskernel: vm: Remove redundant newlineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 dayssys: Add BSD sys/tree.h portIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 dayskernel: filedesc: Allocate standard streamsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 dayssys: Add initial sys/stat.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 dayssys: Add sys/fcntl.h for file I/O Related bitsIan Moffett
Introduce initial fcntl flags for file related I/O. This is to be included on both the user and kernel side. Signed-off-by: Ian Moffett <ian@osmora.org>
14 dayslibc: Add resource border crossing interfaceIan Moffett
Introduce a new libc cross() function which acts as a wrapper to the SYS_cross system call. Signed-off-by: Ian Moffett <ian@osmora.org>
14 dayslibc: Add ssize_t to sys/stddef.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
14 dayslibc: crt: Call main function from _startIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
14 dayslibc: Build all cfilesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
14 dayskern: mac: Make mac_map() return ssize_tIan Moffett
The map callback within the MAC ops returns ssize_t, therefore the mac_map() wrapper should return the same Signed-off-by: Ian Moffett <ian@osmora.org>
14 dayslibc: Add stddef.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
14 dayssys: Add sys/_null.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
14 daysMerge branch 'master' into devIan Moffett
14 dayslibc: Add stdint.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
14 dayslibc: Ensure system includes are syncedIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-23usr: libc: Add libc syscall interfaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-23docs: readme: Add MAC to progressIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-23kern: security: Add initial support for MACIan Moffett
This commit introduces initial support for mandatory access control. As one may recall, L5 follows "everything is memory". In order to interact with a resource, a process must request it from the kernel in the form of a (sometimes) syncable memory buffer. Each resource as well as processes have an access level, if a process attempts to request a resource with a higher access level than it, the request is rejected by the kernel. However, if a process has a greater than or equal access level as a resource, the request can be granted. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-23kern/amd64: proc: Deallocate mapped frames on exitIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-23usr/amd64: Discard .eh_frame and .note sectionsIan Moffett
These sometimes cause issues so we are better off just stripping them from the final binary. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-23build: Properly copy to / clean up iso_rootIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-23build: Use silent builds in toplevel MakefileIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-23build: Use iso_root/ for iso generationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-22kern: ahci: Bring up ports via COMRESETIan Moffett
As we rely on resetting the controller via GHC.HR, we'll need to re-establish a link with each implemented port to actually bring them online. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-22kern: ahci: Replace printf calls with dtrace()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-22kern: ahci: Include missing io/dma/alloc.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-22kern: ahci: Add initial port bring-up logicIan Moffett
This commit introduces this initial bring-up logic for ports on the HBA. We have allocated the command headers and each FIS RX area for each respective command slot. More work to be done but this lays the groundwork Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-22kern: ahci: Fix typo in dtrace() macroIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-22kern: dma: Zero new memory by defaultIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-22kern: ahci: Keep track of number of command slotsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-22kern: ahci: Add further ahcivar.h defs for FIS/HDRIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-22kern: dma: Add DMA address helpersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-21kern: omar: Implement image-like lookup VOPIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-21kern: Mount root filesystem in vfs_init()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-21kern: vfs: Add support for image-like pathsIan Moffett
Typically filesystems are tree-like, however certain filesystems in the form of images have fixed paths baked into them. This optimizes handling so there isn't a need to unpack it into a rootfs/tmpfs Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-21kern: vnode: Add filesystem specific data to vnodeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>