Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: Devel

Re: [PATCH 1/7] vgabios: Output to Xen debug port instead of using Bochs one

 

 

Xen devel RSS feed   Index | Next | Previous | View Threaded


Paul.Durrant at citrix

May 1, 2012, 7:03 AM

Post #1 of 1 (77 views)
Permalink
Re: [PATCH 1/7] vgabios: Output to Xen debug port instead of using Bochs one

I'm confused. Last time I looked 0xE9 was the xen debug port.

Paul

> -----Original Message-----
> From: xen-devel-bounces [at] lists [mailto:xen-devel-
> bounces [at] lists] On Behalf Of Frediano Ziglio
> Sent: 01 May 2012 14:53
> To: Frediano Ziglio; xen-devel [at] lists
> Subject: [Xen-devel] [PATCH 1/7] vgabios: Output to Xen debug port instead
> of using Bochs one
>
>
> Signed-off-by: Frediano Ziglio <frediano.ziglio [at] citrix>
> ---
> tools/firmware/vgabios/vgabios.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/firmware/vgabios/vgabios.c
> b/tools/firmware/vgabios/vgabios.c
> index a9dbe00..e0b1ed9 100644
> --- a/tools/firmware/vgabios/vgabios.c
> +++ b/tools/firmware/vgabios/vgabios.c
> @@ -3811,9 +3811,9 @@ void printf(s)
> for (i=0; i<format_width; i++) {
> nibble = (arg >> (4 * digit)) & 0x000f;
> if (nibble <= 9)
> - outb(0xe9, nibble + '0');
> + outb(0x12, nibble + '0');
> else
> - outb(0xe9, (nibble - 10) + 'A');
> + outb(0x12, (nibble - 10) + 'A');
> digit--;
> }
> in_format = 0;
> @@ -3823,7 +3823,7 @@ void printf(s)
> // }
> }
> else {
> - outb(0xe9, c);
> + outb(0x12, c);
> }
> s ++;
> }
> --
> 1.7.5.4
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel [at] lists
> http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel

Xen devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.