Conversation
added 7 commits
February 21, 2026 16:21
- Added serial output messages in `enter_baremetal` and `efi_main` to aid debugging during boot. - Expanded the PS/2 keyboard driver with full ASCII support and scan code handling, including initialization and state management. - Implemented assembly routines for PS/2 port I/O operations, including reading status, writing commands, and flushing the output buffer. - Updated embedded relocation data for the bootloader to reflect changes in the binary layout. - Improved error handling in memory allocation and exit boot services calls.
- Introduced `SpawnProcess` variant in `CommandResult` enum. - Implemented `exec` and `run` commands in the `execute` function to handle process spawning. - Updated help text to include usage instructions for the new command. feat(shell): update ShellAction enum for process spawning - Added `SpawnProcess` variant to `ShellAction` enum. - Updated command handling in the `Shell` struct to accommodate the new action. feat(device): implement in-memory block device - Created `MemBlockDevice` struct for zero-copy reads/writes. - Implemented `BlockIo` trait for `MemBlockDevice` to handle block operations. feat(vfs): initialize root filesystem on memory-backed block device - Added `FsGlobal` struct to manage filesystem state. - Implemented `init_root_fs` function to format and mount the filesystem. feat(hwinit): add ELF64 parser and user-process loader - Implemented ELF64 parsing and loading functionality for x86-64 architecture. - Added functions to validate ELF headers, read program headers, and load segments into memory. feat(hwinit): create kernel stdin buffer for keyboard input - Implemented a lock-free SPSC ring buffer for handling keyboard input. - Added functions for pushing bytes into the buffer and reading from it. feat(libmorpheus): create userspace library for syscall wrappers - Established `libmorpheus` crate for userspace applications to interact with kernel services. - Implemented basic syscall wrappers for file operations, process management, and I/O. feat(libmorpheus): add entry point and panic handler for user processes - Defined `_start` entry point for user binaries and a minimal panic handler. feat(libmorpheus): implement filesystem operations in userspace library - Added high-level wrappers for filesystem syscalls including open, read, write, and delete operations. feat(libmorpheus): add raw syscall wrappers for inline assembly - Created thin wrappers around the `syscall` instruction for various system calls. chore: add target configuration for x86_64 architecture - Created `x86_64-morpheus.json` for LLVM target configuration.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.