All of lore.kernel.org
 help / color / mirror / Atom feed
* mmio_decode()
@ 2006-11-21 12:42 Jan Beulich
  2006-11-21 13:44 ` mmio_decode() Keir Fraser
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2006-11-21 12:42 UTC (permalink / raw)
  To: xen-devel

Could anyone enlighten me why this function decodes arbitrary opcodes?
I.e. 0x20...0x23 are all getting decoded, but only 0x00 (and not
0x01...0x03) and only 0x2B (and not 0x2A). I guess this is based on
observed instructions used for mmio, but - this doesn't make sense! That
way, we'll never get to a point where arbitrary OSes (or other
environments) can get emulated.

(To make things odd, I'm complaining about this while the absence of
a decode for 0x00 actually helped pointing out another problem that
I'm in the process of trying to address: Newer isolinux runs partly in
non-flat protected mode, which apparently isn't generally being
considered a supported environment).

Jan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mmio_decode()
  2006-11-21 12:42 mmio_decode() Jan Beulich
@ 2006-11-21 13:44 ` Keir Fraser
  0 siblings, 0 replies; 2+ messages in thread
From: Keir Fraser @ 2006-11-21 13:44 UTC (permalink / raw)
  To: Jan Beulich, xen-devel




On 21/11/06 12:42, "Jan Beulich" <jbeulich@novell.com> wrote:

> Could anyone enlighten me why this function decodes arbitrary opcodes?
> I.e. 0x20...0x23 are all getting decoded, but only 0x00 (and not
> 0x01...0x03) and only 0x2B (and not 0x2A). I guess this is based on
> observed instructions used for mmio, but - this doesn't make sense! That
> way, we'll never get to a point where arbitrary OSes (or other
> environments) can get emulated.

Opcodes get faulted in as needed. Pretty stupid I agree.

 -- Keir

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-21 13:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-21 12:42 mmio_decode() Jan Beulich
2006-11-21 13:44 ` mmio_decode() Keir Fraser

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.