From owner-freebsd-arm@FreeBSD.ORG Fri Mar 8 02:35:49 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 61D53E3E for ; Fri, 8 Mar 2013 02:35:49 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 0C1341DE for ; Fri, 8 Mar 2013 02:35:48 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r282Zehq098333 for freebsd-arm@freebsd.org; Fri, 8 Mar 2013 02:35:40 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id sixtms58a8dfzm5aqbu54gtbps; for freebsd-arm@freebsd.org; Fri, 08 Mar 2013 02:35:40 +0000 (UTC) (envelope-from kientzle@freebsd.org) From: Tim Kientzle Content-Type: multipart/signed; boundary="Apple-Mail=_BE493368-E27C-4161-B82D-9882D690463A"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: profclock overrides? Date: Thu, 7 Mar 2013 18:35:40 -0800 Message-Id: <63983A6C-0D9F-46D1-BC4E-F7EE717EC676@freebsd.org> To: freebsd-arm@freebsd.org Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Mar 2013 02:35:49 -0000 --Apple-Mail=_BE493368-E27C-4161-B82D-9882D690463A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii As part of my poking and prodding towards a GENERIC kernel, I'm trying to see what happens when I actually combine the sources for different ARM systems together. Here's one problem that seems to appear with a lot of the ARM systems: ixp425_timer.o: In function `cpu_startprofclock': = /usr/home/tim/projects/FreeBSD/svn/head/sys/arm/xscale/ixp425/ixp425_timer= .c:263: multiple definition of `cpu_startprofclock' = kern_clocksource.o:/usr/home/tim/projects/FreeBSD/svn/head/sys/kern/kern_c= locksource.c:734: first defined here ixp425_timer.o: In function `cpu_stopprofclock': = /usr/home/tim/projects/FreeBSD/svn/head/sys/arm/xscale/ixp425/ixp425_timer= .c:268: multiple definition of `cpu_stopprofclock' = kern_clocksource.o:/usr/home/tim/projects/FreeBSD/svn/head/sys/kern/kern_c= locksource.c:754: first defined here It looks like a bunch of systems have overridden these two functions in order to disable the profclock. Is this an intrinsic board difference (that should be included in board/SoC-specific startup vectors), or is there a better way to do this? Tim --Apple-Mail=_BE493368-E27C-4161-B82D-9882D690463A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) iQEcBAEBAgAGBQJROU59AAoJEGMNyGo0rfFBlo4H/R5hNAI/eApEeEff6lkAIkMS PJ9cEbsQxSscyitZl4IOmYvUHHryMUSMQ8j7N/vZbvd8RgIx3tj33kO5QyEJxN8h ViHxmNG3hBMaLfH+9SXPLzbH74JsuIBBeBVdoleZ0OfwX8HYKLVwENiUbuJPSRm7 YpeEHAzlIXByVPa0ICfBzvii0YpaLIk6lKjlGyLJAYswM+YturbCSIAafOqo2uq/ GjpL9CQL44LF9OL8Nut9FQsEfa1nHoI57YSFe39UyD3CGDDcoT8VaQ32cifE3jU9 5Jzk00XPpsK36fVrhc/2K2X5UJW5QzmBCoNrsLfbFBCiDZkXlC4OmhljkXk0de8= =B2sC -----END PGP SIGNATURE----- --Apple-Mail=_BE493368-E27C-4161-B82D-9882D690463A--