From: Gerhard Wiesinger <lists@wiesinger.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] Makefile vgabios.c: Add filename to VGA splash screen
Date: Fri, 17 Feb 2012 07:38:57 +0100 (CET) [thread overview]
Message-ID: <alpine.LFD.2.02.1202170737540.26542@bbs.intern> (raw)
Filename is now displayed at VGA splash screen
to see which BIOS on different VGAs will be used.
Signed-off-by: Gerhard Wiesinger <lists@wiesinger.com>
---
Makefile | 2 +-
vgabios.c | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 578721a..627b758 100644
--- a/Makefile
+++ b/Makefile
@@ -74,7 +74,7 @@ vgabios-qxl.debug.bin : $(VGA_FILES) $(VBE_FILES) biossums
# build rule
%.bin:
- $(GCC) -E -P vgabios.c $(VGABIOS_VERS) $(VGAFLAGS) $(VGABIOS_DATE) > _$*_.c
+ $(GCC) -E -P vgabios.c $(VGABIOS_VERS) $(VGAFLAGS) $(VGABIOS_DATE) -DBIOS_NAME=\"$*.bin\" > _$*_.c
$(BCC) -o $*.s -C-c -D__i86__ -S -0 _$*_.c
sed -e 's/^\.text//' -e 's/^\.data//' $*.s > _$*_.s
$(AS86) _$*_.s -b $*.bin -u -w- -g -0 -j -O -l $*.txt
diff --git a/vgabios.c b/vgabios.c
index c1e312b..3b308f2 100644
--- a/vgabios.c
+++ b/vgabios.c
@@ -177,6 +177,9 @@ vgabios_version:
vgabios_date:
.ascii VGABIOS_DATE
+.ascii " ("
+.ascii BIOS_NAME
+.ascii ")"
.byte 0x0a,0x0d
.byte 0x00
--
1.7.7.6
next reply other threads:[~2012-02-17 6:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-17 6:38 Gerhard Wiesinger [this message]
2012-02-23 7:05 ` [Qemu-devel] [PATCH] Makefile vgabios.c: Add filename to VGA splash screen Gerhard Wiesinger
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=alpine.LFD.2.02.1202170737540.26542@bbs.intern \
--to=lists@wiesinger.com \
--cc=qemu-devel@nongnu.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).