Skip to content

x86_q35: add TextScreen HIL adapter for VGA text mode (PART 1)#48

Open
domnudragota wants to merge 1 commit into
masterfrom
pr/vga-textscreen-only
Open

x86_q35: add TextScreen HIL adapter for VGA text mode (PART 1)#48
domnudragota wants to merge 1 commit into
masterfrom
pr/vga-textscreen-only

Conversation

@domnudragota

Copy link
Copy Markdown

Pull Request Overview

  • This pull request adds a TextScreen HIL implementation for VGA text mode on x86_q35, without changing any board wiring yet.

  • New typed VGA text-mode writer (chips/x86_q35/src/vga.rs): 80×25 buffer, cursor, scroll, UTF-8→CP437/ASCII fallbacks.

  • Chip-side adapter (chips/x86_q35/src/vga_textscreen.rs) implementing kernel::hil::text_screen::TextScreen.

  • print() renders immediately and completes split-phase via a deferred call (write_complete).

  • Cursor/display commands complete synchronously and call command_complete(Ok(())).

  • Kept the legacy vga_uart_driver.rs compiling (adjusted to generic Vga). No behavior changes to existing UART console paths.

Testing Strategy

This pull request was tested by...

TODO or Help Wanted

This pull request still needs:

  • Follow-up PR: wire ProcessConsole to the new TextScreen adapter (replace the UART façade on the board).

  • Follow-up PR: PS/2 controller + keyboard device using kernel::hil::keyboard, delivering Linux keycodes to the console capsule.

Documentation Updated

  • Updated the relevant files in /docs, or no updates are required.

Formatting

  • Ran make prepush.

@domnudragota
domnudragota marked this pull request as ready for review September 18, 2025 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant