From owner-p4-projects@FreeBSD.ORG Thu May 28 21:27:42 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 0362C106566C; Thu, 28 May 2009 21:27:42 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7D80106564A for ; Thu, 28 May 2009 21:27:41 +0000 (UTC) (envelope-from antab@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A65F08FC08 for ; Thu, 28 May 2009 21:27:41 +0000 (UTC) (envelope-from antab@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n4SLRfmt009456 for ; Thu, 28 May 2009 21:27:41 GMT (envelope-from antab@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n4SLRfBd009454 for perforce@freebsd.org; Thu, 28 May 2009 21:27:41 GMT (envelope-from antab@FreeBSD.org) Date: Thu, 28 May 2009 21:27:41 GMT Message-Id: <200905282127.n4SLRfBd009454@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to antab@FreeBSD.org using -f From: Arnar Mar Sig To: Perforce Change Reviews Cc: Subject: PERFORCE change 162974 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2009 21:27:42 -0000 http://perforce.freebsd.org/chv.cgi?CH=162974 Change 162974 by antab@antab_farm on 2009/05/28 21:27:21 Add cpu_flush_dcache Affected files ... .. //depot/projects/avr32/src/sys/avr32/avr32/cpu.c#11 edit Differences ... ==== //depot/projects/avr32/src/sys/avr32/avr32/cpu.c#11 (text+ko) ==== @@ -110,6 +110,16 @@ ocdreg_write(DC, bit_offset(OCD, DC, RES)); } +/* + * Flush the D-cache for non-DMA I/O so that the I-cache can + * be made coherent later. + */ +void +cpu_flush_dcache(void *ptr, size_t len) +{ + /* XXX: Todo */ +} + /** * Debugging code for avr32, this is here so i can do writes to usart1 without going thru all the * tty code