From: Frediano Ziglio <frediano.ziglio@citrix.com>
To: xen-devel@lists.xen.org
Cc: Frediano Ziglio <frediano.ziglio@citrix.com>
Subject: [PATCH 1/7] vgabios: Output to Qemu debug port instead of using Bochs one
Date: Fri, 4 May 2012 13:36:44 +0100 [thread overview]
Message-ID: <1336135010-26940-2-git-send-email-frediano.ziglio@citrix.com> (raw)
In-Reply-To: <1336135010-26940-1-git-send-email-frediano.ziglio@citrix.com>
Bios was outputing into port 0xe9 while Qemu use 0x12
Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com>
---
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
next prev parent reply other threads:[~2012-05-04 12:36 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-04 12:36 [PATCH 0/7] VGA BIOS patches Frediano Ziglio
2012-05-04 12:36 ` Frediano Ziglio [this message]
2012-05-04 14:04 ` [PATCH 1/7] vgabios: Output to Qemu debug port instead of using Bochs one Ian Campbell
2012-05-04 12:36 ` [PATCH 2/7] vgabios: Does not define cur_mode if not required Frediano Ziglio
2012-05-04 12:36 ` [PATCH 3/7] vgabios: Fix size computation overflow Frediano Ziglio
2012-05-04 14:12 ` Ian Campbell
2012-05-04 14:18 ` Frediano Ziglio
2012-05-04 14:26 ` Ian Campbell
2012-05-04 14:45 ` Frediano Ziglio
2012-05-04 14:47 ` Frediano Ziglio
2012-05-04 14:48 ` Frediano Ziglio
2012-05-04 12:36 ` [PATCH 4/7] vgabios: Report mode not supported getting mode informations Frediano Ziglio
2012-05-04 14:18 ` Ian Campbell
2012-05-04 12:36 ` [PATCH 5/7] vgabios: Reduce stack usage " Frediano Ziglio
2012-05-04 12:36 ` [PATCH 6/7] vgabios: Check if mode is currently supported as vesa specifications Frediano Ziglio
2012-05-04 12:36 ` [PATCH 7/7] vgabios: Make Windows 8 support greater resolutions Frediano Ziglio
2012-05-04 14:19 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1336135010-26940-2-git-send-email-frediano.ziglio@citrix.com \
--to=frediano.ziglio@citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).