• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kernelite / milo / 46468441242

30 Nov 2026 05:00PM UTC coverage: 49.993% (+0.5%) from 49.451%
46468441242

push

github

web-flow
feat(drivers): add framebuffer abstraction and QEMU etc/ramfb display driver (#204)

Implement a transport-agnostic linear framebuffer abstraction and QEMU
`ramfb` display driver backed by `fw_cfg` DMA:

- Add `Framebuffer` and `FramebufferGeometry` in
  `kernel/drivers/video/framebuffer.{hpp,cpp}` supporting `XRGB8888` and
  `ARGB8888` pixel formats, contiguous PFA backing frame allocation,
  D-cache flushing, and bounds-checked `clear()`, `put_pixel()`, and
  `fill_rect()` primitives
- Add `RamfbDevice` and big-endian `RamfbConfigRaw` wire encoding in
  `kernel/drivers/video/ramfb.{hpp,cpp}` to locate `etc/ramfb` via
  `FwCfgDevice` and commit framebuffer configuration over DMA
- Expose `HAL::Platform::primary_framebuffer()` in `kernel/hal/platform.hpp`
  and initialize `ramfb` during kernel boot in `kernel/main.cpp`
- Add host Snitch unit tests in `tests/host/ramfb_test.cpp` covering
  geometry validation, big-endian payload serialization, drawing primitives,
  and PFA frame lifecycle cleanup

2539 of 6184 branches covered (41.06%)

Branch coverage included in aggregate %.

150 of 168 new or added lines in 4 files covered. (89.29%)

5068 of 9032 relevant lines covered (56.11%)

3485.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.2
/kernel/drivers/video/framebuffer.cpp


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc