qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] ARM host (TCG only)


From: andrzej zaborowski
Subject: [Qemu-devel] [PATCH] ARM host (TCG only)
Date: Mon, 5 May 2008 22:04:45 +0200

The attached file adds ARM as TCG target (qemu host).  It is very
basic and I'm sure several things only work by dumb luck and other
don't work at all.  TCG ops are mostly complete except division.  It
uses only armv4 instructions.  I tested only ARM target and I was able
to boot PalmOS, Linux and u-boot.  The hosts were Nokia n810 (armv6)
and Neo1973 (armv4).  There's still a bug somewhere because on linux
guest some filesystems won't work for / (Linux will just be unable to
find init).

TODO:
 * Qemu load and store ops are hacky and don't use the TLB cache.  It
doesn't have as much impact as I expected - PalmOS works very smoothly
(maybe because it uses DMA for many things) but Linux decompressor is
rather slow.

 * No division, so even targets fully converted to TCG abort when dividing.

 * It should use a constants pool for immediates, like gcc.

 * No user mode support.

 * Probably unrelated to TCG, the bug causing some cpu loop exit
requests to be lost is still sometimes visible on ARM, causing qemu to
get stuck in the exec loop if not using -clock unix and no SDL.

Cheers
-- 
Please do not print this email unless absolutely necessary. Spread
environmental awareness.

Attachment: qemu-arm-host.patch
Description: Text Data


reply via email to

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