From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2bcq-0001Uy-Hl for qemu-devel@nongnu.org; Thu, 15 Apr 2010 22:49:48 -0400 Received: from [140.186.70.92] (port=43398 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2bcp-0001Uq-CB for qemu-devel@nongnu.org; Thu, 15 Apr 2010 22:49:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2bco-0007pz-Hr for qemu-devel@nongnu.org; Thu, 15 Apr 2010 22:49:47 -0400 Received: from mail-yw0-f198.google.com ([209.85.211.198]:47337) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2bco-0007pp-Ep for qemu-devel@nongnu.org; Thu, 15 Apr 2010 22:49:46 -0400 Received: by ywh36 with SMTP id 36so1039020ywh.4 for ; Thu, 15 Apr 2010 19:49:45 -0700 (PDT) MIME-Version: 1.0 From: Jun Koi Date: Fri, 16 Apr 2010 11:49:24 +0900 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Subject: [Qemu-devel] TLB entry with separate addr_{read|write|code}? List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, In the TLB entry, why do we need to maintain separately addr_read, addr_write and addr_code? Is it impossible to have only one for all the purposes? As far as I can see in tlb_set_page(), these fields are mutually exclusive, as they either enable or get invalid value (-1). Thanks, Jun