From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17974 invoked by alias); 10 Oct 2007 13:49:16 -0000 Received: (qmail 17965 invoked by uid 22791); 10 Oct 2007 13:49:15 -0000 X-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,FORGED_RCVD_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 10 Oct 2007 13:49:13 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.1) with ESMTP id l9ADnB09021655 for ; Wed, 10 Oct 2007 09:49:11 -0400 Received: from pobox-2.corp.redhat.com (pobox-2.corp.redhat.com [10.11.255.15]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l9ADnAsd019788; Wed, 10 Oct 2007 09:49:10 -0400 Received: from localhost.localdomain (vpn-6-12.fab.redhat.com [10.33.6.12]) by pobox-2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l9ADn9KM010917; Wed, 10 Oct 2007 09:49:09 -0400 Message-ID: <470CD854.9090308@redhat.com> Date: Wed, 10 Oct 2007 13:49:00 -0000 From: Phil Muldoon User-Agent: Thunderbird 2.0.0.5 (X11/20070727) MIME-Version: 1.0 To: Andrew Cagney CC: frysk@sourceware.org Subject: Re: frysk-core/frysk proc/BankRegister.java proc/C ... References: <20071009194630.3523.qmail@sourceware.org> <470BDF0C.5020608@redhat.com> <470C4BC2.7000306@redhat.com> <470C75FD.3080803@redhat.com> <470CD4FD.90202@redhat.com> In-Reply-To: <470CD4FD.90202@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00038.txt.bz2 Andrew Cagney wrote: > I'm not sure what you mean, the offset/length are for within the > specified register, and start is an offset into the byte buffer. Two > things change: tThe code that implements register accesses isn't being > moved to the task; but the way to access registers is now simpler, > contrast: > Task.getRegister(IA32Register.XIP) > with: > Task.getIsa().getBankRegister("xip").getRegister(task) > the internals, though cleaned up will still be very similar. > Ok that makes much more sense. Thanks. The other api threw me, but if this is the eventual user facing api, that will be great. Regards Phil