From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:54040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QY3jr-0001t1-5c for qemu-devel@nongnu.org; Sat, 18 Jun 2011 18:11:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QY3jp-0001f3-Py for qemu-devel@nongnu.org; Sat, 18 Jun 2011 18:11:35 -0400 Received: from mail-pv0-f173.google.com ([74.125.83.173]:44027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QY3jp-0001et-Bp for qemu-devel@nongnu.org; Sat, 18 Jun 2011 18:11:33 -0400 Received: by pvg3 with SMTP id 3so1331543pvg.4 for ; Sat, 18 Jun 2011 15:11:31 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 18 Jun 2011 23:11:31 +0100 Message-ID: From: Peter Maydell Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] Sparc32: dummy implementation of MXCC MMU breakpoint registers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Bob Breuer , qemu-devel , Robert Reif On 18 June 2011 22:45, Blue Swirl wrote: > Add dummy registers for SuperSPARC MXCC MMU counter breakpoints. > > Signed-off-by: Blue Swirl > diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h > index 320530e..b5d5291 100644 > --- a/target-sparc/cpu.h > +++ b/target-sparc/cpu.h > @@ -403,6 +403,7 @@ typedef struct CPUSPARCState { > =C2=A0 =C2=A0 uint32_t mmuregs[32]; > =C2=A0 =C2=A0 uint64_t mxccdata[4]; > =C2=A0 =C2=A0 uint64_t mxccregs[8]; > + =C2=A0 =C2=A0uint32_t mmubpctrv, mmubpctrc, mmubpctrs, mmubpaction; > =C2=A0 =C2=A0 uint64_t mmubpregs[4]; > =C2=A0 =C2=A0 uint64_t prom_addr; > =C2=A0#endif Shouldn't there be a corresponding change to target-sparc/machine.c adding these to cpu_save()/cpu_load() ? [the existing mxccdata, mxccregs, mmubpregs don't seem to be saved/restored either...] -- PMM