summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
9 dayskern: init: Initialize namespaces before modulesIan Moffett
Some modules rely on the object namespace to keep track of state for them. So we need to initialize the namespace before we initialize those modules Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskern: ns: Extract true object data from entryIan Moffett
Before, the lookup was only returning the object and not the data behind the object itself. Now we extra the data from the object that exists within the hashmap entry. Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskern: ns: Include nsvar.h in os/ns.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskern: ns: Remove unused length fieldIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayslib: Add initial libwidget skeletonIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayslibc: string: Add memset()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayslibc: string: Add memcpy()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayslibc: Add POSIX errno.h headerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskern: Add initial object namespace sourcesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskern: compat: Use copyin() in SYS_writeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskern: Add safe copyin() and copyout()Ian Moffett
Introduce new routines that make it safer to transfer data between userland and the kernel. Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskern: lib: Add strdup()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
10 daysbuild: Remove -znoexecstackIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
10 daysbuild: Use clang during early stateIan Moffett
Use clang during early state until we configure our own cross compiler for L5 Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskern: cpu: Fix typo in ap_entry()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskern: pci: Remove redundant semicolonIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
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>