Date: Fri, 5 Feb 2010 03:20:47 +0000 (UTC) From: Neel Natu <neel@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/mips/sibyte sb_asm.S sb_scd.c sb_scd.h sb_zbbus.c Message-ID: <201002050321.o153L52L060729@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002050321.o153L52L060729>
