summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
6 daysproject: Final workflow fixupsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 daysproject: Update CI workflow nameIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 daysproject: Add github workflowsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: cdefs: Add __barrier() defineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-28kernel: termios: Remove duplicate ISTRIPIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-28kernel: termios: c_cc is of type cc_tIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-28kernel: driver: Remove trailing newlineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-22kernel: Add POSIX termios.h headerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-22kernel: cons: Add lock around root consoleIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-22kernel: dev: Add /dev/consoleIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-22kernel: devfs: Add support for write()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-22kernel: vfs: Add support for write()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-22libc: Add __stack_chk_fail() stubIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-21tools: Add hwdoc scriptIan Moffett
Add script to fetch hardware documentation/manuals from the OSMORA OCS. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-21project: Hyra Release v1.4Ian Moffett
What's new? - Kernel bug fixes and optimizations - Add new "contrib" script in tools/ - New bus resource interface in Hyra bus framework - ISA/LPC i8237 groundwork - Add pci_conf(9) - Improve kernel logging style - Add Peripheral Description Notation (see share/misc/pdn) Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-21share: pdn: Add titleIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-21kernel: Update kernel log styleIan Moffett
Kernel logs must now all be lowercase for consistency. A new style called Peripheral Description Notation (PDN) has also been introduced to describe devices. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-20docs: man: Add pci_conf(9)Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-20kernel/amd64: i8237: Use word register for modeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-20kernel/amd64: i8237: Optimize set channel selectIan Moffett
There is no need for an intermediary register before setting %AL. This commit removes redundant instructions to reduce the amount of cycles used for this operation. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-20kernel: ahci: Ensure HBA is AHCI awareIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-20kernel: ahci: Improve reset logic + cleanupIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-20kernel: ahci: Add AHCI spinwait timeoutIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-20kernel: ahci: __BIT() -> BIT()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-20kernel: ahci: Conform to OSMORA C styleIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-20kernel/amd64: isa: Add initial i8237 driver implIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-19kernel/amd64: bus: Add bus resource interfaceIan Moffett
This commit introduces a bus resource abstraction. A bus resource encapsulates bus specific information and semantics. Along with abstracting away bus specific details and providing an overall smoother interface, this additionally provides flexibility, access control and security by keeping track of permissions and allowing things to be turned on or off. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-19kernel: ahci: Clean up includesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-19tools: contrib: Sort by most changes (++/--)Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-19kernel: ahci: Fix up styleIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-19tools: Add script to list contributorsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-19kernel: ahci: Map ABAR and perform HBA resetCaelus
Signed-off-by: Ian Moffett <ian@osmora.org> Signed-off-by: Caelus <neptune@osmora.org>
2025-02-18kernel: ahci: Add necessary AHCI related headersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-18share: man: Add mmio(9)Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-18kernel: ahci: Add initial skeletonIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-18docs: Add contrib guideIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-18kernel: param: Add bit MASK() macroIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-16Merge branch 'main' into exptIan Moffett
2025-02-16project: Update copyright date to 2025Ian Moffett
Was supposed to happen on Jan 1, sorry! Happy late new year! Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-15kernel/amd64: i8254: freq_hz -> divisorIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-15kernel: signal: No need to compare ksig_listIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-15kernel/amd64: lapic: Get rid of unused functionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-15project: Hyra Release v1.3Ian Moffett
What's new? - Add new defines in sys/cdefs.h. - Clean up Kernel synchronization API (sys/kern/kern_synch.c). - Added queue(3) and tree(3) to the man page directory. - Added extra security measures around interrupt entry code to prevent potentially nasty speculative execution issues (see commit 817d1ad). - Default to Clang/LLVM during builds. - Significant console optimizations (see commit d8fd1be) - Significant boot latency reductions due to PCI bus scan optimizations (see commit e7cf7a9) Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-15kernel/amd64: uart: Fix newline errorsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-15kernel: amd64: Add more defines to UART driverQuinn Stephens
Added more defines and comments to the UART driver, based on the 16550 chip datasheet, to make it more clear how each operation works. Signed-off-by: Quinn Stephens <quinn@osmora.org> Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-15kernel: pci: Optimize PCI bus scanningQuinn Stephens
Uses recursive bus/bridge scanning, skips nonexistent devices, and only scans for multiple functions on multifunction devices. This may result in PCI scanning being up to 100x as fast. Signed-off-by: Quinn Stephens <quinn@osmora.org> Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-15kernel: cons: Optimize console drawingQuinn Stephens
Prevents the cursor from being cleared right before a character is drawn or right after the screen is cleared. Also optimized the cursor drawing routine to just draw a rectangle instead of rendering a space character. Additionally renamed `cons_render_char()` to `cons_draw_char()` and fixed all characters being drawn one pixel too far to the right. Signed-off-by: Quinn Stephens <quinn@osmora.org> Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-15kernel/amd64: i8254: freq_hz -> divisorIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-15kernel: signal: No need to compare ksig_listIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-15kernel/amd64: lapic: Get rid of unused functionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>