From owner-freebsd-mips@FreeBSD.ORG Mon Mar 21 19:57:33 2011 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F0ED106566B for ; Mon, 21 Mar 2011 19:57:33 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5824C8FC0A for ; Mon, 21 Mar 2011 19:57:33 +0000 (UTC) Received: by gwb15 with SMTP id 15so3011139gwb.13 for ; Mon, 21 Mar 2011 12:57:32 -0700 (PDT) Received: by 10.150.72.30 with SMTP id u30mr4364318yba.14.1300737452295; Mon, 21 Mar 2011 12:57:32 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.151.13.12 with HTTP; Mon, 21 Mar 2011 12:57:12 -0700 (PDT) In-Reply-To: References: From: Juli Mallett Date: Mon, 21 Mar 2011 12:57:12 -0700 X-Google-Sender-Auth: Odt8v-KwzJYA36FOi-MU5_DuGPY Message-ID: To: Andrew Duane Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-mips@freebsd.org" Subject: Re: phy_mem_desc_addr initialization X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2011 19:57:33 -0000 On Mon, Mar 21, 2011 at 12:41, Andrew Duane wrote: > I'm making good progress on my port to the first Juniper Octeon blade, bu= t I am stuck with what the real format of the memory descriptor blocks poin= ted to by phy_mem_desc_addr is. I can synthesize enough to get by, but I ev= entually fall over because all of the info is not there. > > Can anyone perhaps print me out one from their Octeon board (an EBT-3000 = would be ideal if at all possible), or point me to some actual documentatio= n on the fields? The code in sys/contrib/octeon-sdk is fairly straightforward. Really, though, probably what you should do is #ifdef octeon_memory_init for whatever config option is driving your non-standard Octeon platform. I think we talked about this previously, but it's possible there's some other use that you're running into trouble with. I'd be glad to help if you give me a pointer to the problematic usage. Thanks, Juli.