From owner-freebsd-arm@freebsd.org Tue Jul 9 16:54:22 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C5C815DEBEE for ; Tue, 9 Jul 2019 16:54:22 +0000 (UTC) (envelope-from adr@SDF.ORG) Received: from mx.sdf.org (mx.sdf.org [205.166.94.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.sdf.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1009671AEC for ; Tue, 9 Jul 2019 16:54:20 +0000 (UTC) (envelope-from adr@SDF.ORG) Received: from sdf.lonestar.org (IDENT:adr@sdf.lonestar.org [205.166.94.16]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id x69GsD4O020010 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO) for ; Tue, 9 Jul 2019 16:54:13 GMT Date: Tue, 9 Jul 2019 16:54:13 +0000 (UTC) From: adr X-X-Sender: adr@sdf.lonestar.org To: freebsd-arm@freebsd.org Subject: Flush cpu caches Message-ID: User-Agent: Alpine 2.21 (NEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 1009671AEC X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-0.62 / 15.00]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.01)[mx.SDF.ORG]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14361, ipnet:205.166.94.0/24, country:US]; IP_SCORE(-0.47)[ip: (-1.50), ipnet: 205.166.94.0/24(-0.75), asn: 14361(-0.05), country: US(-0.06)]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.73)[-0.734,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.994,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[SDF.ORG]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.69)[0.692,0]; RCVD_IN_DNSWL_NONE(0.00)[20.94.166.205.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jul 2019 16:54:22 -0000 First of all, hello everyone. I'm completely new to FreeBSD (not to BSD). I need to use something like arm_sync_icache(2) on OpenBSD and NetBSD. I'd find what I think I need in machine/cpufunc.h, but the linker can't find any function symbol. I suppose I have to pass a lib to the linker, but no idea which one. Some help? Thanks in advance, adr.