summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
4 daysusr: libc: Improve stddef.hQuinn Stephens
* Used __need_* to improve compatibility with some programs/libraries. * Used compiler built-in types (with fallbacks) to define size_t, ptrdiff_t, wchar_t, and wint_t. * Added other definitions as specified in C23. Signed-off-by: Quinn Stephens <quinn@osmora.org> Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: video: Add /ctl/fb0/attrIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: vm: Allow NULL `addr' for cdev mappingsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: device: Harden cdev mmap() bounds checksIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 daysusr: libc: Add stdarg.hQuinn Stephens
Signed-off-by: Quinn Stephens <quinn@osmora.org> Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskernel: syscall: Add SYS_mmap and SYS_munmapIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskernel: vm: Prepare for user mmap() interfaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 daysusr.bin: Build fetch toolIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 daysproject: Bump version to v1.8Ian Moffett
Changes introduced: - Add S_IFBLK to sys/stat.h [0] - Add device hook to request block size [1] - Add __used attribute to sys/cdefs.h [2] - Fix console backspace bug [3] - Introduce per-arch md_hlt() macro [4] - Add better page fault diagnostics [5] - Introduce actual kernel threads [6, 7, 8] - Add kernel message buffer [9] - Add OSH `kmsg' command [10] - Support kicking kernel threads [11] - Add SPAWN_WAIT flag for spawn() [12] ... Commits referenced: [0]: 3ba53262ba815ca94572b0c23e2bc0eed83d5cbb [1]: 6b52b61f5bde1bcc1e08d760b6650009e9f1cab4 [2]: 80ad195e2aa15e571d4d5669ede39f2790a39f62 [3]: 978dfa5e02acfcc35b9f31b9c88255c79ebcfb54 [4]: bc883188afb45dec4a3319ae05ebf6caab70f13a [5]: 3dc995e1eb82022453da9ed9d3b639b989e485cf [6]: 415fb9894a4cbd761791ef1e218a5b01089cf80d [7]: cb807eb795e1380513db4c7dbce0452645746abf [8]: 4d423137ba180d252088c3925587057abd02d084 [9]: 81ffbaa6d5f2270a5c32d0f22da14606e0bd5394 [10]: 36d829cb9b6bbb29c28aaa1454593c74d0a5bc59 [11]: a1383ceb824076be78b23913b1a750c3a70a4f80 [12]: 5907c6f4b449d90aa9173955374e24408d5c9c8c Signed-off-by: Ian Moffett <ian@osmora.org>
5 daysusr: libc: Add stdatomic.hQuinn Stephens
Signed-off-by: Quinn Stephens <quinn@osmora.org> Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskernel: vm: Add initial shared mapping supportIan Moffett
Add initial shared mapping support allowing device files to be mapped out into memory. Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskernel: fbdev: Add /dev/fb0 char deviceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskernel: vm: Add initial device pager implIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskernel: vfs: Store device major/minor in vnodeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskernel: device: Add mmap() hook for cdevswIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel/aarch64: pmap: Add dirty bit + cache stubsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel/amd64: pmap: Add PTE dirty bit handlingIan Moffett
Add support for managing the page table entry dirty bit. This will allow vm(9) to know when to page-out data to backing store, among other things. Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel: xhci: Ensure of PCI bus mastering and MMIOIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel/amd64: Add support for TLB shootdownsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel/amd64: Only use HALT_VECTORIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel/amd64: Reserve IDT vec 0x22 for TLB IPIsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel/amd64: mp: Add BSP to `ci_list'Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel/amd64: cdefs: Add __invlpg() asm wrapperIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel/amd64: mp: Keep track of CPUs by indexIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 daysusr.bin: Add simple `fetch' programIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 daysusr: Pass OS version and ARCH to user programsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 daysusr.bin: osh: Make kmsg its own programIan Moffett
- Give command table entries a path field to refer to paths of executable files - Make kmsg its own program in /usr/bin/kmsg Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: spawn: Fix fmt argIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: spawn: Add support for SPAWN_WAIT flagIan Moffett
Add SPAWN_WAIT flag that causes spawn() to wait until the child process completes. Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel/amd64: proc: Support kicking kernel threadsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: exec: Initially disable intr in execve()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: sched: Implement better sched_yield()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: proc: Add proc_reap() for zombies, etcIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: sched: Enable interrupts in sched_enter()Ian Moffett
Ensure interrupts will go through once sched_enter() is called. Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: proc: Add PROC_SLEEP to pause threadsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: sched: Add sched_switch_to()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: proc: `spawn_data' -> `data'Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: spawn: Add missing includeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: descrip: Lock filedes during r/w operationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: drivers: Add missing whitespaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 daysusr.bin: osh: Add kmsg command for kernel messagesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: syslog: Add kernel message bufferIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: descrip: Increment fd offset per read()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: devfs: Do not dynfree() dnp during reclaimIan Moffett
Devfs entries should be persistent throughout system operation and closing a file descriptor results in the vnode being released and its respective reclaim hook being called. Signed-off-by: Ian Moffett <ian@osmora.org>
10 daysdocs: readme: Update build instructionsIan Moffett
Running `hyra-build.sh' by itself will result in a live .iso being generated. Use the `-h' flag for more options. Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskernel: uacpi: Implement kernel nsec funcIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskernel/amd64: hpet: Add hpet_time_nsec()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskernel: Schedule drivers after AP bootstrapIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskernel: ahci: Defer ahci_init()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
10 dayskernel: drivers: Add DRIVER_DEFER() macroIan Moffett
- Add DRIVER_DEFER() macro to schedule initialization for lower priority drivers - Expose `proc0' to the rest of the kernel Signed-off-by: Ian Moffett <ian@osmora.org>