From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19AqDA-0004LR-00 for qemu-devel@nongnu.org; Wed, 30 Apr 2003 07:57:20 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19AqD9-0004KB-00 for qemu-devel@nongnu.org; Wed, 30 Apr 2003 07:57:19 -0400 Received: from pizda.ninka.net ([216.101.162.242]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19AqAz-00036f-00 for qemu-devel@nongnu.org; Wed, 30 Apr 2003 07:55:05 -0400 Date: Wed, 30 Apr 2003 03:48:30 -0700 (PDT) Message-Id: <20030430.034830.123999841.davem@redhat.com> Subject: Re: [Qemu-devel] Alpha update From: "David S. Miller" In-Reply-To: <87d6j4xlpz.fsf@student.uni-tuebingen.de> References: <87d6j4xlpz.fsf@student.uni-tuebingen.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , To: falk.hueffner@student.uni-tuebingen.de Cc: qemu-devel@nongnu.org From: Falk Hueffner Date: 30 Apr 2003 13:34:32 +0200 I grabbed mmap4k.c and pagemap.c from em86. I've attached them as single files. The code looks somewhat crufty though, maybe we should write something ourselves. By the way, doesn't IA64 have the same problem? easier with a kernel patch... Sparc has the same problem too. It should be hacked simply to use get_pagesize(). Especially because on some platforms, the page size is variable.