From owner-cvs-src@FreeBSD.ORG Sat May 13 23:41:21 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C8FA16A402; Sat, 13 May 2006 23:41:21 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3F7943D48; Sat, 13 May 2006 23:41:20 +0000 (GMT) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k4DNfGQa067135; Sat, 13 May 2006 23:41:16 GMT (envelope-from cognet@repoman.freebsd.org) Received: (from cognet@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k4DNfGGl067134; Sat, 13 May 2006 23:41:16 GMT (envelope-from cognet) Message-Id: <200605132341.k4DNfGGl067134@repoman.freebsd.org> From: Olivier Houchard Date: Sat, 13 May 2006 23:41:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/conf options.arm src/sys/arm/conf SKYEYE src/sys/arm/include pmap.h src/sys/arm/at91 at91.c at91_st.c if_ate.c uart_bus_at91usart.c uart_cpu_at91rm9200usart.c uart_dev_at91usart.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 May 2006 23:41:21 -0000 cognet 2006-05-13 23:41:16 UTC FreeBSD src repository Modified files: sys/conf options.arm sys/arm/conf SKYEYE sys/arm/include pmap.h sys/arm/at91 at91.c at91_st.c if_ate.c uart_bus_at91usart.c uart_cpu_at91rm9200usart.c uart_dev_at91usart.c Log: Resurrect Skyeye support : Add a new option, SKYEYE_WORKAROUNDS, which as the name suggests adds workarounds for things skyeye doesn't simulate. Specifically : - Use USART0 instead of DBGU as the console, make it not use DMA, and manually provoke an interrupt when we're done in the transmit function. - Skyeye maintains an internal counter for clock, but apparently there's no way to access it, so hack the timecounter code to return a value which is increased at every clock interrupts. This is gross, but I didn't find a better way to implement timecounters without hacking Skyeye to get the counter value. - Force the write-back of PTEs once we're done writing them, even if they are supposed to be write-through. I don't know why I have to do that. Revision Changes Path 1.6 +8 -0 src/sys/arm/at91/at91.c 1.3 +17 -1 src/sys/arm/at91/at91_st.c 1.7 +1 -1 src/sys/arm/at91/if_ate.c 1.3 +5 -7 src/sys/arm/at91/uart_bus_at91usart.c 1.2 +3 -7 src/sys/arm/at91/uart_cpu_at91rm9200usart.c 1.6 +12 -12 src/sys/arm/at91/uart_dev_at91usart.c 1.3 +2 -1 src/sys/arm/conf/SKYEYE 1.17 +5 -0 src/sys/arm/include/pmap.h 1.8 +2 -1 src/sys/conf/options.arm