From owner-p4-projects@FreeBSD.ORG Fri Mar 29 15:34:40 2013 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id B1B25899; Fri, 29 Mar 2013 15:34:40 +0000 (UTC) Delivered-To: perforce@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 71B9F897 for ; Fri, 29 Mar 2013 15:34:40 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from skunkworks.freebsd.org (skunkworks.freebsd.org [IPv6:2001:1900:2254:2068::682:0]) by mx1.freebsd.org (Postfix) with ESMTP id 60F1CB47 for ; Fri, 29 Mar 2013 15:34:40 +0000 (UTC) Received: from skunkworks.freebsd.org ([127.0.1.74]) by skunkworks.freebsd.org (8.14.6/8.14.6) with ESMTP id r2TFYdNl038423 for ; Fri, 29 Mar 2013 15:34:39 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by skunkworks.freebsd.org (8.14.6/8.14.6/Submit) id r2TFYdGT038420 for perforce@freebsd.org; Fri, 29 Mar 2013 15:34:39 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Fri, 29 Mar 2013 15:34:39 GMT Message-Id: <201303291534.r2TFYdGT038420@skunkworks.freebsd.org> X-Authentication-Warning: skunkworks.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 227220 for review To: Perforce Change Reviews Precedence: bulk X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.14 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Mar 2013 15:34:40 -0000 http://p4web.freebsd.org/@@227220?ac=10 Change 227220 by rwatson@rwatson_zenith_cl_cam_ac_uk on 2013/03/29 15:33:53 Define cp0_timer_get() as a static inline in mips.h, to be used across BERI boot2 and loader. Affected files ... .. //depot/projects/ctsrd/beribsd/src/sys/boot/mips/beri/boot2/mips.h#2 delete .. //depot/projects/ctsrd/beribsd/src/sys/boot/mips/beri/common/altera_jtag_uart.c#2 edit .. //depot/projects/ctsrd/beribsd/src/sys/boot/mips/beri/common/mips.h#1 add Differences ... ==== //depot/projects/ctsrd/beribsd/src/sys/boot/mips/beri/common/altera_jtag_uart.c#2 (text+ko) ==== @@ -150,15 +150,6 @@ return (0); } -static inline register_t -cp0_count_get(void) -{ - register_t count; - - __asm__ __volatile__ ("dmfc0 %0, $9" : "=r" (count)); - return (count); -} - int keyhit(int seconds) {