qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Status of sun4u emulation?
@ 2008-05-26 15:43 Markus Dahms
  2008-05-26 16:00 ` Blue Swirl
  0 siblings, 1 reply; 5+ messages in thread
From: Markus Dahms @ 2008-05-26 15:43 UTC (permalink / raw)
  To: qemu-devel

Hi,

I'm curious about the status of the Sparc64/Sun4U emulation. I tried
to execute a little hello world program without success (output below).
The program runs fine on real hardware, the same little thing built for
sparc32 does what expected with qemu-sparc.
I'm also wondering why sparc64-softmmu is not build by default (not in
TARGET_DIRS).

Another sparc-related question: is there a way to press Stop-A in
system emulation mode? I even have a Stop key using a Sun Type 6 USB
keyboard on my PC, but that doesn't seem to be enough...

Thanks & Greetings,

	Markus

(host: i386, SVN r4586, gcc 3.4.6)

------------------------------------------------------------------------------
$ file hello-sparc64 
hello-sparc64: ELF 64-bit MSB executable, SPARC V9, version 1 (SYSV), for GNU/Linux 2.6.0, statically linked, not stripped
$ qemu-sparc64 hello-sparc64
Unhandled trap: 0x37
pc: 000000000010ccb4  npc: 000000000010ccb8
General Registers:
%g0: 0000000000000000	%g1: 0000000000000001	%g2: 0000000000000000	%g3: 000000000027a000	
%g4: 000000000027a298	%g5: 0000000000278400	%g6: 0000000000000010	%g7: 000000000027c850	
Current Register Window:
%o0: 000000000027ac50	%o1: 0000000000000001	%o2: 000000004007f498	%o3: 0000000000100bc0	
%o4: 0000000000100b60	%o5: 000000000027a800	%o6: 000000004007e1d1	%o7: 000000000010022c	
%l0: 000000000027ac00	%l1: 0000000000000000	%l2: 0000000000000000	%l3: 0000000000000000	
%l4: 0000000000000000	%l5: 0000000000000000	%l6: 0000000000000000	%l7: 0000000000000000	
%i0: 00000000001076a0	%i1: 00000000001036a0	%i2: 0000000000103440	%i3: 0000000000000000	
%i4: 0000000000000000	%i5: 0000000000000000	%i6: 000000004007e291	%i7: 0000000000104174	

Floating Point Registers:
%f00: 000000000.000000 000000000.000000 000000000.000000 000000000.000000
%f04: 000000000.000000 000000000.000000 000000000.000000 000000000.000000
%f08: 000000000.000000 000000000.000000 000000000.000000 000000000.000000
%f12: 000000000.000000 000000000.000000 000000000.000000 000000000.000000
%f16: 000000000.000000 000000000.000000 000000000.000000 000000000.000000
%f20: 000000000.000000 000000000.000000 000000000.000000 000000000.000000
%f24: 000000000.000000 000000000.000000 000000000.000000 000000000.000000
%f28: 000000000.000000 000000000.000000 000000000.000000 000000000.000000
pstate: 0x00000092 ccr: 0x88 asi: 0x82 tl: 0 fprs: 0
cansave: 0 canrestore: 6 otherwin: 0 wstate 0 cleanwin 6 cwp 7
fsr: 0x00000000

-- 
ubuntu is an ancient african word meaning "i can't install debian."
                                                         -- unknown

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

end of thread, other threads:[~2008-05-27  0:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-26 15:43 [Qemu-devel] Status of sun4u emulation? Markus Dahms
2008-05-26 16:00 ` Blue Swirl
2008-05-26 19:44   ` Markus Dahms
2008-05-26 19:56     ` Blue Swirl
2008-05-27  0:38       ` Paul Brook

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).