qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] SMM jmp weirdness


From: Stefan Reinauer
Subject: [Qemu-devel] SMM jmp weirdness
Date: Thu, 11 Nov 2010 16:53:11 -0800

Hi,

I'm looking at the following piece of code running under QEMU

   0x38000:     66 bd 90 f8 27 3f       mov    $0x3f27f890,%ebp ;
target address for jmp
   0x38006:     66 2e 2b 2e f8 fe       sub    %cs:0xfef8,%ebp    ;
subtract SMBASE
   0x3800c:     66 ff e5                     jmpl   *%ebp

The code is run in system management mode and should eventually jump
to 0x3f27f890. However, that jump fails and QEMU continues code
execution at 0x3800f. I suspect this is due to some missing SMM
special case in translate.c:disas_insn() in the jmp Ev path, but I'm
not sure yet where to go from there.
Can anyone toss me in the right direction?

Any help appreciated,
Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]