From owner-cvs-src-old@FreeBSD.ORG Fri Feb 5 03:21:05 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5990E106566B for ; Fri, 5 Feb 2010 03:21:05 +0000 (UTC) (envelope-from neel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3F5188FC15 for ; Fri, 5 Feb 2010 03:21:05 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o153L5Cs060730 for ; Fri, 5 Feb 2010 03:21:05 GMT (envelope-from neel@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o153L52L060729 for cvs-src-old@freebsd.org; Fri, 5 Feb 2010 03:21:05 GMT (envelope-from neel@repoman.freebsd.org) Message-Id: <201002050321.o153L52L060729@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to neel@repoman.freebsd.org using -f From: Neel Natu Date: Fri, 5 Feb 2010 03:20:47 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/mips/sibyte sb_asm.S sb_scd.c sb_scd.h sb_zbbus.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2010 03:21:05 -0000 neel 2010-02-05 03:20:47 UTC FreeBSD src repository Modified files: sys/mips/sibyte sb_asm.S sb_scd.c sb_scd.h sb_zbbus.c Log: SVN rev 203509 on 2010-02-05 03:20:47Z by neel Reimplement all functions to access the system control unit in C. The only reason we need to have the sb_load64() and sb_store64() functions in assembly is to cheat the compiler and generate the 'ld' and 'sd' instructions which it otherwise will not do when compiling for a 32-bit architecture. There are some 64-bit registers in the SCD unit that must be accessed using 64-bit load and store instructions. Revision Changes Path 1.2 +34 -107 src/sys/mips/sibyte/sb_asm.S 1.2 +105 -12 src/sys/mips/sibyte/sb_scd.c 1.2 +8 -9 src/sys/mips/sibyte/sb_scd.h 1.3 +1 -1 src/sys/mips/sibyte/sb_zbbus.c