From owner-freebsd-mips@FreeBSD.ORG Tue Jul 17 13:07:07 2007 Return-Path: X-Original-To: freebsd-mips@freebsd.org Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E2FC16A41F for ; Tue, 17 Jul 2007 13:07:07 +0000 (UTC) (envelope-from gonzo@univ.kiev.ua) Received: from bugor.portaone.com (bugor.portaone.com [65.61.203.147]) by mx1.freebsd.org (Postfix) with ESMTP id 86B6313C481 for ; Tue, 17 Jul 2007 13:07:07 +0000 (UTC) (envelope-from gonzo@univ.kiev.ua) Received: from mail.pbxpress.com ([65.61.203.142] helo=leaf.pbxpress.com) by bugor.portaone.com (8.11.3/8.11.3) with ESMTP (TLSv1:AES256-SHA:256)id 1IAmlf-000D2p-17; Tue, 17 Jul 2007 06:07:07 -0700 Received: from [192.168.0.93] (k3-gw.portaone.com [193.28.87.193]) (authenticated bits=0) by leaf.pbxpress.com (8.13.3/8.13.3) with ESMTP id l6HD6aQD082790 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Jul 2007 06:06:43 -0700 (PDT) (envelope-from gonzo@univ.kiev.ua) Message-ID: <469CBEF1.7090900@univ.kiev.ua> Date: Tue, 17 Jul 2007 16:06:57 +0300 From: Oleksandr Tymoshenko User-Agent: Thunderbird 1.5.0.9 (X11/20070115) MIME-Version: 1.0 To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, recieved from customer server pbxpress.com or rt.portaone.com Cc: Subject: FreeBSD/MIPS platforms question 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: Tue, 17 Jul 2007 13:07:07 -0000 Hi! I'm adding ADM5120 support to p4 repo right now and stumbled upon the routine of setting memory size/timer frequency parameters, implementations of platform_reset and other functions of platform_ family. For instance sentry5 uses CFM, malta and PMC boards utilize yamon and ADM5120 code gets these parameters as argc, argv of entry point. I think of moving all platform_XXX and mips_init routine to platform-related machdep file in platform dir, just like in -arm tree e.g. mips32/sentry5/setnty5_machdep.c mips32/adm5120/adm5120_machdep.c etc.. What's your opinion? -- gonzo