From owner-freebsd-arm@FreeBSD.ORG Tue Apr 17 21:32:07 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92C3E1065686 for ; Tue, 17 Apr 2012 21:32:07 +0000 (UTC) (envelope-from dmarion.freebsd@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 005A98FC28 for ; Tue, 17 Apr 2012 21:32:06 +0000 (UTC) Received: by wern13 with SMTP id n13so5685984wer.13 for ; Tue, 17 Apr 2012 14:32:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=1LeTi+dxmPLPDDGTMhFvLSZYSvbHqp+68E5dck6p1g8=; b=Ok8m1kZ+dOont+OqRcvckj5yunOiIkylS0rpFPg59XC+QRnZIXGAzvnv1buSpoJq25 wCxCcYMi5A4Z4Gg7lFZXO9U5y+yDGGf5w3fDMsJuxbd/umn2H6fion6hBuir3FRlSgAw RIz2njeH9K3oFfnrC6d3me7kG3Aw7LoBBeX914LrChnB2tfuGb7/kWSBUdVmZG2rhtEf F4U2ZawE12mfgCa36bghFyYrC5OzZrE8ND/mMA9Q55zX5KiQFile+wIg7gD0iXTTQnR2 T0zBulWeFly8nAr7rifOBiVLERP+VA9tVqEwVLhfZwZhLOQLb51ZDUCMV7cXNnyaET8l XqyQ== Received: by 10.180.89.9 with SMTP id bk9mr124507wib.11.1334698325865; Tue, 17 Apr 2012 14:32:05 -0700 (PDT) Received: from damarion-mac.home (cpe-109-60-64-239.zg3.cable.xnet.hr. [109.60.64.239]) by mx.google.com with ESMTPS id k6sm29693287wie.9.2012.04.17.14.32.04 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 Apr 2012 14:32:05 -0700 (PDT) Sender: Damjan Marion Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=iso-8859-1 From: Damjan Marion In-Reply-To: Date: Tue, 17 Apr 2012 23:32:02 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <33B49E95-BE6D-4B52-9A55-5926F2938FE5@freebsd.org> References: To: "Alex T." X-Mailer: Apple Mail (2.1257) Cc: freebsd-arm@freebsd.org Subject: Re: beaglebone X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2012 21:32:07 -0000 On Apr 17, 2012, at 10:42 PM, Alex T. wrote: > to sys/arm/omap/std.omap. What I don't understand right now is the = following code in sys/arm/include/pmap.h >=20 > #if defined(CPU_ARMV7) > void pmap_pte_init_armv7(void); > #endif >=20 > As far as i know ARMV7 covers the Cortex-A family. So how do I = properly set CPU_ARMV7 ? > I guess I'm missing how the parameters make their way from KERNEL = configs to the actual source code. If I recall correctly we renamed CPU_ARMV7 to CPU_CORTEXA in respect to = other CPUs which are ARMv7 but they are not Cortex-A (like marvel Armada = 510). Where have you found this code? Which board are you targeting?