The NetBSD Project

CVS log for src/sys/arch/mips/include/cpuregs.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / mips / include

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.116 / (download) - annotate - [select for diffs], Tue Nov 16 06:11:52 2021 UTC (2 years, 5 months ago) by simonb
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.115: +3 -3 lines
Diff to previous 1.115 (colored) to selected 1.112 (colored)

Use the architecture documented name ULR for the RDHWR user local
register.

Revision 1.115 / (download) - annotate - [select for diffs], Tue Nov 16 06:04:52 2021 UTC (2 years, 5 months ago) by simonb
Branch: MAIN
Changes since 1.114: +7 -7 lines
Diff to previous 1.114 (colored) to selected 1.112 (colored)

Add some comments for the RDHWR register numbers.

Revision 1.114 / (download) - annotate - [select for diffs], Tue Nov 16 06:04:00 2021 UTC (2 years, 5 months ago) by simonb
Branch: MAIN
Changes since 1.113: +1 -2 lines
Diff to previous 1.113 (colored) to selected 1.112 (colored)

Only need one #define for MIPS_HWR_CPUNUM.

Revision 1.113 / (download) - annotate - [select for diffs], Mon Nov 1 21:28:02 2021 UTC (2 years, 5 months ago) by andvar
Branch: MAIN
Changes since 1.112: +4 -4 lines
Diff to previous 1.112 (colored)

fix typos, mainly in words minimum and maximum, but also few others.

Revision 1.112 / (download) - annotate - [selected], Mon Aug 9 21:13:05 2021 UTC (2 years, 8 months ago) by andvar
Branch: MAIN
Changes since 1.111: +2 -2 lines
Diff to previous 1.111 (colored)

s/definitons/definitions/

Revision 1.110.4.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:22 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.110: +32 -31 lines
Diff to previous 1.110 (colored) next main 1.111 (colored) to selected 1.112 (colored)

Sync w/ HEAD.

Revision 1.110.6.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:14 2021 UTC (2 years, 10 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.110: +32 -31 lines
Diff to previous 1.110 (colored) next main 1.111 (colored) to selected 1.112 (colored)

sync with head

Revision 1.111 / (download) - annotate - [select for diffs], Sat May 29 12:35:27 2021 UTC (2 years, 10 months ago) by simonb
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Changes since 1.110: +32 -31 lines
Diff to previous 1.110 (colored) to selected 1.112 (colored)

Update the FPU register names and bit definitions to something somewhat
modern (MIPS32/MIPS64) and convert to __BIT/__BITS.

Revision 1.109.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:31 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.109: +3 -1 lines
Diff to previous 1.109 (colored) next main 1.110 (colored) to selected 1.112 (colored)

Sync with HEAD.

Revision 1.110 / (download) - annotate - [select for diffs], Wed Mar 17 11:05:37 2021 UTC (3 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.109: +3 -1 lines
Diff to previous 1.109 (colored) to selected 1.112 (colored)

Handle gas/gcc generating a break/trap 6 for integer overflow and
break/trap 7 for integer divide by zero and setting the SIGFPE
si_code of FPE_INTOVF or FPE_INTDIV respectively.  The break/trap
6/7 seems to have existed since the early days of MIPS but not
well documented anywhere.

Fixes ATF lib/libc/gen/t_siginfo::sigfpe_int .

Revision 1.109 / (download) - annotate - [select for diffs], Sat Aug 22 03:41:33 2020 UTC (3 years, 7 months ago) by simonb
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.108: +1 -2 lines
Diff to previous 1.108 (colored) to selected 1.112 (colored)

Remove bogus duplicate MIPS_COP_0_CONTEXT definition, it's not a MIPS32/64
specific reg and we already define MIPS_COP_0_TLB_CONTEXT elsewhere.

Revision 1.108 / (download) - annotate - [select for diffs], Sun Aug 2 23:04:23 2020 UTC (3 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.107: +9 -1 lines
Diff to previous 1.107 (colored) to selected 1.112 (colored)

Add a few more perfcnt CP0 registers.

Revision 1.107 / (download) - annotate - [select for diffs], Fri Jul 31 02:56:48 2020 UTC (3 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.106: +5 -1 lines
Diff to previous 1.106 (colored) to selected 1.112 (colored)

Add two cnMIPS III COP0 register names.

Revision 1.106 / (download) - annotate - [select for diffs], Wed Jul 29 09:00:05 2020 UTC (3 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.105: +19 -1 lines
Diff to previous 1.105 (colored) to selected 1.112 (colored)

Add definitions for the CP0 WatchLo/WatchHi registers.

Revision 1.105 / (download) - annotate - [select for diffs], Sun Jul 26 08:08:41 2020 UTC (3 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.104: +20 -20 lines
Diff to previous 1.104 (colored) to selected 1.112 (colored)

#define<tab>
Nuke trailing whitespace.

Revision 1.104 / (download) - annotate - [select for diffs], Sun Jul 26 07:52:07 2020 UTC (3 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.103: +3 -1 lines
Diff to previous 1.103 (colored) to selected 1.112 (colored)

Add CP0 Config Registers 6 and 7.

Revision 1.103 / (download) - annotate - [select for diffs], Sun Jul 26 07:46:21 2020 UTC (3 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.102: +42 -10 lines
Diff to previous 1.102 (colored) to selected 1.112 (colored)

Remove mostly duplicate MIPS spec CP0 regs from octeon_corereg.h, move
the Cavium specific CP0 regs to <mips/cpuregs.h> as done for other core
specific regs.

Revision 1.102 / (download) - annotate - [select for diffs], Mon Jul 20 03:17:44 2020 UTC (3 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.101: +2 -1 lines
Diff to previous 1.101 (colored) to selected 1.112 (colored)

Expose the width of the MIPS_EBASE_CPUNUM bitfield for asm code.

Revision 1.101 / (download) - annotate - [select for diffs], Mon Jul 20 01:10:38 2020 UTC (3 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.100: +3 -1 lines
Diff to previous 1.100 (colored) to selected 1.112 (colored)

Add an extra bitfield in MIPS_COP_0_EBASE.

Revision 1.100 / (download) - annotate - [select for diffs], Mon Jul 13 09:00:40 2020 UTC (3 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.99: +4 -1 lines
Diff to previous 1.99 (colored) to selected 1.112 (colored)

Remove a magic number.

Revision 1.99 / (download) - annotate - [select for diffs], Sun May 24 07:15:24 2020 UTC (3 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.98: +20 -8 lines
Diff to previous 1.98 (colored) to selected 1.112 (colored)

Add mipsNN_cp0_rdhwr_cpunum() which returns the current CPU number
read from the CPUNum hardware register on MIPS{32,64}R2.

Revision 1.98 / (download) - annotate - [select for diffs], Sat May 23 10:39:25 2020 UTC (3 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.97: +3 -1 lines
Diff to previous 1.97 (colored) to selected 1.112 (colored)

Add CX73xx and CXF75xx Cavium Octeon PRIDs.

Revision 1.97 / (download) - annotate - [select for diffs], Thu May 7 11:43:28 2020 UTC (3 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.96: +4 -2 lines
Diff to previous 1.96 (colored) to selected 1.112 (colored)

Add PRID definition for newer SiByte SB1 cores (rev 0x11).
Add a constant for SiByte/BCRM cacheable coherent TLB cache attribute.

Revision 1.88.12.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:27 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.88: +71 -10 lines
Diff to previous 1.88 (colored) next main 1.89 (colored) to selected 1.112 (colored)

update from HEAD

Revision 1.95.8.1 / (download) - annotate - [select for diffs], Thu May 11 02:58:35 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.95: +6 -6 lines
Diff to previous 1.95 (colored) next main 1.96 (colored) to selected 1.112 (colored)

Sync with HEAD

Revision 1.96 / (download) - annotate - [select for diffs], Sun May 7 04:12:35 2017 UTC (6 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.95: +6 -6 lines
Diff to previous 1.95 (colored) to selected 1.112 (colored)

Trailing whitespace

Revision 1.89.2.3 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:31 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.89.2.2: +3 -3 lines
Diff to previous 1.89.2.2 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored) to selected 1.112 (colored)

Sync with HEAD

Revision 1.95 / (download) - annotate - [select for diffs], Mon Jul 11 16:15:35 2016 UTC (7 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored) to selected 1.112 (colored)

Change MIPS to use the common pmap code.
Switch to 8KB pages on CPUs with a R4K MMU.
Simplify cache code.
Merge in most of changes from matt-mips64 branch

Revision 1.89.2.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:47 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.89.2.1: +40 -7 lines
Diff to previous 1.89.2.1 (colored) to branchpoint 1.89 (colored) to selected 1.112 (colored)

Sync with HEAD

Revision 1.94 / (download) - annotate - [select for diffs], Thu Jun 11 05:15:49 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Changes since 1.93: +3 -1 lines
Diff to previous 1.93 (colored) to selected 1.112 (colored)

Add a few MIPS32 R3 bits

Revision 1.93 / (download) - annotate - [select for diffs], Wed Jun 10 05:03:41 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.92: +2 -1 lines
Diff to previous 1.92 (colored) to selected 1.112 (colored)

Add MIPS 1074K

Revision 1.92 / (download) - annotate - [select for diffs], Sun Jun 7 08:03:10 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.91: +32 -2 lines
Diff to previous 1.91 (colored) to selected 1.112 (colored)

Define COP0 register that use select value in <mips/cpuregs.h>
Use those new definitions

Revision 1.89.2.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:01 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.89: +25 -2 lines
Diff to previous 1.89 (colored) to selected 1.112 (colored)

Sync with HEAD

Revision 1.91 / (download) - annotate - [select for diffs], Mon Jun 1 22:55:12 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.90: +7 -2 lines
Diff to previous 1.90 (colored) to selected 1.112 (colored)

Rework cavium support in preparation for MULTIPROCESSOR support

Revision 1.90 / (download) - annotate - [select for diffs], Wed Apr 29 08:32:00 2015 UTC (8 years, 11 months ago) by hikaru
Branch: MAIN
Changes since 1.89: +19 -1 lines
Diff to previous 1.89 (colored) to selected 1.112 (colored)

Initial import of Cavium Octeon and Octeon Plus SoC and
specifically Ubiquiti Networks EdgeRouter LITE support.
Currently the ethernet and uart are worked.
This support was contributed by Internet Initiative Japan Inc.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Nov 22 15:02:39 2014 UTC (9 years, 4 months ago) by macallan
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.88: +6 -1 lines
Diff to previous 1.88 (colored) to selected 1.112 (colored)

deal with Ingenic XBurst CPUs

Revision 1.74.28.26 / (download) - annotate - [select for diffs], Sat Dec 15 03:05:55 2012 UTC (11 years, 4 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.74.28.25: +2 -1 lines
Diff to previous 1.74.28.25 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored) to selected 1.112 (colored)

Add initial support for XLP II (XLP2XX/XLP1XX).

Revision 1.74.28.25 / (download) - annotate - [select for diffs], Thu Jan 19 08:28:48 2012 UTC (12 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.74.28.24: +2 -2 lines
Diff to previous 1.74.28.24 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

When running an N32 kernel, run it with 64-bit addresses even though the
kernel itself will only use 32-bit addresses.  There are exceptions.
bus_space_handles are now register_t instead of intptr_t.  This allows them
to contain XKPHYS addresses.  Now bus_space can use XKPHYS addresses and
not required non-KSEG1 devices to be mapped in KSEG2 thereby leaving more
KSEG2 space for the kernel to use.

The cache range routines (but not index routines) now take a register_t
instead of vaddr_t so they can too take a XKPHYS address.  This allows the
pmap to use a page's XKPHYS address to clean sync the icache thereby avoiding
massive icache invalidations.

Since "cache" instruction effects are global to all CPUs and their caches, we
can use the above to greatly simplify MP page isyncs.  If using an O32 kernel
with pages outside KSEG0, index ops still need to be performed since there
isn't an a quick way of mapping the page.

Revision 1.74.28.24 / (download) - annotate - [select for diffs], Tue Dec 27 06:55:12 2011 UTC (12 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.74.28.23: +2 -2 lines
Diff to previous 1.74.28.23 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

Note that 1004K and 1074K are MT

Revision 1.74.28.23 / (download) - annotate - [select for diffs], Fri Dec 23 17:55:50 2011 UTC (12 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.74.28.22: +8 -11 lines
Diff to previous 1.74.28.22 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

Correct XLP processor ids, add 1074K processor id.  Increase ASID space
to 10 bits for MIPS3+ cpus.

Revision 1.74.28.22 / (download) - annotate - [select for diffs], Fri Nov 4 04:29:32 2011 UTC (12 years, 5 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.74.28.21: +7 -0 lines
Diff to previous 1.74.28.21 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

Add RMI XLP ids

Revision 1.88 / (download) - annotate - [select for diffs], Sat Oct 29 18:56:49 2011 UTC (12 years, 5 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.87: +6 -1 lines
Diff to previous 1.87 (colored) to selected 1.112 (colored)

Add Broadcom BCM3302 CPU to the table.

Revision 1.87 / (download) - annotate - [select for diffs], Thu Sep 22 05:08:52 2011 UTC (12 years, 6 months ago) by macallan
Branch: MAIN
Changes since 1.86: +4 -1 lines
Diff to previous 1.86 (colored) to selected 1.112 (colored)

support BUS_SPACE_MAP_PREFETCH in order to allow mapping device memory and
DMA buffers with cacheing disabled but things like write combining, relaxed
ordering etc. allowed when the CPU supports it
so far enabled only on Loongson, should work on R1xk and probably newer CPUs

Revision 1.86 / (download) - annotate - [select for diffs], Sat Aug 27 13:23:52 2011 UTC (12 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.85: +58 -1 lines
Diff to previous 1.85 (colored) to selected 1.112 (colored)

loongson2f support:
- Add some loongson2 definitions to cpuregs.h, from OpenBSD
- Make sure that the at register is useable before every jump register
  instruction (exept when register is k0 or k1) because -mfix-loongson2f-btb
  needs the at register for its workaround
- add code to mips_fixup.c to handle the instructions added by
  -mfix-loongson2f-btb
- Add a ls2-specific tlb miss handler: it doesn't have separate handler
  for the xtlbmiss exeption.
- Fixes for some #ifdef MIPS3_LOONGSON2 assembly code (using the wrong
  register)

Revision 1.85 / (download) - annotate - [select for diffs], Tue Aug 2 05:12:32 2011 UTC (12 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.84: +5 -1 lines
Diff to previous 1.84 (colored) to selected 1.112 (colored)

Add Loongson2 DIAG register definitions (partial)

Revision 1.84 / (download) - annotate - [select for diffs], Sun Jul 31 15:35:04 2011 UTC (12 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.83: +3 -1 lines
Diff to previous 1.83 (colored) to selected 1.112 (colored)

Add define for loongson2 DIAG register

Revision 1.78.4.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:03 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.78: +114 -31 lines
Diff to previous 1.78 (colored) next main 1.79 (colored) to selected 1.112 (colored)

Sync with HEAD.

Revision 1.74.28.21 / (download) - annotate - [select for diffs], Thu May 26 19:21:55 2011 UTC (12 years, 10 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.74.28.20: +7 -7 lines
Diff to previous 1.74.28.20 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

Add MIPS64_RMIXL (XLR/XLS) and MIPS64R2_RMIXL (XLP).  This allows the kernel
to treat this special which is needed for MP support. When accessing the TLB,
always lock the TLB before hand.  If in the miss handlers, the TLB is already
locked let trap deal with the exeception.

Revision 1.74.28.20 / (download) - annotate - [select for diffs], Fri Apr 29 08:26:20 2011 UTC (12 years, 11 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.74.28.19: +43 -23 lines
Diff to previous 1.74.28.19 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

Major merge to/from current.
Adds MIPS32/MIPS64 R2 support (24k, 74k, etc.) including COP0_USERLOCAL
Adds support for emulation of rdhwr $3,$29 instruction.
Major cleanup of SMP code.  (stable on multi-core / single thread per core)
llsc locking code only used in MP capable kernels.

Revision 1.78.2.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:11 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.78.2.1: +39 -12 lines
Diff to previous 1.78.2.1 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored) to selected 1.112 (colored)

sync with head

Revision 1.83 / (download) - annotate - [select for diffs], Wed Apr 6 05:42:45 2011 UTC (13 years ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.82: +7 -7 lines
Diff to previous 1.82 (colored) to selected 1.112 (colored)

Fix some comments.

Revision 1.82 / (download) - annotate - [select for diffs], Tue Mar 15 07:39:22 2011 UTC (13 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.81: +34 -7 lines
Diff to previous 1.81 (colored) to selected 1.112 (colored)

Add separate support for MIPS32R2 and MIPS64R2.
Use EHB/SSNOP and jr.hb ra as appropriate (COP0_SYNC now uses them).
Add support for COP_0_HWRENA and COP_0_USERLOCAL (use by rdhwr $3,$29
instruction for TLS support).
Add mips3+ reserved instruction handler to emulate rdhwr is many fewer
instructions.

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:03 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.78: +80 -24 lines
Diff to previous 1.78 (colored) to selected 1.112 (colored)

sync with head

Revision 1.78.6.2 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:48 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.78.6.1: +77 -26 lines
Diff to previous 1.78.6.1 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored) to selected 1.112 (colored)

Sync with HEAD

Revision 1.81 / (download) - annotate - [select for diffs], Thu Mar 3 18:44:58 2011 UTC (13 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.80: +8 -1 lines
Diff to previous 1.80 (colored) to selected 1.112 (colored)

Change MIPS_CP0FL_CONFIG*
Add MIPS_CP0FL_HWRENA and USERLOCAL

Revision 1.80 / (download) - annotate - [select for diffs], Sun Feb 20 07:45:47 2011 UTC (13 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.79: +70 -26 lines
Diff to previous 1.79 (colored) to selected 1.112 (colored)

Major merge forward from matt-nb5-mips64.
New fixup code.
New common SPL code.
New common interrupt code.
Move related variables into structures.
Cleanup locore (move MD variable into it).
Kill StudlyCaps
Use PCU for FPU

Revision 1.78.6.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:28 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.78: +6 -1 lines
Diff to previous 1.78 (colored) to selected 1.112 (colored)

Sync with HEAD

Revision 1.79 / (download) - annotate - [select for diffs], Wed Jan 26 01:18:54 2011 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-base
Changes since 1.78: +6 -1 lines
Diff to previous 1.78 (colored) to selected 1.112 (colored)

Add support for the Extensible MIPS ("eMIPS") platform.  The
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.

eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing.  eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.

NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman.  Microsoft Corporation has
donated full copyright to The NetBSD Foundation.

Platform support for eMIPS is the first part of Microsoft's
contribution.  The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.

Revision 1.74.28.19 / (download) - annotate - [select for diffs], Wed Dec 29 00:33:32 2010 UTC (13 years, 3 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231
Changes since 1.74.28.18: +6 -1 lines
Diff to previous 1.74.28.18 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

Add MIPS_TLB_PID mask and use it apporpriately.

Revision 1.77.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:36 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored) next main 1.78 (colored) to selected 1.112 (colored)

Sync with HEAD.

Revision 1.74.28.18 / (download) - annotate - [select for diffs], Tue Apr 27 05:44:30 2010 UTC (13 years, 11 months ago) by cliff
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-k15
Changes since 1.74.28.17: +9 -6 lines
Diff to previous 1.74.28.17 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

seperate RMI CPU revision codes from RMI CPU processor codes
and improve comment

Revision 1.74.28.17 / (download) - annotate - [select for diffs], Mon Mar 29 23:33:00 2010 UTC (14 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.74.28.16: +17 -7 lines
Diff to previous 1.74.28.16 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

- fix XLR Pid defines; RMI Pid meaning depends on
the Rev value (Stepping B2 or C4)

Revision 1.74.28.16 / (download) - annotate - [select for diffs], Sun Mar 21 18:18:51 2010 UTC (14 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.74.28.15: +2 -1 lines
Diff to previous 1.74.28.15 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

- define MIPS_SR_COP_2_BIT to control enable/disable of coprocessor 2

Revision 1.74.10.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:38 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.74.10.1: +81 -22 lines
Diff to previous 1.74.10.1 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored) to selected 1.112 (colored)

sync with head

Revision 1.78 / (download) - annotate - [select for diffs], Sat Feb 27 22:12:31 2010 UTC (14 years, 1 month ago) by snj
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: rmind-uvmplock, jruoho-x86intr, bouyer-quota2
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored) to selected 1.112 (colored)

Spell "exception" properly.

Revision 1.74.28.15 / (download) - annotate - [select for diffs], Sat Feb 27 07:52:25 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.74.28.14: +3 -1 lines
Diff to previous 1.74.28.14 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

Add the RMI COP0 OSSCRATCH register

Revision 1.74.28.14 / (download) - annotate - [select for diffs], Fri Feb 5 07:36:51 2010 UTC (14 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.74.28.13: +3 -1 lines
Diff to previous 1.74.28.13 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

Add __HAVE_FAST_SOFTINTS support.
Add routine to remap an uarea via a direct-mapped address.  This avoids
TLB machinations when swtching to/from the softint thread.  This can only
be done for lwp which won't exit.

Revision 1.74.28.13 / (download) - annotate - [select for diffs], Wed Jan 20 06:58:35 2010 UTC (14 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.74.28.12: +38 -3 lines
Diff to previous 1.74.28.12 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

Revamp things a bit.  Move of the globals mips uses into either cpu_info,
mips_options, or mips_cache_info.  Make MALT64 be able to boot MULTIPROCESSOR.
(some pmap MP work).

Revision 1.77 / (download) - annotate - [select for diffs], Mon Dec 14 00:46:04 2009 UTC (14 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.76: +80 -21 lines
Diff to previous 1.76 (colored) to selected 1.112 (colored)

Merge from matt-nb5-mips64
Merge mips-specific arch files.

Revision 1.74.28.12 / (download) - annotate - [select for diffs], Sat Nov 14 21:49:05 2009 UTC (14 years, 5 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20091211
Changes since 1.74.28.11: +2 -1 lines
Diff to previous 1.74.28.11 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

Add MIPS_SR_PX

Revision 1.74.28.11 / (download) - annotate - [select for diffs], Fri Nov 13 05:23:23 2009 UTC (14 years, 5 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.74.28.10: +2 -2 lines
Diff to previous 1.74.28.10 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

- move #ifndef LOCORE up a few lines to wrap more XSEG, XKSEG stuff

Revision 1.74.28.10 / (download) - annotate - [select for diffs], Mon Nov 9 09:57:27 2009 UTC (14 years, 5 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.74.28.9: +9 -7 lines
Diff to previous 1.74.28.9 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

- fix some RMI XLR PRID typos (comments)

Revision 1.74.28.9 / (download) - annotate - [select for diffs], Sun Sep 13 03:28:22 2009 UTC (14 years, 7 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.74.28.8: +4 -1 lines
Diff to previous 1.74.28.8 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

include registers file for RMI XL chip family as needed

Revision 1.74.28.8 / (download) - annotate - [select for diffs], Tue Sep 8 07:54:53 2009 UTC (14 years, 7 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9
Changes since 1.74.28.7: +7 -3 lines
Diff to previous 1.74.28.7 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

Add and optimize MIPS_PHYS_TO_XKPHYS_{UN,}CACHED(pa).
Treat like mips3_pg_cached: add mips3_xkphys_cached which contains the
starting address of the cached XKPHYS region.  It also respects SPECIAL_CCA.

Revision 1.74.28.7 / (download) - annotate - [select for diffs], Mon Sep 7 21:34:47 2009 UTC (14 years, 7 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb4-mips64-k7-u2a-k9b
Changes since 1.74.28.6: +5 -5 lines
Diff to previous 1.74.28.6 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

Use intptr_t in MIPS_KSEGx_P()
Use uintptr_t in MIPS_XKPHYS*

Revision 1.74.28.6 / (download) - annotate - [select for diffs], Sun Sep 6 22:36:16 2009 UTC (14 years, 7 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.74.28.5: +17 -2 lines
Diff to previous 1.74.28.5 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

Add some more macros for XUSEG/XSSEK and for testing what segment an address
belongs to.

Revision 1.74.28.5 / (download) - annotate - [select for diffs], Sat Sep 5 03:20:21 2009 UTC (14 years, 7 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.74.28.4: +8 -6 lines
Diff to previous 1.74.28.4 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

Define MIPS_KSEGn_START as friends as being long.

Revision 1.74.28.4 / (download) - annotate - [select for diffs], Sun Aug 30 13:03:02 2009 UTC (14 years, 7 months ago) by simonb
Branch: matt-nb5-mips64
Changes since 1.74.28.3: +2 -2 lines
Diff to previous 1.74.28.3 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

Update comment for EBASE - this is a MIPS32/MIPS64 only register

Revision 1.74.28.3 / (download) - annotate - [select for diffs], Sun Aug 30 10:01:03 2009 UTC (14 years, 7 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.74.28.2: +23 -1 lines
Diff to previous 1.74.28.2 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

Add RMI company id.
Add some RMI processor ids.
Add CP0 EBASE defintion.

Revision 1.74.28.2 / (download) - annotate - [select for diffs], Fri Aug 21 17:26:23 2009 UTC (14 years, 7 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-u1-k1-k5
Changes since 1.74.28.1: +29 -24 lines
Diff to previous 1.74.28.1 (colored) to branchpoint 1.74 (colored) to selected 1.112 (colored)

Define manifest kernel addresses as negative so that proper sign extension
happens.  This gives proper results for both 32bit and 64bit kernels.

Revision 1.74.28.1 / (download) - annotate - [select for diffs], Thu Aug 20 07:49:52 2009 UTC (14 years, 8 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.74: +7 -2 lines
Diff to previous 1.74 (colored) to selected 1.112 (colored)

Add a MIPS_XKPHYS_P(va) macro.
Define MIPS_XKSEG related macros

Revision 1.74.10.1 / (download) - annotate - [select for diffs], Wed Aug 19 18:46:29 2009 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.74: +6 -1 lines
Diff to previous 1.74 (colored) to selected 1.112 (colored)

sync with head.

Revision 1.76 / (download) - annotate - [select for diffs], Thu Aug 6 00:42:58 2009 UTC (14 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, matt-premerge-20091211
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored) to selected 1.112 (colored)

LOONGSON2 is a MIPS III

Revision 1.75 / (download) - annotate - [select for diffs], Sat Aug 1 22:50:41 2009 UTC (14 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.74: +6 -1 lines
Diff to previous 1.74 (colored) to selected 1.112 (colored)

Add Loongson2 chip ids

Revision 1.71.32.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:11 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.71.32.1: +5 -1 lines
Diff to previous 1.71.32.1 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored) to selected 1.112 (colored)

sync with HEAD

Revision 1.65.16.4 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:22 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.65.16.3: +5 -1 lines
Diff to previous 1.65.16.3 (colored) to branchpoint 1.65 (colored) next main 1.66 (colored) to selected 1.112 (colored)

sync with head.

Revision 1.74 / (download) - annotate - [select for diffs], Tue Feb 19 11:26:40 2008 UTC (16 years, 2 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, matt-nb5-pq3-base, matt-nb5-pq3, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, matt-nb5-mips64
Changes since 1.73: +5 -1 lines
Diff to previous 1.73 (colored) to selected 1.112 (colored)

Add PrID's for MIPS's 24K, 24KE, 34K and 74K cores.

From Alexander Voropay in mail to port-mips@.

Revision 1.71.22.1 / (download) - annotate - [select for diffs], Sun Jan 6 05:00:57 2008 UTC (16 years, 3 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.71: +2 -1 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.112 (colored)

Catch up to netbsd-4.0 release.

Revision 1.65.14.1 / (download) - annotate - [select for diffs], Mon Nov 19 21:30:25 2007 UTC (16 years, 5 months ago) by bouyer
Branch: netbsd-3
Changes since 1.65: +2 -1 lines
Diff to previous 1.65 (colored) next main 1.66 (colored) to selected 1.112 (colored)

Pull up following revision(s) (requested by simonb in ticket #1865):
	sys/arch/mips/include/cpuregs.h: revision 1.72
	sys/arch/mips/mips/mips_machdep.c: revision 1.195
Recognise the R2000A cpu as found in some pmaxen.
From Dennis Grevenstein on port-pmax@.
--

Revision 1.71.32.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:18:58 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.71: +2 -1 lines
Diff to previous 1.71 (colored) to selected 1.112 (colored)

sync with HEAD

Revision 1.65.16.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:27:14 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.65.16.2: +2 -1 lines
Diff to previous 1.65.16.2 (colored) to branchpoint 1.65 (colored) to selected 1.112 (colored)

sync with head.

Revision 1.71.30.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:42:55 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.71: +2 -1 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.112 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.71.6.1 / (download) - annotate - [select for diffs], Wed Oct 24 22:10:44 2007 UTC (16 years, 5 months ago) by xtraeme
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.71: +2 -1 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.112 (colored)

Pull up following revision(s) (requested by simonb in ticket #936):
	sys/arch/mips/include/cpuregs.h: revision 1.72
	sys/arch/mips/mips/mips_machdep.c: revision 1.195

Recognise the R2000A cpu as found in some pmaxen.
From Dennis Grevenstein on port-pmax@.

Revision 1.71.12.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:13:30 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.71: +2 -1 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.112 (colored)

Sync with head.

Revision 1.71.34.1 / (download) - annotate - [select for diffs], Thu Oct 18 08:32:15 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.71: +2 -1 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.112 (colored)

sync with head.

Revision 1.73 / (download) - annotate - [select for diffs], Wed Oct 17 19:55:36 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, mjf-devfs-base, mjf-devfs, matt-armv6-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base
Changes since 1.72: +1 -1 lines
Diff to previous 1.72 (colored) to selected 1.112 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.71.20.1 / (download) - annotate - [select for diffs], Tue Oct 16 18:23:44 2007 UTC (16 years, 6 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.71: +2 -1 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.112 (colored)

Sync with HEAD

Revision 1.72 / (download) - annotate - [select for diffs], Tue Oct 16 12:19:19 2007 UTC (16 years, 6 months ago) by simonb
Branch: MAIN
CVS Tags: ppcoea-renovation-base, bouyer-xenamd64
Changes since 1.71: +2 -1 lines
Diff to previous 1.71 (colored) to selected 1.112 (colored)

Recognise the R2000A cpu as found in some pmaxen.

From Dennis Grevenstein on port-pmax@.

Revision 1.65.16.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:32 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.65.16.1: +6 -6 lines
Diff to previous 1.65.16.1 (colored) to branchpoint 1.65 (colored) to selected 1.112 (colored)

sync with head.

Revision 1.69.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:41:26 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.69: +7 -7 lines
Diff to previous 1.69 (colored) next main 1.70 (colored) to selected 1.112 (colored)

sync with head

Revision 1.69.8.2 / (download) - annotate - [select for diffs], Sun Sep 3 15:23:21 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.69.8.1: +6 -6 lines
Diff to previous 1.69.8.1 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored) to selected 1.112 (colored)

sync with head.

Revision 1.71 / (download) - annotate - [select for diffs], Sat Aug 26 20:04:59 2006 UTC (17 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-idlelwp-base8, yamt-idlelwp, vmlocking-base, thorpej-atomic-base, thorpej-atomic, rpaulo-netinet-merge-pcb-base, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: yamt-x86pmap, wrstuden-fixsa, vmlocking, ppcoea-renovation, netbsd-4, matt-armv6, jmcneill-pm
Changes since 1.70: +6 -6 lines
Diff to previous 1.70 (colored) to selected 1.112 (colored)

Don't cast pointers using unsigned and/or int.  Use intptr_t or uintptr_t
as appropriate.

Revision 1.65.16.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:53:38 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.65: +7 -11 lines
Diff to previous 1.65 (colored) to selected 1.112 (colored)

sync with head.

Revision 1.69.6.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:35:03 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored) next main 1.70 (colored) to selected 1.112 (colored)

Sync with head.

Revision 1.69.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:48:13 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored) next main 1.70 (colored) to selected 1.112 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.69.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:56:58 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored) to selected 1.112 (colored)

sync with head.

Revision 1.70 / (download) - annotate - [select for diffs], Mon May 15 02:26:54 2006 UTC (17 years, 11 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored) to selected 1.112 (colored)

Fix typo in MIPS3_SR_EIE.
From Anders Gavare.

Revision 1.69 / (download) - annotate - [select for diffs], Tue Dec 20 21:06:43 2005 UTC (18 years, 4 months ago) by tron
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq
Changes since 1.68: +2 -1 lines
Diff to previous 1.68 (colored) to selected 1.112 (colored)

Add basic support for Alchemy Au1550 processor (CPU and devices).
Patch contributed by Garrett D'Amore in PR port-evbmips/32030.

Revision 1.68 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:09 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.67: +1 -1 lines
Diff to previous 1.67 (colored) to selected 1.112 (colored)

merge ktrace-lwp.

Revision 1.61.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 13:57:33 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.61.2.3: +5 -10 lines
Diff to previous 1.61.2.3 (colored) next main 1.62 (colored) to selected 1.112 (colored)

Sync with HEAD. Here we go again...

Revision 1.67 / (download) - annotate - [select for diffs], Sat Nov 5 18:17:36 2005 UTC (18 years, 5 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, ktrace-lwp-base
Changes since 1.66: +1 -3 lines
Diff to previous 1.66 (colored) to selected 1.112 (colored)

Remove unused and incorrect MIPS_KSEG2_TO_PHYS() and MIPS_PHYS_TO_KSEG2()
macro.

Revision 1.66 / (download) - annotate - [select for diffs], Fri Nov 4 16:19:31 2005 UTC (18 years, 5 months ago) by tsutsui
Branch: MAIN
Changes since 1.65: +5 -8 lines
Diff to previous 1.65 (colored) to selected 1.112 (colored)

Check MIPS3_CONFIG_CS and adjust csizebase at runtime on MIPS_R4100 CPUs,
and remove "XXXCDC: THIS MIPS3_4100 SPECIAL CASE SHOULD GO AWAY" part
from cpuregs.h. Tested on gxemul.

BTW, cache.c doesn't have MIPS_RC32364 config which was added
in mips_machdep.c rev 1.101?

Revision 1.61.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:18:39 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.61.2.2: +1 -1 lines
Diff to previous 1.61.2.2 (colored) to selected 1.112 (colored)

Fix the sync with head I botched.

Revision 1.61.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:37:18 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.61.2.1: +0 -0 lines
Diff to previous 1.61.2.1 (colored) to selected 1.112 (colored)

Sync with HEAD.

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:37:39 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.61: +43 -7 lines
Diff to previous 1.61 (colored) to selected 1.112 (colored)

Sync with HEAD

Revision 1.65 / (download) - annotate - [select for diffs], Wed Oct 29 23:41:10 2003 UTC (20 years, 5 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf, netbsd-3
Changes since 1.64: +9 -1 lines
Diff to previous 1.64 (colored) to selected 1.112 (colored)

Add some more MTI CPU ids.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Sep 28 08:43:29 2003 UTC (20 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.63: +32 -1 lines
Diff to previous 1.63 (colored) to selected 1.112 (colored)

- Add MIPS_KSEG2_TO_PHYS() and MIPS_PHYS_TO_KSEG2() macro.
- Add definitions of the MIPS4 config register.

From Christopher SEKIYA.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Sep 28 08:16:51 2003 UTC (20 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.62: +3 -2 lines
Diff to previous 1.62 (colored) to selected 1.112 (colored)

Add another R4000 CPU revision ID. From Christopher SEKIYA.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Aug 7 16:28:27 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.61: +2 -6 lines
Diff to previous 1.61 (colored) to selected 1.112 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.61 / (download) - annotate - [select for diffs], Tue Jun 10 06:42:06 2003 UTC (20 years, 10 months ago) by simonb
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored) to selected 1.112 (colored)

Change MIPS3_SR_FR_32 to MIPS3_SR_FR.  Both the old R4000 manual and the
current MIPS64 manuals don't use the "32" in the bit name.

Revision 1.60 / (download) - annotate - [select for diffs], Mon Jun 9 12:20:37 2003 UTC (20 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.59: +1 -3 lines
Diff to previous 1.59 (colored) to selected 1.112 (colored)

Remove definitions and usage of MIPS_COP_0_STATUS_REG and
MIPS_COP_0_CAUSE_REG - use MIPS_COP_0_STATUS and MIPS_COP_0_CAUSE
instead.

Revision 1.47.4.9 / (download) - annotate - [select for diffs], Wed Jan 15 18:22:27 2003 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.47.4.8: +4 -1 lines
Diff to previous 1.47.4.8 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored) to selected 1.112 (colored)

Sync with HEAD.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Jan 10 03:22:48 2003 UTC (21 years, 3 months ago) by rafal
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Changes since 1.58: +4 -1 lines
Diff to previous 1.58 (colored) to selected 1.112 (colored)

Add the MIPS3_CONFIG_SE (name taken from Rm52xx manual) bit, which is the
external cache enable bit -- this allows software to enable or disable the
(external) L2 cache on the R5k and Rm527x and the (external) L3 cache on
the Rm7k.  If the (external) cache is disabled, treat it as if there were
no cache for the purposes of the cache setup code.

Also, update sgimips code to use the new name.

Revision 1.47.4.8 / (download) - annotate - [select for diffs], Wed Dec 11 06:11:02 2002 UTC (21 years, 4 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.47.4.7: +11 -2 lines
Diff to previous 1.47.4.7 (colored) to branchpoint 1.47 (colored) to selected 1.112 (colored)

Sync with HEAD.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Nov 15 01:15:11 2002 UTC (21 years, 5 months ago) by simonb
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.57: +11 -2 lines
Diff to previous 1.57 (colored) to selected 1.112 (colored)

Define COP0_HAZARD_FPUENABLE as four nops.
Include <mips/sb1regs.h> if MIPS64_SB1 is defined.

Revision 1.47.4.7 / (download) - annotate - [select for diffs], Mon Nov 11 22:00:25 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.47.4.6: +3 -1 lines
Diff to previous 1.47.4.6 (colored) to branchpoint 1.47 (colored) to selected 1.112 (colored)

Catch up to -current

Revision 1.57 / (download) - annotate - [select for diffs], Sun Nov 3 13:16:11 2002 UTC (21 years, 5 months ago) by nisimura
Branch: MAIN
Changes since 1.56: +3 -1 lines
Diff to previous 1.56 (colored) to selected 1.112 (colored)

Add two PRiD values.
- 0x55 for NEC Vr5500.  ISA might be MIPS64.
- 0x38 for Toshiba TX79.  This has thirty-two 128bit GPRs while
maintaining 32bit only virtual address space.  Any of pointer related
registers have 32bit.

Revision 1.47.4.6 / (download) - annotate - [select for diffs], Tue Sep 17 21:15:42 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.47.4.5: +4 -1 lines
Diff to previous 1.47.4.5 (colored) to branchpoint 1.47 (colored) to selected 1.112 (colored)

Catch up to -current.

Revision 1.43.2.5 / (download) - annotate - [select for diffs], Fri Sep 6 08:37:30 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.43.2.4: +14 -8 lines
Diff to previous 1.43.2.4 (colored) next main 1.44 (colored) to selected 1.112 (colored)

sync kqueue branch with HEAD

Revision 1.50.4.3 / (download) - annotate - [select for diffs], Sat Aug 31 13:45:19 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.50.4.2: +13 -4 lines
Diff to previous 1.50.4.2 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored) to selected 1.112 (colored)

catch up with -current.

Revision 1.56 / (download) - annotate - [select for diffs], Wed Aug 28 02:09:29 2002 UTC (21 years, 7 months ago) by simonb
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Changes since 1.55: +4 -1 lines
Diff to previous 1.55 (colored) to selected 1.112 (colored)

Add the Toshiba TX4927 CPU.

Revision 1.47.4.5 / (download) - annotate - [select for diffs], Thu Aug 1 02:42:30 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.47.4.4: +11 -8 lines
Diff to previous 1.47.4.4 (colored) to branchpoint 1.47 (colored) to selected 1.112 (colored)

Catch up to -current.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Jul 26 00:43:54 2002 UTC (21 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.54: +10 -4 lines
Diff to previous 1.54 (colored) to selected 1.112 (colored)

Add support for detecting Alchemy Semiconductor CPUs.  Alchemy use the
processor ID field to donote the CPU core revision and the company
options field do donate the SOC chip type, so we need to add an extra
field to the "pridtab" structure to identify these CPUs.

Revision 1.50.4.2 / (download) - annotate - [select for diffs], Tue Jul 16 08:50:44 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.50.4.1: +2 -5 lines
Diff to previous 1.50.4.1 (colored) to branchpoint 1.50 (colored) to selected 1.112 (colored)

catch up with -current.

Revision 1.50.4.1 / (download) - annotate - [select for diffs], Sun Jul 14 18:37:13 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.50: +9 -8 lines
Diff to previous 1.50 (colored) to selected 1.112 (colored)

catch up with -current.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Jul 6 23:59:19 2002 UTC (21 years, 9 months ago) by gmcgarry
Branch: MAIN
Changes since 1.53: +1 -5 lines
Diff to previous 1.53 (colored) to selected 1.112 (colored)

Overhaul the emulation facility.  We do this by:

- accumulating all emulation code (including floating-point) in one place
- steal MachFPInterrupt() back from SOFTFLOAT for use only with interrupts
  and traps from *real* FPUs
- introducing MachEmulateInst() as a common dispatch point for all
  emulated instructions
- cleaning up emulation dispatch in trap()

Also, while we're here, implement MIPS2 LL/SC/SYNC emulation for MIPS1.

Tested on r3k with and without SOFTFLOAT enabled.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Jun 27 03:43:45 2002 UTC (21 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.52: +2 -1 lines
Diff to previous 1.52 (colored) to selected 1.112 (colored)

Add the 20Kc processor ID.

Revision 1.43.2.4 / (download) - annotate - [select for diffs], Sun Jun 23 17:38:01 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.43.2.3: +9 -8 lines
Diff to previous 1.43.2.3 (colored) to selected 1.112 (colored)

catch up with -current on kqueue branch

Revision 1.47.4.4 / (download) - annotate - [select for diffs], Thu Jun 20 03:39:45 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.47.4.3: +9 -8 lines
Diff to previous 1.47.4.3 (colored) to branchpoint 1.47 (colored) to selected 1.112 (colored)

Catch up to -current.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Jun 5 05:56:48 2002 UTC (21 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.51: +8 -5 lines
Diff to previous 1.51 (colored) to selected 1.112 (colored)

For the CP0 status register bit definitions- add the MX, PX and NMI bits
and rename TLB_SHUTDOWN and SOFT_RESET to TS and SR (the abbreviations
in the MIPS documentation).

XXX: this file really needs to be cleaned up one day...

Revision 1.51 / (download) - annotate - [select for diffs], Sat Jun 1 12:27:03 2002 UTC (21 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.50: +2 -4 lines
Diff to previous 1.50 (colored) to selected 1.112 (colored)

Standardise on the name "MIPS_SR_BEV" instead of a couple of different
#defines for the same status bit.

Revision 1.47.4.3 / (download) - annotate - [select for diffs], Mon Apr 1 07:40:58 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.47.4.2: +383 -336 lines
Diff to previous 1.47.4.2 (colored) to branchpoint 1.47 (colored) to selected 1.112 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.43.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 15:58:34 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.43.2.2: +383 -336 lines
Diff to previous 1.43.2.2 (colored) to selected 1.112 (colored)

Catch up with -current.

Revision 1.50 / (download) - annotate - [select for diffs], Wed Mar 13 13:18:58 2002 UTC (22 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.49: +2 -1 lines
Diff to previous 1.49 (colored) to selected 1.112 (colored)

Add R4400 reg 0x60 to the MIPS CPU table.
From PR port-mips/15894 from Thilo Manske.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Mar 5 15:35:22 2002 UTC (22 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.48: +382 -336 lines
Diff to previous 1.48 (colored) to selected 1.112 (colored)

Add support for MIPS32 and MIPS64 architectures:
 - Add XKPHYS macros (from Broadcom Corp).
 - Add some r5900 register bit definitions.
 - Add extra exception vector addresses for mips32/mips64 and r5900.
 - Make the mips cp0 register definitions available from both asm and C.
 - Add some Alchemy and Sandcraft CPU ids.
 - Add r3000, tx39xx and r4x00 CPU revision ids.
 - Remove defines for the number of TLBs on some CPUs.

Revision 1.43.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:46:00 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.43.2.1: +8 -1 lines
Diff to previous 1.43.2.1 (colored) to selected 1.112 (colored)

Sync kqueue branch with -current.

Revision 1.47.4.2 / (download) - annotate - [select for diffs], Tue Jan 8 00:26:16 2002 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.47.4.1: +717 -0 lines
Diff to previous 1.47.4.1 (colored) to branchpoint 1.47 (colored) to selected 1.112 (colored)

Catch up to -current.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Dec 28 04:06:06 2001 UTC (22 years, 3 months ago) by shin
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.47: +2 -1 lines
Diff to previous 1.47 (colored) to selected 1.112 (colored)

R4000/R4400 always detects virtual alias as if
primary cache size is 32KB. Actual primary cache size
is ignored wrt VCED/VCEI.

Revision 1.47.4.1, Tue Oct 16 16:31:34 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.47: +0 -716 lines
FILE REMOVED

file cpuregs.h was added on branch nathanw_sa on 2002-01-08 00:26:16 +0000

Revision 1.47 / (download) - annotate - [select for diffs], Tue Oct 16 16:31:34 2001 UTC (22 years, 6 months ago) by uch
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache
Branch point for: nathanw_sa
Changes since 1.46: +7 -1 lines
Diff to previous 1.46 (colored) to selected 1.112 (colored)

R5900 support.
 COP0_SYNC
	In R5900 mtc0, tlbr, tlbp, tlbwi, tlbwr must be followed by sync.p.
	if defined MIPS3_5900, COP0_SYNC is defined as sync.p. else nothing.
 IPL_ICU_MASK
	mask interrupt directly ICU instead of SR.IM.
	I've added this feature to support software interrupt for R5900.
	and this option may be useful for platform which has cascaded ICU.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Sat Aug 25 06:15:32 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.43: +59 -41 lines
Diff to previous 1.43 (colored) to selected 1.112 (colored)

Merge Aug 24 -current into the kqueue branch.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Aug 17 07:53:33 2001 UTC (22 years, 8 months ago) by simonb
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.45: +42 -40 lines
Diff to previous 1.45 (colored) to selected 1.112 (colored)

Describe the widths of various coprocessor 0 registers (for mips1,
mips3, mips32 and mips64).

Revision 1.45 / (download) - annotate - [select for diffs], Wed Aug 15 14:27:00 2001 UTC (22 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.44: +5 -5 lines
Diff to previous 1.44 (colored) to selected 1.112 (colored)

_Never_ make a cosmetic change to a comment without test-compiling...

Revision 1.44 / (download) - annotate - [select for diffs], Wed Aug 15 03:01:37 2001 UTC (22 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.43: +18 -2 lines
Diff to previous 1.43 (colored) to selected 1.112 (colored)

Add some MIPS, Alchemy and SiByte CPU PRIDs (from oss.sgi.com).

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 19:27:56 2001 UTC (22 years, 10 months ago) by nathanw
Changes since 1.38: +53 -17 lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.112 (colored)

Catch up to -current.

Revision 1.43 / (download) - annotate - [select for diffs], Thu May 31 02:06:26 2001 UTC (22 years, 10 months ago) by nisimura
Branch: MAIN
Branch point for: kqueue
Changes since 1.42: +5 -5 lines
Diff to previous 1.42 (colored) to selected 1.112 (colored)

PRiD 0x18 is shared by RC32334, 332 and 355.  These SoCs are
distinguished by SYSID register in the system controller.  Note
that PRiD 0x20 is for a standalone RC32364 processor which has the
same 32300 core inside.  Rather better to name them MIPS32 ISA.

Revision 1.42 / (download) - annotate - [select for diffs], Wed May 30 12:52:06 2001 UTC (22 years, 10 months ago) by soren
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) to selected 1.112 (colored)

Pasto.

Revision 1.41 / (download) - annotate - [select for diffs], Wed May 30 07:21:51 2001 UTC (22 years, 10 months ago) by nisimura
Branch: MAIN
Changes since 1.40: +2 -1 lines
Diff to previous 1.40 (colored) to selected 1.112 (colored)

Add PRiD 0x18 for IDT RC32332/RC32334 processors.

Revision 1.40 / (download) - annotate - [select for diffs], Tue May 15 21:48:50 2001 UTC (22 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.39: +49 -15 lines
Diff to previous 1.39 (colored) to selected 1.112 (colored)

Add the processor IDs for the 4Kc and 5Kc CPUs and some MIPS32/64
coprocessor 0 registers.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Apr 24 08:03:44 2001 UTC (22 years, 11 months ago) by nisimura
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.38: +3 -2 lines
Diff to previous 1.38 (colored) to selected 1.112 (colored)

Add PRiD register imp value 0x2d for Toshiba TX4900 family.

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:28:20 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.23.2.1: +4 -6 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored) to selected 1.112 (colored)

Sync with HEAD.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Nov 27 06:38:54 2000 UTC (23 years, 4 months ago) by soren
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Changes since 1.37: +3 -5 lines
Diff to previous 1.37 (colored) to selected 1.112 (colored)

Correct a few cpu/fpu ids.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Nov 27 06:37:33 2000 UTC (23 years, 4 months ago) by nisimura
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored) to selected 1.112 (colored)

Use only one TLB entry to wire down process's USPACE since it's
now guranteed to be aligned on 8KB boundary in kernel virutal
address.  Retain one more free TLB entry.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:13:30 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.23: +54 -46 lines
Diff to previous 1.23 (colored) to selected 1.112 (colored)

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.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Sep 16 00:04:57 2000 UTC (23 years, 7 months ago) by chuck
Branch: MAIN
Changes since 1.35: +6 -4 lines
Diff to previous 1.35 (colored) to selected 1.112 (colored)

IDT32364's Config register uses a different base for IC/DC (instruction
and data cache sizes).   R4000 uses 2^(12+IC) and 2^(12+DC).  IDT32364
uses 2^(9+IC) and 2^(9+DC).

abstract around the problem by making the base a parameter to the
MIPS3_CONFIG_CACHE_SIZE macro.   we pass the base down from mips_vector_init
to mips3_vector_init and to mips3_ConfigCache (where it is used).

XXX: someone with an MIPS3_4100 should switch to this and get rid
of the ugly ifdefs in cpuregs.h

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Wed Jul 19 18:21:22 2000 UTC (23 years, 9 months ago) by jeffs
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.34: +10 -3 lines
Diff to previous 1.34 (colored) next main 1.35 (colored) to selected 1.112 (colored)

Pull up revision 1.35 (approved by thorpej):
  if MIPS3_ENABLE_CLOCK_INTR is defined, set MIPS3_[HARD_]INT_MASK
  appropriately.  This supports ports that use the internal clock.
  Add 2 diag register defines that are specific to QED processors.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jul 17 23:35:13 2000 UTC (23 years, 9 months ago) by jeffs
Branch: MAIN
Changes since 1.34: +10 -3 lines
Diff to previous 1.34 (colored) to selected 1.112 (colored)

if MIPS3_ENABLE_CLOCK_INTR is defined, set MIPS3_[HARD_]INT_MASK
appropriately.  This supports ports that use the internal clock.
Add 2 diag register defines that are specific to QED processors.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:01:27 2000 UTC (23 years, 10 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored) to selected 1.112 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jun 9 06:06:59 2000 UTC (23 years, 10 months ago) by soda
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored) to selected 1.112 (colored)

Decrease MIPS3_TLB_WIRED_ENTRIES from 8 to 2,
and rename it to MIPS3_TLB_WIRED_UPAGES.
The value of wired register becomes variable on arc port,
and arc is the only mips3 port which uses the wired TLB entries 2..7.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Jun 6 17:41:58 2000 UTC (23 years, 10 months ago) by soren
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored) to selected 1.112 (colored)

Typo.

Revision 1.32 / (download) - annotate - [select for diffs], Tue May 23 04:21:39 2000 UTC (23 years, 11 months ago) by soren
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.31: +1 -4 lines
Diff to previous 1.31 (colored) to selected 1.112 (colored)

MachForceCacheUpdate and cacheflush_bug have never been used in NetBSD,
so remove references them, and do a little other cleanup.

Revision 1.31 / (download) - annotate - [select for diffs], Sun May 21 04:03:35 2000 UTC (23 years, 11 months ago) by soren
Branch: MAIN
Changes since 1.30: +10 -9 lines
Diff to previous 1.30 (colored) to selected 1.112 (colored)

Add R12K PRID.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Mar 25 06:33:50 2000 UTC (24 years ago) by nisimura
Branch: MAIN
Changes since 1.29: +21 -20 lines
Diff to previous 1.29 (colored) to selected 1.112 (colored)

Add QED RM7000 PrID.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Mar 24 20:48:20 2000 UTC (24 years ago) by soren
Branch: MAIN
Changes since 1.28: +1 -8 lines
Diff to previous 1.28 (colored) to selected 1.112 (colored)

Remove FPU PRIDs that are identical to the CPU ones.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Mar 19 19:16:13 2000 UTC (24 years, 1 month ago) by soren
Branch: MAIN
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored) to selected 1.112 (colored)

Updated RM5231 cache code from Jeff Smith and Ethan Solomita at Geocast.
Many thanks.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Mar 7 01:05:48 2000 UTC (24 years, 1 month ago) by soren
Branch: MAIN
Changes since 1.26: +1 -5 lines
Diff to previous 1.26 (colored) to selected 1.112 (colored)

Garbage collect MIPS_SR_INT_ENAB/MIPS_SR_INT_ENA_CUR definitions.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Dec 27 20:05:06 1999 UTC (24 years, 3 months ago) by castor
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.25: +6 -4 lines
Diff to previous 1.25 (colored) to selected 1.112 (colored)

Add macro for MIPS_PHYS_MASK  and document use of bits in system status
registers.

Revision 1.23.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:32:45 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.23: +5 -1 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.112 (colored)

Pull up to last week's -current.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Dec 22 04:54:15 1999 UTC (24 years, 4 months ago) by jun
Branch: MAIN
Changes since 1.24: +5 -1 lines
Diff to previous 1.24 (colored) to selected 1.112 (colored)

FIX:
port-mips/9016 [serious/medium]:
        MIPS FPU emulator points wrong epc on exception case

	Responsible:    port-mips-maintainer (NetBSD/mips Portmasters)
	State:          open
	Class:          sw-bug
	Originator:     Shuichiro URATA
	Release:        current 12/11/1999
	Arrival-Date:   Fri Dec 17 10:18:00 1999
commit patch
     http://www.a-r.org/~ur/softfloat1211.diff.gz
     by Shuichiro URATA (ur@a-r.org)

Revision 1.24 / (download) - annotate - [select for diffs], Mon Nov 29 11:12:12 1999 UTC (24 years, 4 months ago) by uch
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.23: +5 -1 lines
Diff to previous 1.23 (colored) to selected 1.112 (colored)

TX3912/22 support. ENABLE_MIPS_TX3900 enables it.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Sep 25 00:00:37 1999 UTC (24 years, 6 months ago) by shin
Branch: MAIN
CVS Tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.22: +7 -1 lines
Diff to previous 1.22 (colored) to selected 1.112 (colored)

Changes for NetBSD/hpcmips.

	Support VR4100.
	Support 16KB page.
	Support CPU without FPU.

Fix virtual alias problem(physio() case).

[new options]

options		MIPS3_4100	/* VR4100 core */
options		MIPS_16K_PAGE	/* enable kernel support for 16k pages  */
options		SOFTFLOAT 	/* No FPU; avoid touching FPU registers */

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 00:51:59 1999 UTC (24 years, 10 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.19: +92 -106 lines
Diff to previous 1.19 (colored) next main 1.20 (colored) to selected 1.112 (colored)

Sync w/ -current.

Revision 1.22 / (download) - annotate - [select for diffs], Fri May 21 06:37:39 1999 UTC (24 years, 11 months ago) by nisimura
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.21: +91 -92 lines
Diff to previous 1.21 (colored) to selected 1.112 (colored)

- Redefine symbols and parameters to represent CPU design with MIPS
nomenclature, retaining the old heritage.
- Remove API-related definitions for now obsolete utiltity routines.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 26 09:42:14 1999 UTC (24 years, 11 months ago) by nisimura
Branch: MAIN
Changes since 1.20: +1 -14 lines
Diff to previous 1.20 (colored) to selected 1.112 (colored)

- MIPS processors do not impose inclusive (nesting) interrupt levels with
their interrupt lines.  The notion and implemention of 'spl' are left
for how target ports approach to it.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Apr 24 08:10:34 1999 UTC (24 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.19: +5 -5 lines
Diff to previous 1.19 (colored) to selected 1.112 (colored)

Nuke register and remove trailling white space.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jan 23 06:13:30 1999 UTC (25 years, 2 months ago) by nisimura
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored) to selected 1.112 (colored)

- Add NEC Vr5400 processor ID.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jan 16 09:07:37 1999 UTC (25 years, 3 months ago) by nisimura
Branch: MAIN
Changes since 1.17: +58 -6 lines
Diff to previous 1.17 (colored) to selected 1.112 (colored)

- Update 'cpuregs.h' and decline 'cpuarch.h'.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Dec 4 10:32:08 1998 UTC (25 years, 4 months ago) by nisimura
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) to selected 1.112 (colored)

- Fix an error in primary cache line size detection logic; when IC and/or DC
bit is 1, then line size is 32.  Otherwise, 16.

Revision 1.16.2.1, Thu Oct 15 03:25:09 1998 UTC (25 years, 6 months ago) by nisimura
Branch: nisimura-pmax-wscons
Changes since 1.16: +1 -1 lines
FILE REMOVED

- cpuregs.h was modifed a bit, then renamed with cpuarch.h.
- mips_cpu.h has gone.
- CPU's register mnemonics in regdef.h is now a part of asm.h.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Oct 1 00:42:37 1998 UTC (25 years, 6 months ago) by jonathan
Branch: MAIN
CVS Tags: nisimura-pmax-wscons-base, chs-ubc-base, chs-ubc
Branch point for: nisimura-pmax-wscons
Changes since 1.15: +5 -4 lines
Diff to previous 1.15 (colored) to selected 1.112 (colored)

More patches for ARC from Noriyuki Soda:
  * commit isapnpvar.h changes required for ARC to support plain isa.
  * fixup mistake over mips/include/cpuregs.h.
  * mips/mips_machdep.c:
     set L2 cache-size for arc, cleanup use of L2cache present
     vs L2 cache-size variables. check for no L2 cache on kernels
     configured to require one. misc cleanups.
  * mips/mpis/trap.c: more locore stack-traceback  label cleanup.
XXX  Locore callbacks for mips3, mips4, r4600 cacheflush need more work.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Sep 11 16:46:31 1998 UTC (25 years, 7 months ago) by jonathan
Branch: MAIN
Changes since 1.14: +92 -7 lines
Diff to previous 1.14 (colored) to selected 1.112 (colored)

Changes to sys/arch/mips from ARC port, from Noriyuki Soda <soda@sra.co.jp>.
Adds (most) support for ARC platform to port-independent mips code.

Some changes (e.g., clean up of overlapping CPU/FPU ids) inspired by
comparison to the OpenBSD 2.1 codebase of Soda's ARC port.

Open issues:
 * Still no support for r4600 or mipsIV CPUs with two-way L1 cache.
   Code derived from Per Fogelstrom's OpenBSD source  doesn't work
   on mips3 pmaxes with L2 cache.

 * Still some port-specific  #ifdefs, for interrupt enable and
   pmax L2 cache-size.  Needs more thought, but overlaps with
   work-in-progress by Tohru and Tsubai on spl()s and related stuff.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Apr 23 10:32:08 1998 UTC (26 years ago) by jonathan
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.13: +4 -1 lines
Diff to previous 1.13 (colored) to selected 1.112 (colored)

define mips3 COUNT and COMPARE cp0 registers (onchip cycle counter)

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jun 22 07:42:49 1997 UTC (26 years, 10 months ago) by jonathan
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, bouyer-scsipi
Changes since 1.12: +192 -187 lines
Diff to previous 1.12 (colored) to selected 1.112 (colored)

* Change Sprite MACH_xxx prefix to MIPS_xxx.

* Use standard mips terminology (xxx_KSEG0, xxx_KSEG1) instead of the
  (more meaningful) Sprite names (xxx_CACHED, xxx_UNCACHED).

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jun 22 03:17:40 1997 UTC (26 years, 10 months ago) by jonathan
Branch: MAIN
Changes since 1.11: +28 -13 lines
Diff to previous 1.11 (colored) to selected 1.112 (colored)

Final changes for configuring MIPS1 and MIPS3 in a single kernel.

  * cpuregs.h:
    rename remaining VMMACH_xxx TLB macros to MIPS_TLB_xxx.
    Add compile-time MIPS3-only, compile-time  MIPS1-only, and
    runtime (both) definitions  for number of TLB ASIDs (tlb pids)
    and shift count to extract a TLB pid.

  * locore.h:
    Delete unused vector slot for indexed TLB writes.
    mips1 and mips3 TLBs are different enough that we have
    to break them out at the caller anyway.

  * Add compile-time MIPS3-only andcompile-time  MIPS1-only
    macros to call locore functions directly by name.
    Use the  existing method table only if

  * mips/mips_machdep.c, mips/trap.c, mips/pmap.c, pmax/machdep.c:
    Use MIPS3_ or MIPS1_ specific names for TLB pids in
    mips3 and mips1 specific code paths (e.g., creating the kernel stack
    for process 0).

Add `options MIPS3' to pmax/conf/GENERIC.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jun 21 04:18:12 1997 UTC (26 years, 10 months ago) by jonathan
Branch: MAIN
Changes since 1.10: +106 -151 lines
Diff to previous 1.10 (colored) to selected 1.112 (colored)

More mips1/mips3 changes to cpuregs.h and psl.h:
* cpuregs.h:
  Delete unused VMMACH_ names (e.g., duplicates of PTE bits in  pte.h).
  Change remaining VMMACH_xxx  names to MIPS1_xxx or MIPS3_xx.
  Fold remaining compile-time definitions into a single #ifdef MIPS3.

* Use MIPS1_ names  in locore_r2000.S, mips3_ names in locore_r4000.S

* Garbage-collect MachHitFlushDCache()

* psl.h:
  use MIPS1_, MIPS3_  symbolic names for Cause register bits.
  change  _R3K to MIPS1_,  _R4K to MIPS3. Conditionalize for mips1 only,
  mips3 only, or when both are defined,  use runtime CPUISMIPS3 test.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 16 07:41:08 1997 UTC (26 years, 10 months ago) by jonathan
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored) to selected 1.112 (colored)

Fix idempotent inclusion test macro: _MACHCONST -> _MIPS_CPUREGS_H_
to avoid collision with obsolete Sprite-derived NetBSD/pica  header file.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 16 05:37:32 1997 UTC (26 years, 10 months ago) by jonathan
Branch: MAIN
Changes since 1.8: +13 -13 lines
Diff to previous 1.8 (colored) to selected 1.112 (colored)

Garbage-collect MIPS_3K_xxx, MIPS_4K_xxx  outidde mips/include/cpuregs.h:
    MIPS_3K_xxx ->    MIPS1_xxx
    MIPS_4K_xxx ->    MIPS3_xxx

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jun 15 17:27:03 1997 UTC (26 years, 10 months ago) by mhitch
Branch: MAIN
Changes since 1.7: +38 -94 lines
Diff to previous 1.7 (colored) to selected 1.112 (colored)

More merged MIPS1/MIPS3 support:  still only allows single-architecture
support.

Revision 1.7 / (download) - annotate - [select for diffs], Mon May 19 21:24:10 1997 UTC (26 years, 11 months ago) by jonathan
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.112 (colored)

Fix typo.

Revision 1.6 / (download) - annotate - [select for diffs], Sun May 18 03:19:41 1997 UTC (26 years, 11 months ago) by jonathan
Branch: MAIN
Changes since 1.5: +14 -1 lines
Diff to previous 1.5 (colored) to selected 1.112 (colored)

Add defines for increasing SPL levels, assuming devices are wired up
in to CPU interrupt pins in order of increasing priority.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Mar 28 11:34:05 1996 UTC (28 years ago) by jonathan
Branch: MAIN
CVS Tags: thorpej-setroot, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.4: +340 -49 lines
Diff to previous 1.4 (colored) to selected 1.112 (colored)

Resolve all differences between the Pica and pmax versions of machConst.h:
    * add "MIPS_3k_" for the MIPS-I r[23]000-specific register definitions.
    * add "MIPS_4k_" for the MIPS-II/III r4000-specific register definitions.
    * add #defines that provide the old values for locore and user
      code, so the existing code continues  to compile.

Regression-tested against the  old headers by grepping for #define's,
editing out the defined symbols, and preprocessing with both the previous
machConst.h headers and this version.

Some unused symbols (CPU and FPU must-be-zero constants) are no longer defined.
Pica interrupt masks are now constant expressions instead of constant
values.

TODO:
    * factor out the common #defines into src/sys/arch/mips.
    * Get rid of the Sprite coding-style names (MACH_xxx).
    * Separate out the r3k/r4k differences from the Pica/pmax differences.
    * Figure out how to have a run-time choice of r3k vs. r4k support,
     instead of a compile-time choice.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 26 21:09:45 1994 UTC (29 years, 5 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored) to selected 1.112 (colored)

new RCS ID format.

Revision 1.3 / (download) - annotate - [select for diffs], Fri May 27 09:01:23 1994 UTC (29 years, 10 months ago) by glass
Branch: MAIN
CVS Tags: netbsd-pmax-base, netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.2: +0 -0 lines
Diff to previous 1.2 (colored) to selected 1.112 (colored)

bsd 4.4-lite pmax port as ported to NetBSD

Revision 1.2 / (download) - annotate - [select for diffs], Fri May 27 08:40:42 1994 UTC (29 years, 10 months ago) by glass
Branch: MAIN
CVS Tags: bsd44-lite
Changes since 1.1: +8 -7 lines
Diff to previous 1.1 (colored) to selected 1.112 (colored)

upgrade to bsd 4.4-lite code base. only mod is rcsids

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Tue Oct 12 03:22:40 1993 UTC (30 years, 6 months ago) by deraadt
Branch: pmax-base
CVS Tags: pre-bsd44, pmax-initial-import
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.112 (colored)

pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>

Revision 1.1 / (download) - annotate - [select for diffs], Tue Oct 12 03:22:39 1993 UTC (30 years, 6 months ago) by deraadt
Branch: MAIN
Diff to selected 1.112 (colored)

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>