From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: Isaku Yamahata <yamahata@valinux.co.jp>
Cc: samuel.thibault@ens-lyon.org, xen-devel@lists.xensource.com,
ian.jackson@eu.citrix.com, xen-ia64-devel@lists.xensource.com
Subject: Re: [PATCH 2/2] ioemu: initialize vram area to 0xff
Date: Thu, 15 Jan 2009 12:49:08 +0000 [thread overview]
Message-ID: <496F30C4.1010702@eu.citrix.com> (raw)
In-Reply-To: <20090115122455.GY1565%yamahata@valinux.co.jp>
Isaku Yamahata wrote:
> +
> + xen_vga_vram_map(vram_addr, vga_ram_size);
> +
> + /* Win2K seems to assume that the pattern buffer is at 0xff
> + initially ! */
> + memset(xen_vga_state->vram_ptr, 0xff, vga_ram_size);
Are you sure that this is really needed?
Isn't the Bios supposed to take care of that?
> + /* If some display is already working, we need to update it now */
> + ds= xen_vga_state->ds;
> + if (ds)
> + dpy_update(ds, 0,0, ds->width,ds->height);
I don't think this is needed as well: xen_vga_vram_map is called either
during the initialization state or when loading the vm state file.
At both points the display shouldn't need any update.
next prev parent reply other threads:[~2009-01-15 12:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-15 12:24 [PATCH 2/2] ioemu: initialize vram area to 0xff Isaku Yamahata
2009-01-15 12:49 ` Stefano Stabellini [this message]
2009-01-16 5:22 ` Isaku Yamahata
2009-01-16 16:00 ` Stefano Stabellini
2009-01-16 16:09 ` Ian Jackson
2009-01-16 16:18 ` Stefano Stabellini
2009-01-16 16:27 ` Ian Jackson
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=496F30C4.1010702@eu.citrix.com \
--to=stefano.stabellini@eu.citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=samuel.thibault@ens-lyon.org \
--cc=xen-devel@lists.xensource.com \
--cc=xen-ia64-devel@lists.xensource.com \
--cc=yamahata@valinux.co.jp \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.