diff options
| author | Bobby <[email protected]> | 2026-01-22 18:15:12 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2026-01-22 18:15:12 +0530 |
| commit | 3edd887543474bac679cc8073006bfe4ceacb2ea (patch) | |
| tree | 3a387acdd6b931f681fc360c7013b9321d4f8758 /Makefile | |
| parent | b0375f165f3616dbb8b880b7cf602d281f1d27de (diff) | |
| download | akiba-3edd887543474bac679cc8073006bfe4ceacb2ea.tar.xz akiba-3edd887543474bac679cc8073006bfe4ceacb2ea.zip | |
feat: Implement keyboard input handling and shell functionality
- Added framebuffer initialization and retrieval functions in multiboot2.zig.
- Integrated framebuffer support into the boot sequence.
- Refactored keyboard driver to use a circular buffer for input and added blocking behavior for kata waiting on keyboard input.
- Enhanced kata management to support blocking and waking katas based on keyboard input.
- Introduced a new invocation for reading a character from the keyboard (getkeychar).
- Implemented a simple shell (ash) that reads user input and echoes it back.
- Updated syscall handling to include the new getkeychar invocation.
- Improved memory management for loading programs and handling user/kernel stacks.
- Added functionality to wake katas waiting for specific events, such as the dissolution of other katas.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -179,8 +179,9 @@ prepare-filesystem: build-grub echo " ✓ pulse.akibainit"; \ else \ echo " Wrapping $$sysname.akiba..."; \ - $(BUILD_DIR)/bin/akibabuilder "$(BUILD_DIR)/system/$$sysname" "$(FS_ROOT)/system/$$sysname.akiba" cli && \ - echo " ✓ $$sysname.akiba"; \ + mkdir -p "$(FS_ROOT)/system/$$sysname" && \ + $(BUILD_DIR)/bin/akibabuilder "$(BUILD_DIR)/system/$$sysname" "$(FS_ROOT)/system/$$sysname/$$sysname.akiba" cli && \ + echo " ✓ system/$$sysname/$$sysname.akiba"; \ fi; \ fi; \ fi; \ |
