summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
10 dayskern: io: Fix typo in header guardIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskern: vm: Don't clobber original map specIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskern: proc: Don't acquire maplist lock during initIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskern/amd64: build: Add stub MD confIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskern: fs: Add initial devfs implementationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskern: namei: Fallback to path parse if lookup failIan Moffett
If the filesystem is marked to require image-like paths but the path could not be found, fallback to parsing it manually as perhaps it is somewhere else. Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskern: mount: Remove extra unwanted spaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskern: Add initial signals workIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
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>
12 dayslibc: stdio: Add POSIX puts()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayslibc: unistd: Fix typo in header guardIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayslibc: unistd: Add write() system call wrapperIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayslibc: string: Add POSIX strnlen()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayslibc: string: Add POSIX strlen()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayssys: unistd: Add standard stream file numbersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 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>
13 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>
13 dayslibc: Add ssize_t to sys/stddef.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 dayslibc: crt: Call main function from _startIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 dayslibc: Build all cfilesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 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>
13 dayslibc: Add stddef.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 dayssys: Add sys/_null.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 daysMerge branch 'master' into devIan Moffett
13 dayslibc: Add stdint.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 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>