[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 1/2] serial console, output
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [RFC PATCH 1/2] serial console, output |
Date: |
Mon, 04 Jul 2016 22:23:56 +0200 |
Hi,
> > void sercon_putchar(char *ptr)
> > {
> > char c = GET_GLOBAL(ptr[0]);
> > [ ... ]
> >
> > ... work?
>
> Yes. See output.c:puts_cs() as an example. It only works if it's a
> constant string (as opposed to a string built on the stack).
After cleaning up the code only three fixed sequences are left: reset,
clear screen and move cursor right. Don't think it is worth creating a
putstring function just for these.
cheers,
Gerd
- Re: [Qemu-devel] [RFC PATCH 1/2] serial console, output, (continued)
- Re: [Qemu-devel] [RFC PATCH 1/2] serial console, output, Paolo Bonzini, 2016/07/04
- Re: [Qemu-devel] [RFC PATCH 1/2] serial console, output, Gerd Hoffmann, 2016/07/04
- Re: [Qemu-devel] [RFC PATCH 1/2] serial console, output, Paolo Bonzini, 2016/07/04
- Re: [Qemu-devel] [RFC PATCH 1/2] serial console, output, Kevin O'Connor, 2016/07/04
- Re: [Qemu-devel] [RFC PATCH 1/2] serial console, output, Paolo Bonzini, 2016/07/04
- Re: [Qemu-devel] [RFC PATCH 1/2] serial console, output, Gerd Hoffmann, 2016/07/04
- Re: [Qemu-devel] [RFC PATCH 1/2] serial console, output, Kevin O'Connor, 2016/07/04
- Re: [Qemu-devel] [RFC PATCH 1/2] serial console, output, Paolo Bonzini, 2016/07/04
- Re: [Qemu-devel] [RFC PATCH 1/2] serial console, output, Kevin O'Connor, 2016/07/04
- Re: [Qemu-devel] [RFC PATCH 1/2] serial console, output, Gerd Hoffmann, 2016/07/04
- Re: [Qemu-devel] [RFC PATCH 1/2] serial console, output,
Gerd Hoffmann <=
[Qemu-devel] [RFC PATCH 2/2] serial console, input, Gerd Hoffmann, 2016/07/01
- Re: [Qemu-devel] [SeaBIOS] [RFC PATCH 2/2] serial console, input, Kevin O'Connor, 2016/07/01
- Re: [Qemu-devel] [SeaBIOS] [RFC PATCH 2/2] serial console, input, Kevin O'Connor, 2016/07/01
- Re: [Qemu-devel] [SeaBIOS] [RFC PATCH 2/2] serial console, input, Gerd Hoffmann, 2016/07/04
- Re: [Qemu-devel] [SeaBIOS] [RFC PATCH 2/2] serial console, input, Kevin O'Connor, 2016/07/04
- Re: [Qemu-devel] [SeaBIOS] [RFC PATCH 2/2] serial console, input, Gerd Hoffmann, 2016/07/04
Re: [Qemu-devel] [RFC PATCH 0/2] seabios: add serial console support, Gerd Hoffmann, 2016/07/01