[Top][All Lists]

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

[Qemu-discuss] Qemu execute code outside RAM or ROM at 0x000000010000000

From: EricSong
Subject: [Qemu-discuss] Qemu execute code outside RAM or ROM at 0x0000000100000000
Date: Fri, 24 Oct 2014 11:13:09 +0800

Hi, All

   I want to emulate the intel new instruction Getsec on QEMU, so modify the Qemu source code target-i386\translate.c. But when I send getsec instruction to platform emulated by Qemu, Qemu give me a fatal information as follows, please give me some help or suggestion, thank you!


Best wishes,



GetSec instruction captured !!!

qemu: fatal: Trying to execute code outside RAM or ROM at 0x0000000100000000


RAX=0000000000000000 RBX=0000000000000000 RCX=000000001e940118 RDX=0000000000000000

RSI=000000000000000d RDI=0000000000000000 RBP=000000001ff683c0 RSP=000000001ff683ac

R8 =0000000000000000 R9 =000000001f41199e R10=0000000000000064 R11=0000000000000040

R12=0000000000000000 R13=0000000000000000 R14=0000000000000000 R15=0000000000000000

RIP=0000000100000000 RFL=00000246 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0

ES =0008 0000000000000000 ffffffff 00cf9300 DPL=0 DS   [-WA]

CS =0028 0000000000000000 ffffffff 00af9b00 DPL=0 CS64 [-RA]

SS =0008 0000000000000000 ffffffff 00cf9300 DPL=0 DS   [-WA]

DS =0008 0000000000000000 ffffffff 00cf9300 DPL=0 DS   [-WA]

FS =0008 0000000000000000 ffffffff 00cf9300 DPL=0 DS   [-WA]

GS =0008 0000000000000000 ffffffff 00cf9300 DPL=0 DS   [-WA]

LDT=0000 0000000000000000 0000ffff 00008200 DPL=0 LDT

TR =0000 0000000000000000 0000ffff 00008b00 DPL=0 TSS64-busy

GDT=     000000001feede98 0000003f

IDT=     000000001f8af018 00000fff

CR0=80000033 CR2=0000000000000000 CR3=000000001ff07000 CR4=00004668

DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000

DR6=00000000ffff0ff0 DR7=0000000000000400

CCS=0000000000000000 CCD=0000000000000000 CCO=SUBL


FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80

FPR0=0000000000000000 0000 FPR1=0000000000000000 0000

FPR2=0000000000000000 0000 FPR3=0000000000000000 0000

FPR4=0000000000000000 0000 FPR5=0000000000000000 0000

FPR6=0000000000000000 0000 FPR7=0000000000000000 0000

XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000

XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000

XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000

XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000

XMM08=00000000000000000000000000000000 XMM09=00000000000000000000000000000000

XMM10=00000000000000000000000000000000 XMM11=00000000000000000000000000000000

XMM12=00000000000000000000000000000000 XMM13=00000000000000000000000000000000

XMM14=00000000000000000000000000000000 XMM15=00000000000000000000000000000000

./run-qemu.sh: line 6: 20841 Aborted                 (core dumped) qemu-system-x86_64 -L disks -bios OVMF.fd -serial pty -nographic -hda fat:./data/ -m 512M -k en-us

reply via email to

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