summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
7 dayskernel: spawn: Fix fmt argIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 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>
7 dayskernel/amd64: proc: Support kicking kernel threadsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel: exec: Initially disable intr in execve()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel: sched: Implement better sched_yield()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel: proc: Add proc_reap() for zombies, etcIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 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>
7 dayskernel: proc: Add PROC_SLEEP to pause threadsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel: sched: Add sched_switch_to()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel: proc: `spawn_data' -> `data'Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel: spawn: Add missing includeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel: descrip: Lock filedes during r/w operationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: drivers: Add missing whitespaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 daysusr.bin: osh: Add kmsg command for kernel messagesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: syslog: Add kernel message bufferIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: descrip: Increment fd offset per read()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 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>
9 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>
9 dayskernel: uacpi: Implement kernel nsec funcIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel/amd64: hpet: Add hpet_time_nsec()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: Schedule drivers after AP bootstrapIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: ahci: Defer ahci_init()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 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>
9 dayskernel: syslog: Handle userspace kmsg loggingIan Moffett
- Add USER_KMSG option to configure if kernel messages should be logged in user contexts - Add syslog_silence() to silence kernel messages in user contexts if USER_KMSG is "yes" Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: proc: Store kernel thread flag in `proc'Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskconf: GENERIC: Add additional documentationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: exit: Ensure curtd is NULL if killedIan Moffett
If the current process is killed, make sure that we set the pointer to the currently running process to NULL. Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: exit: Handle killings of kernel threadsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel/amd64: trap: Log page fault flagsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskernel: disklabel: Improve clarityIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskernel: Add initial installer implIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskernel: sched: Don't switch on PID 0Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskernel: Add md_halt()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 daysbuild: Generate OMAR ramfs after invoking makeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 daysbuild: Clean stage 1 on two stage buildsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayssys: Add initial sys/disklabel.hIan Moffett
Adds initial sys/disklabel.h header which describes the ODT (OSMORA Disk Table) Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskernel: cons: Fix newline caused by excessive '\b'Ian Moffett
Before this commit, if you were to write out too many backspace characters, it would result in an integer underflow for the scr->curs_col and scr->ch_col state resulting in the console logic assuming the cursor has gone too far off the screen which would cause behavior similar to as if you wrote out a line-feed character. Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskernel: ahci: Add ahci_dev_bsize()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskernel: ahci: Add ahci_dev_write()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskernel: ahci: Create devfs entry as block deviceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskernel: init_main: Fix sizeof arg on proc0 memsetIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayssys: cdefs: Add __used attributeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskernel: devfs: Add callback to request block sizeIan Moffett
Add bsize() callback within the bdevsw structure. This returns the number of blocks a block device supports at maximum. This result is *not* in bytes. Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskernel: ahci: Detect max SATA sector countIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskernel: ahci: Do not fake success on empty portIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskernel: ahci: Add ahci_get_dev() for drive lookupsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
12 dayskernel: ahci: Fix operator in dev_max checkIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>