|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [RFC PATCH 1/2] serial console, output |
Date: | Mon, 4 Jul 2016 14:48:48 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 |
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. Paolo > > Would this ... > > void sercon_putchar(char *ptr) > { > char c = GET_GLOBAL(ptr[0]); > [ ... ] > > ... work? >
[Prev in Thread] | Current Thread | [Next in Thread] |