[SeaBIOS] [RFC PATCH 1/2] serial console, output
pbonzini at redhat.com
Mon Jul 4 14:48:48 CEST 2016
On 04/07/2016 14:46, Gerd Hoffmann wrote:
> We run in real mode, so passing around pointers isn't that easy.
> Given this would make sense for constant strings only (like the 4-byte
> clear-screen sequence) and not so much for variable stuff we might put
> all strings in the global segment.
Hmm you're right, pointers are messy here.
> Would this ...
> void sercon_putchar(char *ptr)
> char c = GET_GLOBAL(ptr);
> [ ... ]
> ... work?
More information about the SeaBIOS