The NetBSD Project

CVS log for src/sys/arch/sgimips/sgimips/machdep.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.154 / (download) - annotate - [select for diffs], Tue Mar 5 14:15:35 2024 UTC (5 weeks, 3 days ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.153: +2 -8 lines
Diff to previous 1.153 (colored)

Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.

Revision 1.153 / (download) - annotate - [select for diffs], Wed Dec 20 15:29:08 2023 UTC (3 months, 3 weeks ago) by thorpej
Branch: MAIN
Changes since 1.152: +2 -3 lines
Diff to previous 1.152 (colored)

Remove unnecessary <sys/malloc.h>.

Revision 1.152 / (download) - annotate - [select for diffs], Thu Aug 12 20:53:18 2021 UTC (2 years, 8 months ago) by andvar
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
Changes since 1.151: +4 -4 lines
Diff to previous 1.151 (colored)

fix typos in "environment" word.

Revision 1.150.6.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:16 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.150: +3 -3 lines
Diff to previous 1.150 (colored) next main 1.151 (colored)

Sync with HEAD.

Revision 1.151 / (download) - annotate - [select for diffs], Sat Jul 24 21:31:35 2021 UTC (2 years, 8 months ago) by andvar
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
Changes since 1.150: +3 -3 lines
Diff to previous 1.150 (colored)

Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or typos.

Revision 1.150 / (download) - annotate - [select for diffs], Thu Jun 11 19:20:45 2020 UTC (3 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.149: +3 -3 lines
Diff to previous 1.149 (colored)

uvm_availmem(): give it a boolean argument to specify whether a recent
cached value will do, or if the very latest total must be fetched.  It can
be called thousands of times a second and fetching the totals impacts not
only the calling LWP but other CPUs doing unrelated activity in the VM
system.

Revision 1.145.4.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:52 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.145.4.1: +3 -3 lines
Diff to previous 1.145.4.1 (colored) to branchpoint 1.145 (colored) next main 1.146 (colored)

Merge changes from current as of 20200406

Revision 1.149 / (download) - annotate - [select for diffs], Tue Dec 31 13:07:12 2019 UTC (4 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, 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.148: +3 -3 lines
Diff to previous 1.148 (colored)

Rename uvm_free() -> uvm_availmem().

Revision 1.148 / (download) - annotate - [select for diffs], Sat Dec 21 13:00:23 2019 UTC (4 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.147: +3 -3 lines
Diff to previous 1.147 (colored)

uvmexp.free -> uvm_free()

Revision 1.145.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:44 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.145: +25 -6 lines
Diff to previous 1.145 (colored)

Sync with HEAD

Revision 1.145.2.2 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:47 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.145.2.1: +21 -2 lines
Diff to previous 1.145.2.1 (colored) to branchpoint 1.145 (colored) next main 1.146 (colored)

Ssync with HEAD

Revision 1.144.6.1 / (download) - annotate - [select for diffs], Mon Sep 10 15:52:36 2018 UTC (5 years, 7 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.144: +6 -6 lines
Diff to previous 1.144 (colored) next main 1.145 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #1017):

	sys/arch/sgimips/conf/INSTALL32_IP2x: revision 1.10
	sys/arch/sgimips/stand/boot/Makefile: revision 1.20
	sys/arch/sgimips/sgimips/machdep.c: revision 1.146
	sys/arch/sgimips/hpc/wdsc.c: revision 1.35
	distrib/sgimips/instkernel/Makefile: revision 1.13

Disable misc options to shrink an INSTALL kernel for IP2x.

The ARC BIOS on Indy seems to have ~8MB limit.

Fixes PR port-sgimips/53378 from Naruaki Etomi.
Should be pulled up to netbsd-7 and netbsd-8.

 -

Fix build failure without options DDB and with pseudo-device ksyms.
There is a typo for ksyms (NKSYMS vs NKSYM).

Also use consistent "#if NKSYMS" rather than "#if NKSYMS > 0" etc.
and add comments after corresponding #endif for readability.

Fixes PR port-sgimips/53521 from Naruaki Etomi.
Should be pulled up to (at least) netbsd-8.

 -

Use elf2ecoff(1) rather than objcopy(1) to generat ecoff for old machines.
objcopy(1) was used instead of elf2ecoff(1) since Makefile rev 1.9:
 http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/sgimips/stand/boot/Makefile#rev1.9
but it looks ELF binaries generated by recent binutils are too complicated
to convert them to ecoff for old machines by objcopy(1).

Reported by Naruaki Etomi in PR port-sgimips/53519.
Should be pulled up to at least netbsd-8.

 -

Fix wdsc(4) probe failure on HPC1.5 machines (Indigo R3k/R4k, IP6/IP10/IP12).

The alignment adjustment code was removed in rev 1.36 for common
mips bus_space changes, but the code was not bus_space related
but used for uint32_t register acccess during probe.

Reported and tested by Naruaki Etomi in PR port-sgimips/53522.
Should be pulled up to netbsd-8.

 -

Use elf2ecoff(1) rather than objcopy(1) to generate ecoff kernel.

Reported by Naruaki Etomi in PR port-sgimips/53518.

Should be pulled up to netbsd-7 and netbsd-8.

Revision 1.147 / (download) - annotate - [select for diffs], Sat Sep 8 02:33:33 2018 UTC (5 years, 7 months ago) by tsutsui
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, 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, isaki-audio2-base, isaki-audio2
Changes since 1.146: +21 -2 lines
Diff to previous 1.146 (colored)

Initialize ci_divisor_delay by temporary cpufreq for early delay(9) calls.

This is actually required for Indigo R3k.
Reported by Naruaki Etomi in PR port-sgimips/53520.

Revision 1.145.2.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:41 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.145: +6 -6 lines
Diff to previous 1.145 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.146 / (download) - annotate - [select for diffs], Sun Sep 2 09:57:33 2018 UTC (5 years, 7 months ago) by tsutsui
Branch: MAIN
CVS Tags: pgoyette-compat-0906
Changes since 1.145: +6 -6 lines
Diff to previous 1.145 (colored)

Fix build failure without options DDB and with pseudo-device ksyms.

There is a typo for ksyms (NKSYMS vs NKSYM).
Also use consistent "#if NKSYMS" rather than "#if NKSYMS > 0" etc.
and add comments after corresponding #endif for readability.

Fixes PR port-sgimips/53521 from Naruaki Etomi.
Should be pulled up to (at least) netbsd-8.

Revision 1.137.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:41 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.137.2.2: +10 -12 lines
Diff to previous 1.137.2.2 (colored) next main 1.138 (colored)

update from HEAD

Revision 1.145 / (download) - annotate - [select for diffs], Mon Nov 6 03:47:48 2017 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, 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
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.144: +2 -6 lines
Diff to previous 1.144 (colored)

Cleanup and clarify the ELFSIZE mess:

We now have 2 variables automatically set in elf_machdep.h:

    ARCH_ELFSIZE: the size for userland binaries
    KERN_ELFSIZE: the size for the kernel binaries

DB_ELFSIZE has been deleted and KERN_ELFSIZE should have always the
same values DB_ELFSIZE used to have.

In sys/exec_elf.h, if ELFSIZE is not set, it is set to KERN_ELFSIZE
for the kernel and ARCH_ELFSIZE for userland. These defaults should
eliminate the need for most manual ELFSIZE setting.

Revision 1.140.6.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:51 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.140.6.3: +6 -3 lines
Diff to previous 1.140.6.3 (colored) to branchpoint 1.140 (colored) next main 1.141 (colored)

Sync with HEAD

Revision 1.143.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:35 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.143: +6 -3 lines
Diff to previous 1.143 (colored) next main 1.144 (colored)

Sync with HEAD

Revision 1.141.2.3 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:19 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.141.2.2: +6 -3 lines
Diff to previous 1.141.2.2 (colored) to branchpoint 1.141 (colored) next main 1.142 (colored)

Sync with HEAD

Revision 1.144 / (download) - annotate - [select for diffs], Fri Feb 10 04:00:48 2017 UTC (7 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: netbsd-8
Changes since 1.143: +6 -3 lines
Diff to previous 1.143 (colored)

kill variable stack allocation

Revision 1.140.6.3 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:20 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.140.6.2: +3 -3 lines
Diff to previous 1.140.6.2 (colored) to branchpoint 1.140 (colored)

Sync with HEAD

Revision 1.141.2.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:25 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.141.2.1: +3 -3 lines
Diff to previous 1.141.2.1 (colored) to branchpoint 1.141 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.143 / (download) - annotate - [select for diffs], Thu Dec 22 14:47:59 2016 UTC (7 years, 3 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, nick-nhusb-base-20170204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.142: +3 -3 lines
Diff to previous 1.142 (colored)

switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.

Revision 1.140.6.2 / (download) - annotate - [select for diffs], Mon Dec 5 10:54:57 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.140.6.1: +3 -3 lines
Diff to previous 1.140.6.1 (colored) to branchpoint 1.140 (colored)

Sync with HEAD

Revision 1.141.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:04 2016 UTC (7 years, 5 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.141: +3 -3 lines
Diff to previous 1.141 (colored)

Sync with HEAD

Revision 1.142 / (download) - annotate - [select for diffs], Thu Nov 3 22:08:31 2016 UTC (7 years, 5 months ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104, nick-nhusb-base-20161204
Changes since 1.141: +3 -3 lines
Diff to previous 1.141 (colored)

Prefer modern simple past tense and past participle of catch

The "catched" form is obsolete and nonstandard, prefer "caught".

Revision 1.140.6.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:51 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.140: +6 -7 lines
Diff to previous 1.140 (colored)

Sync with HEAD

Revision 1.141 / (download) - annotate - [select for diffs], Fri Jun 26 22:55:06 2015 UTC (8 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.140: +6 -7 lines
Diff to previous 1.140 (colored)

Cleanup includes

Revision 1.137.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:23 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.137.2.1: +7 -10 lines
Diff to previous 1.137.2.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.136.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:07 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.136.2.1: +7 -10 lines
Diff to previous 1.136.2.1 (colored) to branchpoint 1.136 (colored) next main 1.137 (colored)

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")

Revision 1.138.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:24 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.138: +7 -10 lines
Diff to previous 1.138 (colored) next main 1.139 (colored)

sync with head

Revision 1.140 / (download) - annotate - [select for diffs], Mon Mar 24 19:10:34 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, 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
Branch point for: nick-nhusb
Changes since 1.139: +4 -3 lines
Diff to previous 1.139 (colored)

- use cpu_{g,s}etmodel
- fix unused

Revision 1.139 / (download) - annotate - [select for diffs], Mon Dec 16 15:45:29 2013 UTC (10 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.138: +5 -9 lines
Diff to previous 1.138 (colored)

- remove unused variables
- use (void) when we don't care about the return value

Revision 1.137.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:41 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.137: +3 -3 lines
Diff to previous 1.137 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.136.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:18 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.136: +3 -6 lines
Diff to previous 1.136 (colored)

sync with head

Revision 1.138 / (download) - annotate - [select for diffs], Sat Oct 27 17:18:10 2012 UTC (11 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.137: +3 -3 lines
Diff to previous 1.137 (colored)

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.137 / (download) - annotate - [select for diffs], Sat Jul 28 23:09:50 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.136: +2 -5 lines
Diff to previous 1.136 (colored)

Fix -fno-common fallout.

Revision 1.121.8.7 / (download) - annotate - [select for diffs], Tue Feb 14 01:25:53 2012 UTC (12 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.121.8.6: +3 -3 lines
Diff to previous 1.121.8.6 (colored) to branchpoint 1.121 (colored) next main 1.122 (colored)

mem_cluster_cnt on mips is now a u_int.

Revision 1.136 / (download) - annotate - [select for diffs], Thu Jul 28 04:06:09 2011 UTC (12 years, 8 months ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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, 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
Branch point for: yamt-pagecache
Changes since 1.135: +3 -3 lines
Diff to previous 1.135 (colored)

Fix DEBUG build.

Revision 1.135 / (download) - annotate - [select for diffs], Fri Jul 1 18:54:33 2011 UTC (12 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.134: +3 -3 lines
Diff to previous 1.134 (colored)

#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.133.4.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:41 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.133: +90 -156 lines
Diff to previous 1.133 (colored) next main 1.134 (colored)

Sync with HEAD.

Revision 1.133.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:55 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.133: +90 -156 lines
Diff to previous 1.133 (colored) next main 1.134 (colored)

sync with head

Revision 1.133.6.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:03 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.133: +90 -156 lines
Diff to previous 1.133 (colored) next main 1.134 (colored)

Sync with HEAD

Revision 1.134 / (download) - annotate - [select for diffs], Sun Feb 20 07:59:51 2011 UTC (13 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Changes since 1.133: +90 -156 lines
Diff to previous 1.133 (colored)

Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
Deal with arcbios calls being O32 and kernels being N32/N64.
Need to save/restore T8 across arcbios calls.

Revision 1.121.8.6 / (download) - annotate - [select for diffs], Wed Dec 29 07:15:48 2010 UTC (13 years, 3 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231
Changes since 1.121.8.5: +42 -44 lines
Diff to previous 1.121.8.5 (colored) to branchpoint 1.121 (colored)

Adapt sgimips to the interrupt framework.

Revision 1.132.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:48 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.132: +0 -1 lines
Diff to previous 1.132 (colored) next main 1.133 (colored)

Sync with HEAD.

Revision 1.121.8.5 / (download) - annotate - [select for diffs], Sun Mar 21 17:38:35 2010 UTC (14 years ago) by cliff
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-k15
Changes since 1.121.8.4: +3 -3 lines
Diff to previous 1.121.8.4 (colored) to branchpoint 1.121 (colored)

mips_vector_init now takes an argument to specify splsw.
NULL specifies use the default 'std_splsw'

Revision 1.119.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:55 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.119.4.2: +8 -20 lines
Diff to previous 1.119.4.2 (colored) to branchpoint 1.119 (colored) next main 1.120 (colored)

sync with head

Revision 1.133 / (download) - annotate - [select for diffs], Mon Feb 8 19:02:31 2010 UTC (14 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, 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, bouyer-quota2-base
Branch point for: rmind-uvmplock, jruoho-x86intr, bouyer-quota2
Changes since 1.132: +2 -3 lines
Diff to previous 1.132 (colored)

Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.

Revision 1.121.8.4 / (download) - annotate - [select for diffs], Mon Feb 1 04:18:32 2010 UTC (14 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.121.8.3: +4 -16 lines
Diff to previous 1.121.8.3 (colored) to branchpoint 1.121 (colored)

fix fallout from frame/trapframe merger.

Revision 1.121.8.3 / (download) - annotate - [select for diffs], Wed Jan 20 09:04:32 2010 UTC (14 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.121.8.2: +11 -9 lines
Diff to previous 1.121.8.2 (colored) to branchpoint 1.121 (colored)

Adjust things to the new world order.

Revision 1.132 / (download) - annotate - [select for diffs], Wed Dec 16 23:19:07 2009 UTC (14 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.131: +3 -4 lines
Diff to previous 1.131 (colored)

Fix various build with the 32bit mips ports after the mips64 merge.

Revision 1.131 / (download) - annotate - [select for diffs], Mon Dec 14 00:46:14 2009 UTC (14 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.130: +6 -16 lines
Diff to previous 1.130 (colored)

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

Revision 1.130 / (download) - annotate - [select for diffs], Fri Nov 27 03:23:13 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.129: +13 -12 lines
Diff to previous 1.129 (colored)

- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places.  Reduce sys/user.h inclusions.

Revision 1.129 / (download) - annotate - [select for diffs], Thu Nov 26 00:19:21 2009 UTC (14 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.128: +4 -5 lines
Diff to previous 1.128 (colored)

Kill proc0paddr.  Use lwp0.l_addr instead.

Revision 1.121.8.2 / (download) - annotate - [select for diffs], Thu Sep 10 01:51:32 2009 UTC (14 years, 7 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-premerge-20091211
Changes since 1.121.8.1: +6 -10 lines
Diff to previous 1.121.8.1 (colored) to branchpoint 1.121 (colored)

Add preliminary LP64 support for sgimips

Revision 1.121.8.1 / (download) - annotate - [select for diffs], Mon Sep 7 23:46:46 2009 UTC (14 years, 7 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb4-mips64-k7-u2a-k9b
Changes since 1.121: +9 -3 lines
Diff to previous 1.121 (colored)

Deal with pcb_context being a label_t

Revision 1.119.4.2 / (download) - annotate - [select for diffs], Wed Aug 19 18:46:45 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.119.4.1: +2 -3 lines
Diff to previous 1.119.4.1 (colored) to branchpoint 1.119 (colored)

sync with head.

Revision 1.128 / (download) - annotate - [select for diffs], Tue Aug 11 17:04:19 2009 UTC (14 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.127: +2 -3 lines
Diff to previous 1.127 (colored)

Remove all declarations of physmem from sys/arch.  Add an include of
<sys/systm.h> to the one file that did not already contain it.
This now means that physmem can be changed by updating systm.h and uvm_page.c
(excluding fixing printfs)

Revision 1.124.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:21 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.124: +72 -25 lines
Diff to previous 1.124 (colored) next main 1.125 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.119.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:11:51 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.119: +96 -44 lines
Diff to previous 1.119 (colored)

sync with head.

Revision 1.121.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:38 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.121.2.2: +7 -7 lines
Diff to previous 1.121.2.2 (colored) to branchpoint 1.121 (colored) next main 1.122 (colored)

Sync with HEAD.

Revision 1.127 / (download) - annotate - [select for diffs], Wed Mar 18 10:22:35 2009 UTC (15 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base
Changes since 1.126: +7 -7 lines
Diff to previous 1.126 (colored)

Ansify function definitions w/o arguments. Generated with sed.

Revision 1.121.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:29:14 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.121.2.1: +67 -20 lines
Diff to previous 1.121.2.1 (colored) to branchpoint 1.121 (colored)

Sync with HEAD.

Revision 1.126 / (download) - annotate - [select for diffs], Fri Feb 13 22:41:03 2009 UTC (15 years, 2 months ago) by apb
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.125: +3 -2 lines
Diff to previous 1.125 (colored)

Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.

Revision 1.125 / (download) - annotate - [select for diffs], Thu Feb 12 06:33:57 2009 UTC (15 years, 2 months ago) by rumble
Branch: MAIN
Changes since 1.124: +66 -20 lines
Diff to previous 1.124 (colored)

Enable Personal IRIS 4D/20 and 4D/25 support:
  - Adapt int(4) to handle the INT1 chip
  - Move generic rtc clocks out of hpc/ and into dev/
  - Handle the very strangely wired eeprom and other bits in arcemu
  - Sprinkle MACH_SGI_IP6 as necessary
  - Enable IP6/IP10 devices in GENERIC32_IP12. Yes, the naming is poor but
    there's no winning with kernel/hw compatibility on sgimips...

Tested on my 4D/25. Doesn't (appear to) break macallan@'s IP22.

Revision 1.121.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:42 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.121: +10 -12 lines
Diff to previous 1.121 (colored)

Sync with HEAD.

Revision 1.118.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:28 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.118.6.3: +8 -10 lines
Diff to previous 1.118.6.3 (colored) to branchpoint 1.118 (colored) next main 1.119 (colored)

Sync with HEAD.

Revision 1.120.2.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:25 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.120.2.1: +10 -12 lines
Diff to previous 1.120.2.1 (colored) to branchpoint 1.120 (colored) next main 1.121 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.124 / (download) - annotate - [select for diffs], Sun Nov 30 18:21:35 2008 UTC (15 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.123: +3 -7 lines
Diff to previous 1.123 (colored)

As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.

Revision 1.123 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:06 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.122: +7 -7 lines
Diff to previous 1.122 (colored)

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.122 / (download) - annotate - [select for diffs], Tue Nov 11 06:46:43 2008 UTC (15 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.121: +4 -2 lines
Diff to previous 1.121 (colored)

It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled.  So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks().  Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown().  No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown().  I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that.  Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.

Revision 1.120.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:15:55 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.120: +18 -4 lines
Diff to previous 1.120 (colored)

Sync with HEAD.

Revision 1.118.6.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:07 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.118.6.2: +16 -2 lines
Diff to previous 1.118.6.2 (colored) to branchpoint 1.118 (colored)

Sync with HEAD.

Revision 1.119.6.3 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:33 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.119.6.2: +18 -11 lines
Diff to previous 1.119.6.2 (colored) to branchpoint 1.119 (colored) next main 1.120 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.121 / (download) - annotate - [select for diffs], Sun Aug 3 00:35:03 2008 UTC (15 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, 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, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u1-k1-k5, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, matt-nb5-mips64
Changes since 1.120: +18 -4 lines
Diff to previous 1.120 (colored)

Two fixes to make -current kernel be loadable by 4.0 bootloader:
- if bootinfo is not passed from bootloader, check argv[1] first
  which might be the loaded kernel path specified for bootloader
- when using argv[0] as the kernel path (loaded directly by the PROM)
  assume boot partition is 0 (partition a) since the kernel might be
  in an SGI volume header partition and it can't be a root partition

Ok'ed by rumble@, and tested on IP22 and IP32.

Revision 1.119.8.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:37:55 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.119: +2 -9 lines
Diff to previous 1.119 (colored) next main 1.120 (colored)

Sync with head.

Revision 1.118.6.2 / (download) - annotate - [select for diffs], Wed Jul 2 19:08:17 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.118.6.1: +0 -7 lines
Diff to previous 1.118.6.1 (colored) to branchpoint 1.118 (colored)

Sync with HEAD.

Revision 1.120 / (download) - annotate - [select for diffs], Wed Jul 2 17:28:56 2008 UTC (15 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.119: +2 -9 lines
Diff to previous 1.119 (colored)

Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.

Revision 1.119.6.2 / (download) - annotate - [select for diffs], Wed May 14 01:35:00 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.119.6.1: +2 -3 lines
Diff to previous 1.119.6.1 (colored) to branchpoint 1.119 (colored)

Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.

Revision 1.119.6.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:46 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.119: +3 -2 lines
Diff to previous 1.119 (colored)

Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.

Revision 1.118.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:24 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.118: +75 -53 lines
Diff to previous 1.118 (colored)

Sync with HEAD.

Revision 1.119 / (download) - annotate - [select for diffs], Fri Mar 28 16:40:25 2008 UTC (16 years ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl
Changes since 1.118: +75 -53 lines
Diff to previous 1.118 (colored)

Adjust boot device detection code to make netboot work properly:
- make a bootloader pass bootpath which includes device path on ARC BIOS
  via BTINFO_BOOTPATH
- make a kernel use BTINFO_BOOTPATH in bootinfo to see boot device first,
  then check argv[0] passed from ARC BIOS if there is no valid bootinfo
- check OSLoadPartition variables in the ARCBIOS environment and whole
  argv[] arguments for IP12
- initialize mach_type before it's referred
- bump boot version

Tested on IP32 with various kernel/bootloader combinations.

Revision 1.114.10.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:21 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.114.10.2: +77 -41 lines
Diff to previous 1.114.10.2 (colored) to branchpoint 1.114 (colored) next main 1.115 (colored)

sync with HEAD

Revision 1.116.2.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:00 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.116.2.1: +77 -41 lines
Diff to previous 1.116.2.1 (colored) to branchpoint 1.116 (colored) next main 1.117 (colored)

Sync with HEAD.

Revision 1.93.2.7 / (download) - annotate - [select for diffs], Mon Feb 4 09:22:27 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.93.2.6: +77 -41 lines
Diff to previous 1.93.2.6 (colored) next main 1.94 (colored)

sync with head.

Revision 1.118 / (download) - annotate - [select for diffs], Sat Jan 26 14:35:24 2008 UTC (16 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.117: +77 -41 lines
Diff to previous 1.117 (colored)

Replace bootinfo stuff on sgimips (which has been disabled in bootloader)
with ones used on arc (which has been working for a year) and
enable it in bootloader. Tested on IP32.

Revision 1.114.10.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:48:45 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.114.10.1: +8 -24 lines
Diff to previous 1.114.10.1 (colored) to branchpoint 1.114 (colored)

sync with HEAD

Revision 1.114.8.2 / (download) - annotate - [select for diffs], Sun Dec 9 19:36:10 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.114.8.1: +8 -24 lines
Diff to previous 1.114.8.1 (colored) to branchpoint 1.114 (colored) next main 1.115 (colored)

Sync with HEAD.

Revision 1.116.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:17:48 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.116: +8 -24 lines
Diff to previous 1.116 (colored)

Sync with HEAD.

Revision 1.93.2.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:26:07 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.93.2.5: +8 -24 lines
Diff to previous 1.93.2.5 (colored)

sync with head

Revision 1.110.2.3 / (download) - annotate - [select for diffs], Mon Dec 3 18:38:51 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.110.2.2: +8 -24 lines
Diff to previous 1.110.2.2 (colored) to branchpoint 1.110 (colored) next main 1.111 (colored)

Sync with HEAD.

Revision 1.117 / (download) - annotate - [select for diffs], Mon Dec 3 15:34:18 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: 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, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Changes since 1.116: +8 -24 lines
Diff to previous 1.116 (colored)

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.

Revision 1.114.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:21:57 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.114: +22 -4 lines
Diff to previous 1.114 (colored)

sync with HEAD

Revision 1.93.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:28:29 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.93.2.4: +22 -4 lines
Diff to previous 1.93.2.4 (colored)

sync with head.

Revision 1.116 / (download) - annotate - [select for diffs], Wed Oct 17 19:57:06 2007 UTC (16 years, 5 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.115: +2 -2 lines
Diff to previous 1.115 (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.110.2.2 / (download) - annotate - [select for diffs], Tue Oct 9 13:38:23 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.110.2.1: +22 -4 lines
Diff to previous 1.110.2.1 (colored) to branchpoint 1.110 (colored)

Sync with head.

Revision 1.114.12.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:34:26 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.114: +22 -4 lines
Diff to previous 1.114 (colored) next main 1.115 (colored)

sync with head.

Revision 1.110.10.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:24:57 2007 UTC (16 years, 6 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.110.10.1: +22 -4 lines
Diff to previous 1.110.10.1 (colored) to branchpoint 1.110 (colored) next main 1.111 (colored)

Sync with HEAD

Revision 1.114.8.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:27:37 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.114: +22 -4 lines
Diff to previous 1.114 (colored)

Sync with HEAD.

Revision 1.115 / (download) - annotate - [select for diffs], Wed Sep 26 05:52:39 2007 UTC (16 years, 6 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, ppcoea-renovation-base, bouyer-xenamd64
Changes since 1.114: +22 -4 lines
Diff to previous 1.114 (colored)

use crime_reboot() and mcclock_poweroff() when appropriate.
With this my O2 resets and powers down again even when using crmfb,
apparently it freaks out the ARCS firmware - with crmfb the machine would
just sit there blinking instead of rebooting.

Revision 1.93.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:29:23 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.93.2.3: +44 -15 lines
Diff to previous 1.93.2.3 (colored)

sync with head.

Revision 1.110.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:01:49 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.110: +37 -8 lines
Diff to previous 1.110 (colored) next main 1.111 (colored)

Sync with head.

Revision 1.110.2.1 / (download) - annotate - [select for diffs], Sun May 27 12:28:07 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.110: +37 -8 lines
Diff to previous 1.110 (colored)

Sync with head.

Revision 1.110.10.1 / (download) - annotate - [select for diffs], Tue May 22 17:27:25 2007 UTC (16 years, 10 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.110: +37 -8 lines
Diff to previous 1.110 (colored)

Update to HEAD.

Revision 1.114 / (download) - annotate - [select for diffs], Thu May 17 14:51:28 2007 UTC (16 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Changes since 1.113: +4 -4 lines
Diff to previous 1.113 (colored)

merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.

Revision 1.106.2.4 / (download) - annotate - [select for diffs], Thu May 17 13:41:01 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.106.2.3: +35 -6 lines
Diff to previous 1.106.2.3 (colored) to branchpoint 1.106 (colored) next main 1.107 (colored)

sync with head.

Revision 1.113 / (download) - annotate - [select for diffs], Fri May 11 02:30:00 2007 UTC (16 years, 11 months ago) by rumble
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.112: +12 -2 lines
Diff to previous 1.112 (colored)

IP12's PROM passes us a '-a' flag in argv when booting directly from the
disk volume header. On NetBSD this means RB_ASKNAME, however in SGI terms
it appears to mean 'autoboot'.

Add an appropriate kludge to keep us from doing the wrong thing.

XXX - This whole argv/env/prom parameter mess needs to be cleaned up.

Revision 1.112 / (download) - annotate - [select for diffs], Thu May 10 21:24:37 2007 UTC (16 years, 11 months ago) by rumble
Branch: MAIN
Changes since 1.111: +16 -4 lines
Diff to previous 1.111 (colored)

A few changes to allow booting to multi-user with IP12 kernels squished
into oversized volume headers:

Query ARCBIOS for OSLoadFilename and OSLoadOptions first, rather than only
using the environment variables passed since we want to go through arcemu.

Add an ugly hack to arcemu that munges the nvram 'bootfile' variable. We
need this because bootfile will point to the volume header, which then
translates into a bogus root device of 'sd0i', or similar.

Revision 1.111 / (download) - annotate - [select for diffs], Thu May 10 17:27:06 2007 UTC (16 years, 11 months ago) by rumble
Branch: MAIN
Changes since 1.110: +11 -4 lines
Diff to previous 1.110 (colored)

Clean up extracting environment variables passed by the prom. No functional
change.

Revision 1.106.2.3 / (download) - annotate - [select for diffs], Wed Apr 18 20:27:56 2007 UTC (16 years, 11 months ago) by ad
Branch: yamt-idlelwp
Changes since 1.106.2.2: +4 -4 lines
Diff to previous 1.106.2.2 (colored) to branchpoint 1.106 (colored)

- Further adaptations to MIPS for the yamt-idlelwp branch.
- Make curlwp a register variable on MIPS.

Revision 1.106.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:50:13 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.106.2.1: +9 -9 lines
Diff to previous 1.106.2.1 (colored) to branchpoint 1.106 (colored)

Sync with HEAD.

Revision 1.110 / (download) - annotate - [select for diffs], Tue Mar 6 12:41:52 2007 UTC (17 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.109: +3 -3 lines
Diff to previous 1.109 (colored)

Use (char *) to appease -Wpointer-arith.

Revision 1.109 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:40 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.108: +8 -8 lines
Diff to previous 1.108 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.106.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:52:58 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.106: +5 -5 lines
Diff to previous 1.106 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.93.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:04 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.93.2.2: +5 -6 lines
Diff to previous 1.93.2.2 (colored)

sync with head.

Revision 1.108 / (download) - annotate - [select for diffs], Thu Feb 22 16:54:26 2007 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.107: +4 -4 lines
Diff to previous 1.107 (colored)

TRUE -> true, FALSE -> false

Revision 1.107 / (download) - annotate - [select for diffs], Wed Feb 21 04:27:10 2007 UTC (17 years, 1 month ago) by rumble
Branch: MAIN
Changes since 1.106: +3 -3 lines
Diff to previous 1.106 (colored)

Since IP12 doesn't use ARCS, we could read the console setting from the
nvram, but it may not be valid. For example, if the console is set to
graphics, but no keyboard is attached, we should not attempt to use a
graphical console.

To fix this, we extend arcemu to parse the prom's environment array, which
is the third argument to the kernel. If the console mode is graphics, but
no keyboard is found, the 'gfx' environment variable will contain 'dead'.

Note that since IP12 has no bootloader, we assume that the third parameter
is the environment table, not bootinfo.

Revision 1.106 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:11 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Changes since 1.105: +2 -3 lines
Diff to previous 1.105 (colored)

Merge newlock2 to head.

Revision 1.97.2.3 / (download) - annotate - [select for diffs], Tue Jan 30 13:49:37 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.97.2.2: +2 -3 lines
Diff to previous 1.97.2.2 (colored) to branchpoint 1.97 (colored) next main 1.98 (colored)

Remove support for SA. Ok core@.

Revision 1.97.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:00:58 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.97.2.1: +98 -45 lines
Diff to previous 1.97.2.1 (colored) to branchpoint 1.97 (colored)

Sync with head.

Revision 1.93.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:53 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.93.2.1: +99 -78 lines
Diff to previous 1.93.2.1 (colored)

sync with head.

Revision 1.105 / (download) - annotate - [select for diffs], Sat Dec 30 16:57:45 2006 UTC (17 years, 3 months ago) by rumble
Branch: MAIN
CVS Tags: newlock2-nbase, newlock2-base
Changes since 1.104: +6 -6 lines
Diff to previous 1.104 (colored)

Fix typo in comment.

Revision 1.104 / (download) - annotate - [select for diffs], Fri Dec 29 07:00:11 2006 UTC (17 years, 3 months ago) by rumble
Branch: MAIN
Changes since 1.103: +2 -4 lines
Diff to previous 1.103 (colored)

Move the mips1_clock_intr handling into int.c where it belongs.

Revision 1.103 / (download) - annotate - [select for diffs], Fri Dec 29 05:26:30 2006 UTC (17 years, 3 months ago) by rumble
Branch: MAIN
Changes since 1.102: +25 -2 lines
Diff to previous 1.102 (colored)

IP12 (and perhaps other systems) appear to be buggy and incapable of
reliably supporting badaddr(). False negatives appear to occur
approximately 1.8 percent of the time, although neither false positives
nor consecutive false negatives occur. We take advantage of the latter
property and always use a wrapper that makes multiple checks.

My IP12 no longer sees occasional ghost devices and related panics during
boot.

Revision 1.102 / (download) - annotate - [select for diffs], Thu Dec 28 16:15:11 2006 UTC (17 years, 3 months ago) by rumble
Branch: MAIN
Changes since 1.101: +4 -2 lines
Diff to previous 1.101 (colored)

Handle fpu interrupts (MIPS interrupt 0) on IP12.

Revision 1.101 / (download) - annotate - [select for diffs], Wed Dec 27 07:45:11 2006 UTC (17 years, 3 months ago) by rumble
Branch: MAIN
Changes since 1.100: +15 -15 lines
Diff to previous 1.100 (colored)

Specify the member names of struct platform for clarity.

Revision 1.100 / (download) - annotate - [select for diffs], Fri Dec 22 01:33:57 2006 UTC (17 years, 3 months ago) by rumble
Branch: MAIN
Changes since 1.99: +3 -3 lines
Diff to previous 1.99 (colored)

Guiness -> Guinness.

Revision 1.99 / (download) - annotate - [select for diffs], Thu Dec 21 15:55:24 2006 UTC (17 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.98: +59 -29 lines
Diff to previous 1.98 (colored)

merge yamt-splraiseipl branch.

	- finish implementing splraiseipl (and makeiplcookie).
	  http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
	- complete workqueue(9) and fix its ipl problem, which is reported
	  to cause audio skipping.
	- fix netbt (at least compilation problems) for some ports.
	- fix PR/33218.

Revision 1.97.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:30 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.97: +2 -32 lines
Diff to previous 1.97 (colored)

Sync with head.

Revision 1.98.2.1 / (download) - annotate - [select for diffs], Mon Oct 9 11:30:25 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.98: +59 -29 lines
Diff to previous 1.98 (colored) next main 1.99 (colored)

implement splraiseipl/makeiplcookie for sgimips.

Revision 1.98 / (download) - annotate - [select for diffs], Sat Sep 16 08:50:27 2006 UTC (17 years, 7 months ago) by gdamore
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Branch point for: yamt-splraiseipl
Changes since 1.97: +2 -32 lines
Diff to previous 1.97 (colored)

sgimips converted to timecounters.  Systems that can do them get mips_cp0
based logic.  We also use the common mips3_clock functions for those systems,
removing some port-specific code.

Tested by martin@.

Revision 1.95.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:42:58 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.95: +7 -12 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

sync with head

Revision 1.95.8.2 / (download) - annotate - [select for diffs], Sun Sep 3 15:23:31 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.95.8.1: +7 -9 lines
Diff to previous 1.95.8.1 (colored) to branchpoint 1.95 (colored) next main 1.96 (colored)

sync with head.

Revision 1.97 / (download) - annotate - [select for diffs], Fri Sep 1 05:43:23 2006 UTC (17 years, 7 months ago) by sekiya
Branch: MAIN
CVS Tags: yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: newlock2
Changes since 1.96: +7 -9 lines
Diff to previous 1.96 (colored)

Fix delay() so that gcc4 does not optimize it into a noop.  Lifted from the
newsmips implementation by tsutsui@

Revision 1.93.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:55:31 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.93: +3 -5 lines
Diff to previous 1.93 (colored)

sync with head.

Revision 1.95.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:48:21 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.95: +2 -5 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

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

Revision 1.95.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:55 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.95: +2 -5 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

Sync with head.

Revision 1.95.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 02:33:44 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.95: +2 -5 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

sync with head - hopefully this will work

Revision 1.95.8.1 / (download) - annotate - [select for diffs], Tue Apr 11 11:53:47 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.95: +2 -5 lines
Diff to previous 1.95 (colored)

sync with head

Revision 1.96 / (download) - annotate - [select for diffs], Sun Apr 9 01:18:14 2006 UTC (18 years ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.95: +2 -5 lines
Diff to previous 1.95 (colored)

Remove declarations for cpu_model[] since it's in <sys/systm.h>.

Revision 1.95 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:58 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored)

merge ktrace-lwp.

Revision 1.90.2.2 / (download) - annotate - [select for diffs], Mon Nov 21 20:23:41 2005 UTC (18 years, 4 months ago) by tron
Branch: netbsd-3
CVS Tags: 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-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.90.2.1: +3 -2 lines
Diff to previous 1.90.2.1 (colored) to branchpoint 1.90 (colored) next main 1.91 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #970):
	sys/arch/sgimips/sgimips/machdep.c: revision 1.94
Restore missing call to r5k_enable_sdcache().  Its' removal was a thinko
on my part -- the COP0 SC presence test fails on r5k IP22, but
r5k_enable_sdcache() will DTRT regardless.
Pointed out by tsutsui@

Revision 1.90.2.1 / (download) - annotate - [select for diffs], Mon Nov 21 20:03:27 2005 UTC (18 years, 4 months ago) by tron
Branch: netbsd-3
Changes since 1.90: +2 -4 lines
Diff to previous 1.90 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #961):
	sys/arch/sgimips/sgimips/machdep.c: revision 1.91
mips_sdcache_forceinv has been removed.
XXX Should we check MIPS3_CONFIG_SE in mips3_cp0_config_read() and
XXX call r5k_enable_sdcache() accordingly here?

Revision 1.54.2.8 / (download) - annotate - [select for diffs], Thu Nov 10 13:58:37 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.54.2.7: +26 -28 lines
Diff to previous 1.54.2.7 (colored) next main 1.55 (colored)

Sync with HEAD. Here we go again...

Revision 1.94 / (download) - annotate - [select for diffs], Tue Oct 18 00:47:07 2005 UTC (18 years, 5 months ago) by sekiya
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.93: +3 -2 lines
Diff to previous 1.93 (colored)

Restore missing call to r5k_enable_sdcache().  Its' removal was a thinko
on my part -- the COP0 SC presence test fails on r5k IP22, but
r5k_enable_sdcache() will DTRT regardless.

Pointed out by tsutsui@

Revision 1.93 / (download) - annotate - [select for diffs], Fri Jun 3 19:02:33 2005 UTC (18 years, 10 months ago) by martin
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.92: +24 -27 lines
Diff to previous 1.92 (colored)

Avoid a global name "netmask" - it causes lots of shadow warnings all over
the place. Collect all interrupt masks into a single array instead.
Constify a bit and fix a bogus argument to config_rootfound().

Revision 1.89.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:21 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.89: +3 -11 lines
Diff to previous 1.89 (colored) next main 1.90 (colored)

sync with -current

Revision 1.92 / (download) - annotate - [select for diffs], Mon Apr 25 15:02:07 2005 UTC (18 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored)

Move the MI printing of `copyright' to the MD cpu_startup() code
where the printing of `version' is already performed.
This has the benefit of allowing the copyright to be available
via dmesg(8) on platforms which need the `msgbuf' to be setup
in cpu_startup() before printed output is remembered.

Revision 1.54.2.7 / (download) - annotate - [select for diffs], Fri Apr 1 14:28:04 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.54.2.6: +2 -4 lines
Diff to previous 1.54.2.6 (colored)

Sync with HEAD.

Revision 1.89.4.2 / (download) - annotate - [select for diffs], Sat Mar 26 18:19:17 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.89.4.1: +2 -4 lines
Diff to previous 1.89.4.1 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored)

sync with head.

Revision 1.91 / (download) - annotate - [select for diffs], Sat Mar 26 10:04:29 2005 UTC (19 years ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-km-base4
Changes since 1.90: +2 -4 lines
Diff to previous 1.90 (colored)

mips_sdcache_forceinv has been removed.

XXX Should we check MIPS3_CONFIG_SE in mips3_cp0_config_read() and
XXX call r5k_enable_sdcache() accordingly here?

Revision 1.89.4.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:13 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.89: +4 -10 lines
Diff to previous 1.89 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.54.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:39:09 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.54.2.5: +4 -10 lines
Diff to previous 1.54.2.5 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.90 / (download) - annotate - [select for diffs], Tue Mar 1 04:25:00 2005 UTC (19 years, 1 month ago) by sekiya
Branch: MAIN
CVS Tags: yamt-km-base3, netbsd-3-base, netbsd-3-0-RC1
Branch point for: netbsd-3
Changes since 1.89: +4 -10 lines
Diff to previous 1.89 (colored)

Set mips_sdcache_forceinv to 1 for r5k processors.

We now support secondary cache operation on r5ksc out-of-the-box.

Revision 1.54.2.5 / (download) - annotate - [select for diffs], Sat Dec 18 09:31:27 2004 UTC (19 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.54.2.4: +18 -28 lines
Diff to previous 1.54.2.4 (colored)

Sync with HEAD.

Revision 1.89 / (download) - annotate - [select for diffs], Fri Dec 17 22:59:49 2004 UTC (19 years, 3 months ago) by sekiya
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Changes since 1.88: +4 -4 lines
Diff to previous 1.88 (colored)

Nuke MIPS64; we'll use MIPS3 to indicate the presence of MIPS3 instructions
and _LP64 to indicate that 64-bit is desired.

Pointed out by simonb@

Revision 1.88 / (download) - annotate - [select for diffs], Mon Dec 13 08:30:58 2004 UTC (19 years, 4 months ago) by sekiya
Branch: MAIN
Changes since 1.87: +16 -26 lines
Diff to previous 1.87 (colored)

MIPS3_CONFIG_SC is an unreliable indicator for SC presence; r5k_enable_sdcache()
will gracefully exit if there is no secondary cache.  Rework #ifdef'd out
r5k cache code to take this into account, and remove pointless r10k case.

Revision 1.54.2.4 / (download) - annotate - [select for diffs], Tue Oct 19 15:56:42 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.54.2.3: +21 -7 lines
Diff to previous 1.54.2.3 (colored)

Sync with HEAD

Revision 1.87 / (download) - annotate - [select for diffs], Sat Oct 2 03:19:00 2004 UTC (19 years, 6 months ago) by sekiya
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.86: +18 -4 lines
Diff to previous 1.86 (colored)

Use the mips3 bus functions on IP30.  Recognize the IP30 as a supported* SGI
platform.

* For extremely small values of "supported".  arch/mips/* needs a lot of work
  yet for MIPS64.

Revision 1.86 / (download) - annotate - [select for diffs], Fri Oct 1 07:16:57 2004 UTC (19 years, 6 months ago) by sekiya
Branch: MAIN
Changes since 1.85: +5 -5 lines
Diff to previous 1.85 (colored)

s,#ifdef MIPS3,#if defined(MIPS3) || defined(MIPS64),g

Revision 1.54.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:21:24 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.54.2.2: +2 -2 lines
Diff to previous 1.54.2.2 (colored)

Fix the sync with head I botched.

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:39:54 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.54.2.1: +0 -0 lines
Diff to previous 1.54.2.1 (colored)

Sync with HEAD.

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:40:08 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.54: +232 -346 lines
Diff to previous 1.54 (colored)

Sync with HEAD

Revision 1.81.2.4 / (download) - annotate - [select for diffs], Fri Jul 23 07:04:56 2004 UTC (19 years, 8 months ago) by tron
Branch: netbsd-2-0
CVS Tags: 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-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
Changes since 1.81.2.3: +26 -14 lines
Diff to previous 1.81.2.3 (colored) to branchpoint 1.81 (colored) next main 1.82 (colored)

Pull up revision 1.85 (requested by rumble in ticket #682):
KNF some and make printf output a bit nicer.

Revision 1.81.2.3 / (download) - annotate - [select for diffs], Fri Jul 23 07:04:26 2004 UTC (19 years, 8 months ago) by tron
Branch: netbsd-2-0
Changes since 1.81.2.2: +23 -14 lines
Diff to previous 1.81.2.2 (colored) to branchpoint 1.81 (colored)

Pull up revision 1.84 (requested by rumble in ticket #682):
Add IP12 stuff.  Most bits included are from Steve Rumble.
After this change it is possible to run IP12.

Revision 1.81.2.2 / (download) - annotate - [select for diffs], Fri Jul 23 06:54:24 2004 UTC (19 years, 8 months ago) by tron
Branch: netbsd-2-0
Changes since 1.81.2.1: +3 -3 lines
Diff to previous 1.81.2.1 (colored) to branchpoint 1.81 (colored)

Pull up revision 1.83 (requested by rumble in ticket #682):
If argv[1] doesn't exist, don't try to use it.

Revision 1.85 / (download) - annotate - [select for diffs], Sun Apr 11 12:17:10 2004 UTC (20 years ago) by pooka
Branch: MAIN
Changes since 1.84: +26 -14 lines
Diff to previous 1.84 (colored)

KNF some and make printf output a bit nicer.

Revision 1.84 / (download) - annotate - [select for diffs], Sun Apr 11 12:13:20 2004 UTC (20 years ago) by pooka
Branch: MAIN
Changes since 1.83: +23 -14 lines
Diff to previous 1.83 (colored)

Add IP12 stuff.  Most bits included are from Steve Rumble.

After this change it is possible to run IP12.

Revision 1.81.2.1 / (download) - annotate - [select for diffs], Sun Apr 11 04:03:26 2004 UTC (20 years ago) by jmc
Branch: netbsd-2-0
Changes since 1.81: +6 -7 lines
Diff to previous 1.81 (colored)

Pullup rev 1.82 (requested by tsutsui in ticket #122)

Tidy up total/avail memory message as well as other ports.

Revision 1.83 / (download) - annotate - [select for diffs], Fri Apr 9 16:41:23 2004 UTC (20 years ago) by pooka
Branch: MAIN
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored)

If argv[1] doesn't exist, don't try to use it.

Revision 1.82 / (download) - annotate - [select for diffs], Mon Apr 5 16:01:43 2004 UTC (20 years ago) by tsutsui
Branch: MAIN
Changes since 1.81: +6 -7 lines
Diff to previous 1.81 (colored)

Tidy up total/avail memory message as well as other ports.
As per discussion on port-sgimips.

Revision 1.81 / (download) - annotate - [select for diffs], Thu Mar 25 15:06:37 2004 UTC (20 years ago) by pooka
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.80: +4 -2 lines
Diff to previous 1.80 (colored)

Sprinkle some #ifdef MIPS3 to be able to compile the port without
including MIPS3 code.

for upcoming IP12

Revision 1.80 / (download) - annotate - [select for diffs], Sat Mar 6 07:50:56 2004 UTC (20 years, 1 month ago) by sekiya
Branch: MAIN
Changes since 1.79: +4 -4 lines
Diff to previous 1.79 (colored)

Print an informative message when unimpl_intr() is invoked, rather than panic().

Revision 1.79 / (download) - annotate - [select for diffs], Mon Jan 19 03:26:14 2004 UTC (20 years, 2 months ago) by sekiya
Branch: MAIN
Changes since 1.78: +2 -3 lines
Diff to previous 1.78 (colored)

Completely remove IP2X and IP32, which renders opt_machtype.h obsolete.

Revision 1.78 / (download) - annotate - [select for diffs], Mon Jan 19 00:19:36 2004 UTC (20 years, 2 months ago) by sekiya
Branch: MAIN
Changes since 1.77: +3 -15 lines
Diff to previous 1.77 (colored)

g/c obsolete function.

Revision 1.77 / (download) - annotate - [select for diffs], Mon Jan 19 00:12:31 2004 UTC (20 years, 2 months ago) by sekiya
Branch: MAIN
Changes since 1.76: +5 -21 lines
Diff to previous 1.76 (colored)

Attach int0 at mainbus (precedent being the ip32 CRIME device, which handled
interrupts and timer calibration yet is also attached at mainbus).

Introduce the INDY_R4600_CACHE config option, which more accurately describes
the code enabled by this option.

This renders #ifdef IPxx completely obsolete, thus we theoretically can unify
the GENERIC files if a workable load address relocation scheme can be found.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Jan 18 04:43:42 2004 UTC (20 years, 2 months ago) by sekiya
Branch: MAIN
Changes since 1.75: +2 -5 lines
Diff to previous 1.75 (colored)

Remove another #ifdef IP32

Revision 1.75 / (download) - annotate - [select for diffs], Sun Jan 18 00:47:21 2004 UTC (20 years, 2 months ago) by sekiya
Branch: MAIN
Changes since 1.74: +111 -189 lines
Diff to previous 1.74 (colored)

Large rototill of the lowlevel code:

* move all device-specific bitbanging to the device drivers in question --
  i.e., the ip32 init code doesn't access the CRIME registers directly but
  instead trusts the CRIME driver to DTRT.  machdep.c is cleaner thereby.
* introduce int.c, which handles the interrupt-controller goo formerly
  in ip2x.c.
* unify the CPU interrupt handler, with CRIME, INT2, and the various timer
  handlers hooked in via pointers in the platform struct.
* eliminate ip2x.c and ip32.c.  After the interrupt handler cleanup, the
  actual platform-dependent code was so minimal (rev identification, mask level
  initialization) that it made sense to move it into machdep.c
* "#ifdef DEBUG printf("foo"); #endif" becomes aprint_debug.

Tested on my ip22 and ip32.  Discussed with pooka@, rafal@.

Revision 1.74 / (download) - annotate - [select for diffs], Tue Jan 13 12:57:24 2004 UTC (20 years, 3 months ago) by sekiya
Branch: MAIN
Changes since 1.73: +8 -2 lines
Diff to previous 1.73 (colored)

Call sgimips_bus_dma_init() in mach_init to set up the proper MIPS1/MIPS3
bus_dma_sync() routine.

Revision 1.73 / (download) - annotate - [select for diffs], Tue Jan 13 05:51:07 2004 UTC (20 years, 3 months ago) by sekiya
Branch: MAIN
Changes since 1.72: +13 -2 lines
Diff to previous 1.72 (colored)

Add a call to ip1x_init().

Revision 1.72 / (download) - annotate - [select for diffs], Mon Jan 12 12:32:00 2004 UTC (20 years, 3 months ago) by sekiya
Branch: MAIN
Changes since 1.71: +4 -2 lines
Diff to previous 1.71 (colored)

Wrap more mips3_ operations in MIPS3 defines.

Revision 1.71 / (download) - annotate - [select for diffs], Sat Jan 3 10:28:18 2004 UTC (20 years, 3 months ago) by sekiya
Branch: MAIN
Changes since 1.70: +15 -15 lines
Diff to previous 1.70 (colored)

Streamline bootinfo logic.

Revision 1.70 / (download) - annotate - [select for diffs], Sat Jan 3 04:26:34 2004 UTC (20 years, 3 months ago) by lonewolf
Branch: MAIN
Changes since 1.69: +31 -36 lines
Diff to previous 1.69 (colored)

Rework the memory detection routine to handle cases where kernel doesn't
fit inside one memory chunk.
Leave 1 page before kernel untouched as that's where our initial kernel
stack before we switch to proc0 stack is (fixes boot problems on my Indy
with small kernels).

Revision 1.69 / (download) - annotate - [select for diffs], Fri Jan 2 00:41:23 2004 UTC (20 years, 3 months ago) by sekiya
Branch: MAIN
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored)

Add trailing newline.  Noticed by Steve Rumble.

Revision 1.68 / (download) - annotate - [select for diffs], Tue Dec 30 12:33:19 2003 UTC (20 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.67: +3 -68 lines
Diff to previous 1.67 (colored)

Replace the traditional buffer memory management -- based on fixed per buffer
virtual memory reservation and a private pool of memory pages -- by a scheme
based on memory pools.

This allows better utilization of memory because buffers can now be allocated
with a granularity finer than the system's native page size (useful for
filesystems with e.g. 1k or 2k fragment sizes).  It also avoids fragmentation
of virtual to physical memory mappings (due to the former fixed virtual
address reservation) resulting in better utilization of MMU resources on some
platforms.  Finally, the scheme is more flexible by allowing run-time decisions
on the amount of memory to be used for buffers.

On the other hand, the effectiveness of the LRU queue for buffer recycling
may be somewhat reduced compared to the traditional method since, due to the
nature of the pool based memory allocation, the actual least recently used
buffer may release its memory to a pool different from the one needed by a
newly allocated buffer. However, this effect will kick in only if the
system is under memory pressure.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Dec 29 06:26:41 2003 UTC (20 years, 3 months ago) by sekiya
Branch: MAIN
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

Fix typo ("ARCBIOS_MEM_ExecptionBlock").  From Steve Rumble.

Revision 1.66 / (download) - annotate - [select for diffs], Mon Dec 15 13:02:28 2003 UTC (20 years, 4 months ago) by sekiya
Branch: MAIN
Changes since 1.65: +4 -4 lines
Diff to previous 1.65 (colored)

Part two in the Great Renaming.  ip22.c becomes ip2x.c, and all generic ip2x
routines become ip2x_*.

Revision 1.65 / (download) - annotate - [select for diffs], Mon Dec 15 12:48:37 2003 UTC (20 years, 4 months ago) by sekiya
Branch: MAIN
Changes since 1.64: +13 -9 lines
Diff to previous 1.64 (colored)

Change all IP22 preprocessor conditionals to IP2X preprocessor conditionals.

Part one of two -- part two will be renaming ip22_*() to ip2x_*().

Revision 1.64 / (download) - annotate - [select for diffs], Sun Dec 14 06:11:35 2003 UTC (20 years, 4 months ago) by sekiya
Branch: MAIN
Changes since 1.63: +5 -2 lines
Diff to previous 1.63 (colored)

IP20 should handle the watchdog timer in the same manner as for IP22.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Dec 14 05:49:14 2003 UTC (20 years, 4 months ago) by sekiya
Branch: MAIN
Changes since 1.62: +2 -9 lines
Diff to previous 1.62 (colored)

For the purposes of machdep.c, consider IP20 to be a variant of IP22.  ip20.c
and #ifdef IP20 will go away (short-term), ip22_* will be renamed to ip2x_*
(slighly longer-term).

Revision 1.62 / (download) - annotate - [select for diffs], Sun Dec 14 05:33:22 2003 UTC (20 years, 4 months ago) by sekiya
Branch: MAIN
Changes since 1.61: +2 -6 lines
Diff to previous 1.61 (colored)

The ARCBIOS->FlushAllCaches() vector is NULL on at least one SGI platform
(ip20) and has no actual operational effect, thus it should not be invoked here.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Dec 10 00:00:51 2003 UTC (20 years, 4 months ago) by lonewolf
Branch: MAIN
Changes since 1.60: +2 -7 lines
Diff to previous 1.60 (colored)

Remove the extra call to consinit().

Revision 1.60 / (download) - annotate - [select for diffs], Mon Nov 17 10:07:58 2003 UTC (20 years, 5 months ago) by keihan
Branch: MAIN
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

www.netbsd.org -> www.NetBSD.org

Revision 1.59 / (download) - annotate - [select for diffs], Sun Oct 5 15:38:08 2003 UTC (20 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.58: +76 -45 lines
Diff to previous 1.58 (colored)

Apply a bunch of patches written by Christopher SEKIYA
(with several cosmetic changes by me) which fixes O2 (IP32) support.

Now my R5000 O2 works fine in multiuser with on-board AIC7880 SCSIs
and several PCI network cards (but only on serial console yet).
L2 cache on R5000/Rm5200 is still disabled for now, but it will be
fixed later, hopefully.

See recent discussion on port-sgimips for details.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Oct 4 09:19:23 2003 UTC (20 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.57: +21 -21 lines
Diff to previous 1.57 (colored)

TAB/space cleanup.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Sep 28 13:02:18 2003 UTC (20 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

Cast through (void *) to appease gcc3.

Revision 1.56 / (download) - annotate - [select for diffs], Mon Sep 15 06:39:22 2003 UTC (20 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.55: +17 -17 lines
Diff to previous 1.55 (colored)

Use common mips generic software interrupt routines.

Changes from Izumi Tsutsui, tested by Havard Eidnes.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Jul 15 03:35:55 2003 UTC (20 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.54: +4 -1 lines
Diff to previous 1.54 (colored)

__KERNEL_RCSID()

Revision 1.54 / (download) - annotate - [select for diffs], Sat Apr 26 11:05:19 2003 UTC (20 years, 11 months ago) by ragge
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.53: +8 -4 lines
Diff to previous 1.53 (colored)

Call ksyms_init() instead of ddb_init() in case of
	NKSYMS || defined(DDB) || defined(LKM)

Revision 1.53 / (download) - annotate - [select for diffs], Wed Apr 2 04:27:19 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Mar 31 00:56:53 2003 UTC (21 years ago) by rafal
Branch: MAIN
Changes since 1.51: +3 -2 lines
Diff to previous 1.51 (colored)

Oops, make sure to re-enable the IP32 watchdog correctly, else we end up
getting random reboots after returning from DDB.

Revision 1.51 / (download) - annotate - [select for diffs], Sun Jan 19 22:36:00 2003 UTC (21 years, 2 months ago) by rafal
Branch: MAIN
Changes since 1.50: +39 -3 lines
Diff to previous 1.50 (colored)

Parse out flags passed to the kernel on boot; from Scott Taylor, tweaked to
use the MI boot_flags.h interface by me.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Jan 18 06:30:24 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.49: +6 -5 lines
Diff to previous 1.49 (colored)

Merge the nathanw_sa branch.

Revision 1.30.2.14 / (download) - annotate - [select for diffs], Wed Jan 15 18:22:30 2003 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.30.2.13: +4 -10 lines
Diff to previous 1.30.2.13 (colored) next main 1.31 (colored)

Sync with HEAD.

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

Get rid of some extraneous declarations/comments.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Jan 10 03:22:49 2003 UTC (21 years, 3 months ago) by rafal
Branch: MAIN
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (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.30.2.13 / (download) - annotate - [select for diffs], Tue Jan 7 21:14:36 2003 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.30.2.12: +99 -27 lines
Diff to previous 1.30.2.12 (colored)

Sync with HEAD.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Jan 6 06:25:32 2003 UTC (21 years, 3 months ago) by rafal
Branch: MAIN
Changes since 1.46: +3 -1 lines
Diff to previous 1.46 (colored)

There's no cache_r5k.h yet, so don't try to include it.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Jan 6 05:56:00 2003 UTC (21 years, 3 months ago) by rafal
Branch: MAIN
Changes since 1.45: +23 -19 lines
Diff to previous 1.45 (colored)

Postpone DDB/KGDB init until we know the machine type, so the debugger can
be attached to the right place, twiddle the right watchdog registers, etc.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Jan 3 09:09:22 2003 UTC (21 years, 3 months ago) by rafal
Branch: MAIN
Changes since 1.44: +70 -3 lines
Diff to previous 1.44 (colored)

Checkpoint of O2 work by Chris Sekiya and myself.  This is the sgimips bit;
still needs some arch/mips support code before it will fully work.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jan 3 06:26:06 2003 UTC (21 years, 3 months ago) by rafal
Branch: MAIN
Changes since 1.43: +6 -7 lines
Diff to previous 1.43 (colored)

Move console setup after we've determined machine type so the console init
code can guess where to find a console depending on machine type.

Revision 1.30.2.12 / (download) - annotate - [select for diffs], Sun Dec 29 19:35:37 2002 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.30.2.11: +33 -26 lines
Diff to previous 1.30.2.11 (colored)

Sync with HEAD.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Dec 23 21:04:23 2002 UTC (21 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.42: +33 -26 lines
Diff to previous 1.42 (colored)

Use crimereg.h definitions for the crime dog. Also, move watchdog
disable down the very last possible place in cpu_reboot.

from Chris Sekiya

Revision 1.30.2.11 / (download) - annotate - [select for diffs], Mon Nov 11 22:03:57 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.10: +2 -2 lines
Diff to previous 1.30.2.10 (colored)

Catch up to -current

Revision 1.42 / (download) - annotate - [select for diffs], Sat Nov 9 19:20:18 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

Fix signed/unsigned comparison warnings.

Revision 1.30.2.10 / (download) - annotate - [select for diffs], Fri Oct 18 02:39:42 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.9: +2 -3 lines
Diff to previous 1.30.2.9 (colored)

Catch up to -current.

Revision 1.23.2.6 / (download) - annotate - [select for diffs], Thu Oct 10 18:35:42 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.23.2.5: +2 -3 lines
Diff to previous 1.23.2.5 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.41 / (download) - annotate - [select for diffs], Fri Sep 27 15:36:41 2002 UTC (21 years, 6 months ago) by provos
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

remove trailing \n in panic().  approved perry.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Sep 25 22:21:19 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.39: +1 -2 lines
Diff to previous 1.39 (colored)

Don't include <sys/map.h>.

Revision 1.23.2.5 / (download) - annotate - [select for diffs], Fri Sep 6 08:39:45 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.23.2.4: +5 -29 lines
Diff to previous 1.23.2.4 (colored) to branchpoint 1.23 (colored)

sync kqueue branch with HEAD

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Sat Aug 31 13:45:52 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.37: +5 -29 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

catch up with -current.

Revision 1.30.2.9 / (download) - annotate - [select for diffs], Tue Aug 27 23:45:22 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.8: +3 -4 lines
Diff to previous 1.30.2.8 (colored)

Catch up to -current.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Aug 25 20:21:42 2002 UTC (21 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.38: +3 -4 lines
Diff to previous 1.38 (colored)

Make nbuf, nswbuf, and bufpages unsigned.  Make all operations on these
variables unsigned, and update places where their values are printed.

Revision 1.30.2.8 / (download) - annotate - [select for diffs], Tue Aug 13 02:18:49 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.7: +3 -26 lines
Diff to previous 1.30.2.7 (colored)

Catch up to -current.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Aug 4 01:41:29 2002 UTC (21 years, 8 months ago) by gmcgarry
Branch: MAIN
Changes since 1.37: +3 -26 lines
Diff to previous 1.37 (colored)

Merge cpu_sysctl() for all mips ports, based on powerpc and m68k precedent.

For now, only pmax implements CPU_BOOTED_KERNEL.  Need to revisit.

Revision 1.30.2.7 / (download) - annotate - [select for diffs], Mon Jun 24 22:07:16 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.6: +2 -2 lines
Diff to previous 1.30.2.6 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.23.2.4 / (download) - annotate - [select for diffs], Sun Jun 23 17:40:32 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.23.2.3: +24 -11 lines
Diff to previous 1.23.2.3 (colored) to branchpoint 1.23 (colored)

catch up with -current on kqueue branch

Revision 1.30.2.6 / (download) - annotate - [select for diffs], Thu Jun 20 03:40:51 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.5: +24 -11 lines
Diff to previous 1.30.2.5 (colored)

Catch up to -current.

Revision 1.30.2.5 / (download) - annotate - [select for diffs], Wed May 29 21:31:56 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.4: +2 -1 lines
Diff to previous 1.30.2.4 (colored)

#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.

(Behold the Power of Ed)

Revision 1.37 / (download) - annotate - [select for diffs], Fri May 3 01:49:22 2002 UTC (21 years, 11 months ago) by rafal
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
Branch point for: gehenna-devsw
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored)

Update copyright dates.

Revision 1.36 / (download) - annotate - [select for diffs], Fri May 3 01:13:55 2002 UTC (21 years, 11 months ago) by rafal
Branch: MAIN
Changes since 1.35: +12 -9 lines
Diff to previous 1.35 (colored)

Fix up clock interrupt accounting for the sgimips port -- make sure
to schedule clock interrupts at a fixed interval, rather scheduling
the next one based on the time of the arrival/servicing of the previous
clock interrupt.  Also, pick up a trick from the sbmips port to convert
a division in ip22_clkread to a multiplication, since those are much
cheaper -- the details of that are described in Simon's commit (see
Message-Id: <20020306073437.1D2A8B004@cvs.netbsd.org>).  Thanks to
Jason Thorpe and Dominic Sweetman's "See MIPS Run" (where I found
mention of this very subject while looking for something totally un-
related! 8-) for the clue about the source of the timekeeping problems.

For the IP32, where we have no clock-calibration code yet, use the CPU
frequency provided by ARCS instead; it beats a hard-coded value!

As an added bonus, most of the CPU-clock related stuff is now collected
together in cpu_info_store, rather than as a collection of unorganized
global variables.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Apr 29 02:06:14 2002 UTC (21 years, 11 months ago) by rafal
Branch: MAIN
Changes since 1.34: +12 -3 lines
Diff to previous 1.34 (colored)

Fix nasty crashes on IP22 machines with console running at 38.4kbps (which
generally translates to "high interrupt load") -- the old code re-enabled
interrupts in the machine-specific hardware interrupt handler causing the
handler to be re-entered, possible multiple times.  Could lead to kernel
stack overflows, and all sorts of mysterious crashes/hangs as a result.

While here, fix up the IP32 interrupt handler code to also not re-enable
interrupts.

Thanks for ideas/comments go to Chuq and Stephen Ma.

Revision 1.30.2.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:42:29 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.3: +66 -66 lines
Diff to previous 1.30.2.3 (colored)

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

Revision 1.23.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 15:59:32 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.23.2.2: +66 -66 lines
Diff to previous 1.23.2.2 (colored) to branchpoint 1.23 (colored)

Catch up with -current.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Mar 13 13:12:29 2002 UTC (22 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.33: +66 -66 lines
Diff to previous 1.33 (colored)

Replace lots of 8x<space> with <tabs> and other miscellaneous indentation
fixes.
Wrap a couple of long lines.
Use <return-type>\n<function name> as per KNF in a few places.

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:48:31 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.23.2.1: +182 -50 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored)

Sync kqueue branch with -current.

Revision 1.30.2.3 / (download) - annotate - [select for diffs], Tue Jan 8 00:27:32 2002 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.2: +146 -52 lines
Diff to previous 1.30.2.2 (colored)

Catch up to -current.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Nov 22 02:06:32 2001 UTC (22 years, 4 months ago) by soren
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
Changes since 1.32: +22 -6 lines
Diff to previous 1.32 (colored)

Respect OSLoadPartition even if it doesn't come before SystemPartition in argv.
Add a few comments about the above.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Nov 21 23:27:20 2001 UTC (22 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.31: +121 -43 lines
Diff to previous 1.31 (colored)

- Check for provided bootinfo from the bootloader.  If we find it,
  save off DDB symbol table information.
- Make loading of memory work reliably with the bootloader; for each
  candidate memory type from ARCS (which now includes LoadedProgram),
  check to see if the kernel is within that chunk, and load the pages
  around it if it is.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Nov 19 17:29:53 2001 UTC (22 years, 4 months ago) by soren
Branch: MAIN
Changes since 1.30: +8 -8 lines
Diff to previous 1.30 (colored)

Also check SystemPartition when finding boot device. Especially
when netbooting, it is practical to load the kernel directly.

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Sun Nov 18 01:28:32 2001 UTC (22 years, 5 months ago) by wdk
Branch: nathanw_sa
Changes since 1.30.2.1: +814 -0 lines
Diff to previous 1.30.2.1 (colored)

Seperate proc0 and lwp0 references for SA support

Revision 1.30.2.1, Wed Nov 14 22:47:16 2001 UTC (22 years, 5 months ago) by wdk
Branch: nathanw_sa
Changes since 1.30: +0 -814 lines
FILE REMOVED

file machdep.c was added on branch nathanw_sa on 2001-11-18 01:28:32 +0000

Revision 1.30 / (download) - annotate - [select for diffs], Wed Nov 14 22:47:16 2001 UTC (22 years, 5 months ago) by mhitch
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.29: +9 -1 lines
Diff to previous 1.29 (colored)

When loadfile() leaves the ELF header at the end of the kernel, it enables
erroneous code that tries to compute the end of the symbol table.  Disable
that for now so that kernels don't hang when booted from the disk.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:17:30 2001 UTC (22 years, 5 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Nov 11 17:21:41 2001 UTC (22 years, 5 months ago) by rafal
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

Make microtime(9) do interpolation to get better-than-hz resolution, if
the platform supplies a clkread function that does something other than
return 0 (which is the default unless overridden by the platorm code).
Supply such a function for the IP22; even if it isn't perfect, it goes
a long way to making ntp usable.

While I'm at it, move the ticks-per-hz variable out of the struct platform
since it's really private to the per-platform interrupt/clock code.

XXX: No clkread function supplied for IP32, since it has other problems --
like a hardcoded ticks-per-hz, but the same code as on the IP22 could be
used.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Oct 18 02:36:33 2001 UTC (22 years, 6 months ago) by mhitch
Branch: MAIN
Branch point for: thorpej-mips-cache
Changes since 1.27: +21 -1 lines
Diff to previous 1.27 (colored)

Use boot arguments to try to determine the boot device.  The OSLoadPartition
string, if present, will override the second argument (which may be the
path/kernel being loaded).  This will provide a way to netboot the kernel
and allow the root device be set to a disk partition.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:41:50 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.23: +18 -8 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Catch up with -current.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Sep 24 03:56:03 2001 UTC (22 years, 6 months ago) by mhitch
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Run vfs_shutdown() if NOSYNC is *not* set, rather than set.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Sep 22 16:26:34 2001 UTC (22 years, 6 months ago) by rafal
Branch: MAIN
Changes since 1.25: +1 -3 lines
Diff to previous 1.25 (colored)

If OSLoadOptions is set to auto, boot straight to multi-user.  Requested
one too many times and it seems to do no harm, so enable it.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Sep 18 05:19:29 2001 UTC (22 years, 7 months ago) by rafal
Branch: MAIN
Changes since 1.24: +16 -4 lines
Diff to previous 1.24 (colored)

Obey the RB_POWERDOWN flag passed to cpu_reboot; make it work on the Indy
by enabling the FPU before jumping back to ARCS (gross, but necessary!).

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:14:31 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Update the kqueue branch to HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:34 2001 UTC (22 years, 7 months ago) by chris
Branch: MAIN
CVS Tags: pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

Currently this is a no-op on most platforms, so they should see no difference.

Reviewed by Jason.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jul 9 02:00:19 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp, kqueue
Changes since 1.22: +35 -9 lines
Diff to previous 1.22 (colored)

Count and display the number of CPUs present on the system.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jul 9 00:30:35 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored)

Fill in cpu_model[]

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jul 8 23:59:32 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +6 -9 lines
Diff to previous 1.20 (colored)

- Use the identifier strings that are fetched by the MI ARC BIOS
  code.
- Garbage-collect some non-useful stuff from the mainbus_attach_args.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jul 8 21:04:52 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

bcopy -> memcpy, bzero -> memset

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jul 8 20:30:13 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +33 -24 lines
Diff to previous 1.18 (colored)

Use sys/dev/arcbios.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jul 7 23:13:26 2001 UTC (22 years, 9 months ago) by wdk
Branch: MAIN
Changes since 1.17: +19 -2 lines
Diff to previous 1.17 (colored)

- Finish off KGDB kernel debugger support for sgimips

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 19:33:52 2001 UTC (22 years, 9 months ago) by nathanw
Changes since 1.9.2.1: +244 -96 lines
Diff to previous 1.9.2.1 (colored) next main 1.10 (colored)

Catch up to -current.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jun 13 12:34:24 2001 UTC (22 years, 10 months ago) by rafal
Branch: MAIN
Changes since 1.16: +39 -1 lines
Diff to previous 1.16 (colored)

Implement a db_trap_callback which turns off the watchdog on entry to DDB
and turns it back on on exit.  Hook the callback in early in the boot, so
it's there as soon as DDB is available.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jun 2 18:09:20 2001 UTC (22 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

replace vm_map{,_entry}_t with struct vm_map{,_entry} *.

Revision 1.15 / (download) - annotate - [select for diffs], Fri May 11 04:53:25 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +193 -89 lines
Diff to previous 1.14 (colored)

Adjustments for dynamic system configuration.  From Rafal K. Boni.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Apr 24 15:41:41 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.13: +7 -2 lines
Diff to previous 1.13 (colored)

Do the first allocsys() pass (the pass that computes sizes) before
calling pmap_bootstrap(); pmap_bootstrap() needs some of the size
information computed by allocsys().

Revision 1.13 / (download) - annotate - [select for diffs], Tue Apr 24 04:31:09 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).

These calls are relatively conservative.  It may be possible to
optimize these a little more.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Apr 23 23:50:24 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Call pmap_bootstrap() before calling uvm_pageboot_alloc(), so that
the kernel virtual address space bounds will be set up.

Revision 1.6.2.7 / (download) - annotate - [select for diffs], Mon Apr 23 09:42:01 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6.2.6: +3 -3 lines
Diff to previous 1.6.2.6 (colored) next main 1.7 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Apr 22 18:21:51 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Use uvm_pageboot_alloc() for early memory allocation, rather than
calling pmap_steal_memory() directly.  On these platforms, since
uvm_pageboot_alloc() is a wrapper around pmap_steal_memory(), there
is no functional change.  This is merely for API consistency.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:54:44 2001 UTC (23 years ago) by nathanw
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Catch up with -current.

Revision 1.6.2.6 / (download) - annotate - [select for diffs], Tue Mar 27 15:31:26 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6.2.5: +2 -2 lines
Diff to previous 1.6.2.5 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 15 06:10:48 2001 UTC (23 years, 1 month ago) by chs
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

eliminate the KERN_* error codes in favor of the traditional E* codes.
the mapping is:

KERN_SUCCESS			0
KERN_INVALID_ADDRESS		EFAULT
KERN_PROTECTION_FAILURE		EACCES
KERN_NO_SPACE			ENOMEM
KERN_INVALID_ARGUMENT		EINVAL
KERN_FAILURE			various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE		ENOMEM
KERN_NOT_RECEIVER		<unused>
KERN_NO_ACCESS			<unused>
KERN_PAGES_LOCKED		<unused>

Revision 1.6.2.5 / (download) - annotate - [select for diffs], Sun Feb 11 19:12:10 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6.2.4: +1 -6 lines
Diff to previous 1.6.2.4 (colored)

Sync with HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jan 22 13:57:01 2001 UTC (23 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.8: +1 -6 lines
Diff to previous 1.8 (colored)

Require the machine-dependant DDB commands to be in db_machine_command_table[]
and link it directly to db_command_table[] so that it's not necessary
to do this at runtime. Make db_machine_command_table[] const on all ports.
g/c now unneded stuff, like db_machine_commands_install(), db_machine_init()

Patch written by enami.

Revision 1.6.2.4 / (download) - annotate - [select for diffs], Thu Jan 18 09:22:59 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6.2.3: +2 -2 lines
Diff to previous 1.6.2.3 (colored)

Sync with head (for UBC+NFS fixes, mostly).

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 15 20:19:57 2001 UTC (23 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Make softclock a generic soft interrupt of the API is available,
adding the requisite void * argument to softclock().

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Fri Dec 8 09:30:25 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6.2.2: +5 -5 lines
Diff to previous 1.6.2.2 (colored)

Sync with HEAD.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Nov 27 05:57:27 2000 UTC (23 years, 4 months ago) by soren
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

Consistently use pmap_steal_memory() to allocate USPACE.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Mon Nov 20 20:23:48 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6.2.1: +583 -0 lines
Diff to previous 1.6.2.1 (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.6.2.1, Thu Oct 5 02:36:46 2000 UTC (23 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6: +0 -583 lines
FILE REMOVED

file machdep.c was added on branch thorpej_scsipi on 2000-11-20 20:23:48 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Thu Oct 5 02:36:46 2000 UTC (23 years, 6 months ago) by cgd
Branch: MAIN
Branch point for: thorpej_scsipi
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

clean up and consistency for CP0 Count, Compare, Wired, and Config
access function names and prototypes.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Sep 13 15:00:22 2000 UTC (23 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Add an align argument to uvm_map() and some callers of that
routine.  Works similarly fto pmap_prefer(), but allows callers
to specify a minimum power-of-two alignment of the region.
How we ever got along without this for so long is beyond me.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Wed Jul 19 00:25:27 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.1: +1 -3 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Pull up cpu_intr() prototype + platform dependent machdeps.
(approved by thorepj).

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jul 14 18:35:41 2000 UTC (23 years, 9 months ago) by jeffs
Branch: MAIN
Changes since 1.3: +1 -3 lines
Diff to previous 1.3 (colored)

Use cpu_intr() definition from mips/cpu.h instead of local one.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jun 29 07:44:11 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.2: +2 -3 lines
Diff to previous 1.2 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 26 14:20:56 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.1: +1 -2 lines
Diff to previous 1.1 (colored)

remove/move more mach vm header files:

	<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Thu Jun 22 17:03:43 2000 UTC (23 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.1.4.1: +587 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.1.4.1, Wed Jun 14 16:02:47 2000 UTC (23 years, 10 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.1: +0 -587 lines
FILE REMOVED

file machdep.c was added on branch minoura-xpg4dl on 2000-06-22 17:03:43 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 14 16:02:47 2000 UTC (23 years, 10 months ago) by soren
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5, minoura-xpg4dl

Initial commit. Needs work.

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>