Home | History | Annotate | Download | only in vr
History log of /src/sys/arch/hpcmips/vr/vr.c
RevisionDateAuthorComments
 1.65  26-Mar-2014  christos - kill sprintf
- fix unused
 1.64  18-Mar-2011  tsutsui branches: 1.64.4; 1.64.14; 1.64.18;
Use vaddr_t for pc instead of uint32_t.
 1.63  16-Mar-2011  tsutsui Set sr_bits[IPL_HIGH] properly, rather than setting sr_bits[IPL_VM] twice.

I wonder if gcc could warn such botch in C99 array or member initializers...
 1.62  16-Mar-2011  tsutsui vr_intr_handler[] takes status for hardclock(9), not ipending.
 1.61  16-Mar-2011  tsutsui Blindly prepare an equivalent function with old _spllower(~MIPS_INT_MASK_0)
that disabled all interrupts except PIU. Compile test only.
 1.60  26-Feb-2011  tsutsui Explicitly include <mips/locore.h> for wbflush().
 1.59  20-Feb-2011  matt Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
(XXX don't know how to deal with use of spllower in sleep/pause code so
hpcmips kernel will fail to compile).
 1.58  20-Dec-2010  matt branches: 1.58.2; 1.58.4;
Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
 1.57  15-Nov-2010  uebayasi struct cpu_info * deref needs sys/cpu.h.
 1.56  10-Apr-2010  jun workaround for port-hpcmips/42934
"NetBSD/hpcmips can't boot after 5.99.23"
adviced by Naoki Fukaumi on twitter.
 1.55  21-Jan-2010  pooka branches: 1.55.2; 1.55.4;
Move arch-local variable to a better namespace to make build again.
 1.54  19-Aug-2009  jun Fix #41863, Missing "}".
 1.53  18-Mar-2009  cegger bcmp -> memcmp
 1.52  18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.51  04-Apr-2008  tsutsui branches: 1.51.4; 1.51.12; 1.51.14; 1.51.18; 1.51.20; 1.51.22;
Account ci_idepth in VR_INTR() and TX_INTR, rather than cpu_intr() in
hpcmips/interrupt.c. The latter one is used only on kernels configured for
multiple CPUs (i.e. kernels which have both options VR41XX and TX39XX).

Closes PR port-hpcmips/38139 from Risto Sainio.
 1.50  04-Jan-2008  ad branches: 1.50.6;
Need sys/device.h
 1.49  03-Dec-2007  ad branches: 1.49.6;
Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.48  08-Mar-2007  he branches: 1.48.2; 1.48.18; 1.48.20; 1.48.26;
Due to pointer arithmetic, convert local "page" variable from void* to char*.
 1.47  04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.46  11-Dec-2005  christos branches: 1.46.26;
merge ktrace-lwp.
 1.45  16-Jan-2005  hamajima branches: 1.45.2; 1.45.10;
Apply patch hpcmips/26158 (requested by darkstar)
This patch solves install/28656.
 1.44  25-Oct-2003  mycroft branches: 1.44.6;
Fix typo.
 1.43  25-Oct-2003  mycroft Token-pasting nits for GCC 3.
 1.42  15-Jul-2003  lukem __KERNEL_RCSID()
 1.41  02-Apr-2003  thorpej branches: 1.41.2;
Use PAGE_SIZE rather than NBPG.
 1.40  24-Nov-2002  shin wipe out all physical memory before hibernate/reset.
otherwise, WinCE will not boot on some machine (ex. IBM z50).
 1.39  11-Feb-2002  takemura branches: 1.39.10;
Added Vr4122 and Vr4131 support to GENERIC configuration.
 1.38  11-Feb-2002  takemura Added vr4122ip.
 1.37  10-Feb-2002  takemura Made vr.c compilable without SINGLE_VRIP_BASE macro.
 1.36  31-Jan-2002  uch clean up header file.
 1.35  04-Jan-2002  takemura Renamed sg2com -> com_hpcio. Now it seems to be working on SigmarionII.
 1.34  02-Jan-2002  uch fix bootstrap stack violation.
 1.33  29-Dec-2001  takemura Added sg2com(SigmarionII sertial).
 1.32  18-Nov-2001  takemura Rewrite bus stuff with method table in the bus tags.
 1.31  23-Sep-2001  uch branches: 1.31.4;
improve interrupt response.
 1.30  17-Sep-2001  uch clean up "mainbus" related code.
 1.29  16-Sep-2001  uch rearrange struct platform@sysconf.h suitable for hpcmips.
overhaul hpcmips/hpcmips/. no actual changes.
 1.28  16-Sep-2001  uch ANSIfy, KNF.
 1.27  15-Sep-2001  uch switch from splvec to ipl_sr_bits.
 1.26  11-Jun-2001  enami branches: 1.26.2; 1.26.4;
make GENERIC compile again.
 1.25  11-Jun-2001  enami - make this file compile even if either hpcfb or vrkiu isn't included.
- introduce new cpp symbol VR_FIND_DRAMLIM not to probe dram beyound this.
for example, MP-C303 hangs hard if memoy beyond 0x03800000 is probed.
 1.24  30-May-2001  lukem add missing #include "opt_kgdb.h"
 1.23  17-May-2001  enami Use VRIP_SIU_ADDR instead of 0x0c000000 for base address of serial console
or kgdb connection.
 1.22  18-Apr-2001  sato - support VR4122 vrip register map.
- support VR4122 ICU register map.
- support VR4122 intr levels.
XXX: currently if 'options VR4122' is defined,
XXX: cannot specify 'options VR4121','options VR4111', 'options VR4102'.
XXXX: i have not the VR4122 based hardware.. so no check for VR4122.
 1.21  12-Apr-2001  thorpej splvec.splimp -> splvec.splvm
 1.20  22-Feb-2001  uch branches: 1.20.2;
hpc common files are moved to dev/hpc.
 1.19  22-Jul-2000  takemura mb_bus_space_init() had been removed accidentally when KGDB was supported.
It's need for initialize system_bus_iot.
 1.18  20-Jul-2000  jeffs kgdb support for the vr hpcmips machines.
From Ethan Solomita (ethan@geocast.com).
 1.17  02-May-2000  uch change hpfcb_cnattach interface to adopt current implementation.
 1.16  11-Apr-2000  uch sync with new mips trap.c
 1.15  12-Mar-2000  takemura New frame buffer driver 'hpcfb' and built in video controller 'bivideo'
 1.14  25-Feb-2000  shin stop memory probing at first memory image.
this is necessary for MC-CS12.
 1.13  21-Feb-2000  shin support non-contiguous memory.
patch from Mycroft <root@ihack.net> and uch@netbsd.org.
tested hardware:
VR4121 IBM WorkPad z50 (48MB, 16MB)
VR4121 NEC Mobile Gear II MC/R730
TX3912 Compaq C-series 810 (20MB), 2010c (20MB, 16MB)
TX3922 Sharp Telios HC-AJ2 (32MB)
 1.12  10-Feb-2000  sato add machine model name to cpu_model.
 1.11  28-Jan-2000  takemura CPU specific idle hook and VR idle routine.
 1.10  16-Dec-1999  shin display CPU clock at boot time(Ex. NEC VR4121 rev0.0 131.072MHz).
 1.9  09-Dec-1999  sato vrbcu related change.
 1.8  04-Dec-1999  takemura You can push power key to reboot when halt in vr_reboot.
 1.7  04-Dec-1999  takemura Unify vr_reset and vr_powerdown.
 1.6  28-Nov-1999  sato PowerOff code. (not yet completely)
'halt -p' availavle.
not yet all power off...
cannot exit poweroff mode. (reset required..)
 1.5  28-Nov-1999  takemura Add new device vrdsu, with which we can hard reset the VR41xx CPU.
Why don't you try shutdown comand with option '-r ?
 1.4  21-Nov-1999  uch add new function vr_fb_init, vr_mem_init.
 1.3  24-Oct-1999  takemura Wsdisplay and wskbd are supported as a console device.
 1.2  16-Oct-1999  shin branches: 1.2.2; 1.2.4;
fix message in vr_device_register()
 1.1  16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1  16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.4.1  15-Nov-1999  fvdl Sync with -current
 1.2.2.3  21-Apr-2001  bouyer Sync with HEAD
 1.2.2.2  12-Mar-2001  bouyer Sync with HEAD.
 1.2.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.20.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.26.4.1  01-Oct-2001  fvdl Catch up with -current.
 1.26.2.3  16-Mar-2002  jdolecek Catch up with -current.
 1.26.2.2  11-Feb-2002  jdolecek Sync w/ -current.
 1.26.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.31.4.5  11-Dec-2002  thorpej Sync with HEAD.
 1.31.4.4  28-Feb-2002  nathanw Catch up to -current.
 1.31.4.3  11-Jan-2002  nathanw More catchup.
 1.31.4.2  08-Jan-2002  nathanw Catch up to -current.
 1.31.4.1  23-Sep-2001  nathanw file vr.c was added on branch nathanw_sa on 2002-01-08 00:25:06 +0000
 1.39.10.1  12-Dec-2002  he Pull up revision 1.40 (requested by shin in ticket #1013):
Wipe out all physical memory before hibernate/reset.
Otherwise, WinCE will not boot on some machines (e.g. IBM
z50).
 1.41.2.4  17-Jan-2005  skrll Sync with HEAD.
 1.41.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.41.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.41.2.1  03-Aug-2004  skrll Sync with HEAD
 1.44.6.1  16-Apr-2005  tron Pull up revision 1.45 (requested by hamajima in ticket #1097):
Apply patch hpcmips/26158 (requested by darkstar)
This patch solves install/28656.
 1.45.10.3  21-Jan-2008  yamt sync with head
 1.45.10.2  07-Dec-2007  yamt sync with head
 1.45.10.1  03-Sep-2007  yamt sync with head.
 1.45.2.2  16-Jan-2005  hamajima Apply patch hpcmips/26158 (requested by darkstar)
This patch solves install/28656.
 1.45.2.1  16-Jan-2005  hamajima file vr.c was added on branch kent-audio2 on 2005-01-16 03:21:22 +0000
 1.46.26.1  12-Mar-2007  rmind Sync with HEAD.
 1.48.26.2  18-Feb-2008  mjf Sync with HEAD.
 1.48.26.1  08-Dec-2007  mjf Sync with HEAD.
 1.48.20.1  09-Jan-2008  matt sync with HEAD
 1.48.18.1  09-Dec-2007  jmcneill Sync with HEAD.
 1.48.2.1  03-Dec-2007  ad Sync with HEAD.
 1.49.6.1  08-Jan-2008  bouyer Sync with HEAD
 1.50.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.51.22.2  29-Dec-2010  matt Adapt to the new interrupt framework.
(XXX hpcmips still has calls to _spllower which are not supported.)
 1.51.22.1  05-Feb-2010  matt Change to deal with new method of invoking softints. Remove mips/softintr.c
from config files. Fix SYMTAB_SPACE for WGT62V43
 1.51.20.1  25-Aug-2009  snj Pull up following revision(s) (requested by jun in ticket #918):
sys/arch/hpcmips/vr/vr.c: revision 1.54
Fix #41863, Missing "}".
 1.51.18.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.51.14.1  25-Aug-2009  snj Pull up following revision(s) (requested by jun in ticket #918):
sys/arch/hpcmips/vr/vr.c: revision 1.54
Fix #41863, Missing "}".
 1.51.12.1  28-Apr-2009  skrll Sync with HEAD.
 1.51.4.4  11-Aug-2010  yamt sync with head.
 1.51.4.3  11-Mar-2010  yamt sync with head
 1.51.4.2  19-Aug-2009  yamt sync with head.
 1.51.4.1  04-May-2009  yamt sync with head.
 1.55.4.3  21-Apr-2011  rmind sync with head
 1.55.4.2  05-Mar-2011  rmind sync with head
 1.55.4.1  30-May-2010  rmind sync with head
 1.55.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.58.4.1  05-Mar-2011  bouyer Sync with HEAD
 1.58.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.64.18.1  18-May-2014  rmind sync with head
 1.64.14.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.64.4.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed