Skip to main content

Module vgabuf

Module vgabuf 

Source
Expand description

Bounded, allocation-free SMP queue between logging and framebuffer rendering. Formatting/rendering never retains a reference to a released queue slot.

Modulesยง

log_queue ๐Ÿ”’
Fixed-storage log queue. Safe publication under SMP and bounded overflow.

Constantsยง

FLUSH_BATCH ๐Ÿ”’
VGABUF_CAPACITY
VGABUF_LINE_LEN

Staticsยง

CONSOLE_TASK_ACTIVE ๐Ÿ”’
QUEUE ๐Ÿ”’

Functionsยง

console_task_active
console_task_main
One render opportunity per timer tick, independent of commands/status I/O.
vgabuf_drain_discard ๐Ÿ”’
vgabuf_flush_all
vgabuf_flush_all_direct ๐Ÿ”’
vgabuf_flush_to_framebuffer
Render a bounded batch. Retrying pending presents also displays the last keyboard echo/log fragment when no subsequent message arrives.
vgabuf_total_dropped
vgabuf_total_written
vgabuf_write
write_line ๐Ÿ”’