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


Keyword substitution: kv
Default branch: MAIN


Revision 1.152.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 17 18:05:30 2024 UTC (5 months, 3 weeks ago) by martin
Branches: netbsd-10
Diff to: previous 1.152: preferred, colored; next MAIN 1.153: preferred, colored
Changes since revision 1.152: +9 -9 lines
Pull up following revision(s) (requested by skrll in ticket #695):

	sys/arch/sgimips/sgimips/machdep.c: revision 1.155

sgimips: call mips_vector_init earlier to fix boot.

PR port-sgimips/58269

Revision 1.156: download - view: text, markup, annotated - select for diffs
Thu May 23 06:14:12 2024 UTC (6 months, 2 weeks ago) by skrll
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +5 -5 lines
Trailing whitespace.

Revision 1.155: download - view: text, markup, annotated - select for diffs
Thu May 23 06:11:14 2024 UTC (6 months, 2 weeks ago) by skrll
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +9 -9 lines
sgimips: call mips_vector_init earlier to fix boot.

PR port-sgimips/58269

Revision 1.154: download - view: text, markup, annotated - select for diffs
Tue Mar 5 14:15:35 2024 UTC (9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +2 -8 lines
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 - view: text, markup, annotated - select for diffs
Wed Dec 20 15:29:08 2023 UTC (11 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +2 -3 lines
Remove unnecessary <sys/malloc.h>.

Revision 1.152: download - view: text, markup, annotated - select for diffs
Thu Aug 12 20:53:18 2021 UTC (3 years, 3 months ago) by andvar
Branches: 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +4 -4 lines
fix typos in "environment" word.

Revision 1.150.6.1: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:16 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.150: preferred, colored; next MAIN 1.151: preferred, colored
Changes since revision 1.150: +3 -3 lines
Sync with HEAD.

Revision 1.151: download - view: text, markup, annotated - select for diffs
Sat Jul 24 21:31:35 2021 UTC (3 years, 4 months ago) by andvar
Branches: 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
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 11 19:20:45 2020 UTC (4 years, 5 months ago) by ad
Branches: 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
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:52 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.145.4.1: preferred, colored; branchpoint 1.145: preferred, colored; next MAIN 1.146: preferred, colored
Changes since revision 1.145.4.1: +3 -3 lines
Merge changes from current as of 20200406

Revision 1.149: download - view: text, markup, annotated - select for diffs
Tue Dec 31 13:07:12 2019 UTC (4 years, 11 months ago) by ad
Branches: 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
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +3 -3 lines
Rename uvm_free() -> uvm_availmem().

Revision 1.148: download - view: text, markup, annotated - select for diffs
Sat Dec 21 13:00:23 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +3 -3 lines
uvmexp.free -> uvm_free()

Revision 1.145.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:44 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +25 -6 lines
Sync with HEAD

Revision 1.145.2.2: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:47 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.145.2.1: preferred, colored; branchpoint 1.145: preferred, colored; next MAIN 1.146: preferred, colored
Changes since revision 1.145.2.1: +21 -2 lines
Ssync with HEAD

Revision 1.144.6.1: download - view: text, markup, annotated - select for diffs
Mon Sep 10 15:52:36 2018 UTC (6 years, 3 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Diff to: previous 1.144: preferred, colored; next MAIN 1.145: preferred, colored
Changes since revision 1.144: +6 -6 lines
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 - view: text, markup, annotated - select for diffs
Sat Sep 8 02:33:33 2018 UTC (6 years, 3 months ago) by tsutsui
Branches: 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-4-RELEASE, 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
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +21 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:41 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +6 -6 lines
Sync with HEAD

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

Revision 1.146: download - view: text, markup, annotated - select for diffs
Sun Sep 2 09:57:33 2018 UTC (6 years, 3 months ago) by tsutsui
Branches: MAIN
CVS tags: pgoyette-compat-0906
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +6 -6 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:41 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.137.2.2: preferred, colored; next MAIN 1.138: preferred, colored
Changes since revision 1.137.2.2: +10 -12 lines
update from HEAD

Revision 1.145: download - view: text, markup, annotated - select for diffs
Mon Nov 6 03:47:48 2017 UTC (7 years, 1 month ago) by christos
Branches: 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
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +2 -6 lines
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 - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:51 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.140.6.3: preferred, colored; branchpoint 1.140: preferred, colored; next MAIN 1.141: preferred, colored
Changes since revision 1.140.6.3: +6 -3 lines
Sync with HEAD

Revision 1.143.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:35 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.143: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143: +6 -3 lines
Sync with HEAD

Revision 1.141.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:19 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.141.2.2: preferred, colored; branchpoint 1.141: preferred, colored; next MAIN 1.142: preferred, colored
Changes since revision 1.141.2.2: +6 -3 lines
Sync with HEAD

Revision 1.144: download - view: text, markup, annotated - select for diffs
Fri Feb 10 04:00:48 2017 UTC (7 years, 10 months ago) by christos
Branches: 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
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +6 -3 lines
kill variable stack allocation

Revision 1.140.6.3: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:20 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.140.6.2: preferred, colored; branchpoint 1.140: preferred, colored
Changes since revision 1.140.6.2: +3 -3 lines
Sync with HEAD

Revision 1.141.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:25 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.141.2.1: preferred, colored; branchpoint 1.141: preferred, colored
Changes since revision 1.141.2.1: +3 -3 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.143: download - view: text, markup, annotated - select for diffs
Thu Dec 22 14:47:59 2016 UTC (7 years, 11 months ago) by cherry
Branches: MAIN
CVS tags: pgoyette-localcount-20170107, nick-nhusb-base-20170204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 5 10:54:57 2016 UTC (8 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.140.6.1: preferred, colored; branchpoint 1.140: preferred, colored
Changes since revision 1.140.6.1: +3 -3 lines
Sync with HEAD

Revision 1.141.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:04 2016 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +3 -3 lines
Sync with HEAD

Revision 1.142: download - view: text, markup, annotated - select for diffs
Thu Nov 3 22:08:31 2016 UTC (8 years, 1 month ago) by kamil
Branches: MAIN
CVS tags: pgoyette-localcount-20161104, nick-nhusb-base-20161204
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:51 2015 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +6 -7 lines
Sync with HEAD

Revision 1.141: download - view: text, markup, annotated - select for diffs
Fri Jun 26 22:55:06 2015 UTC (9 years, 5 months ago) by matt
Branches: 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
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +6 -7 lines
Cleanup includes

Revision 1.137.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:23 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.137.2.1: preferred, colored
Changes since revision 1.137.2.1: +7 -10 lines
Rebase to HEAD as of a few days ago.

Revision 1.136.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:07 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.136.2.1: preferred, colored; branchpoint 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136.2.1: +7 -10 lines
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 - view: text, markup, annotated - select for diffs
Sun May 18 17:45:24 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138: +7 -10 lines
sync with head

Revision 1.140: download - view: text, markup, annotated - select for diffs
Mon Mar 24 19:10:34 2014 UTC (10 years, 8 months ago) by christos
Branches: 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
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +4 -3 lines
- use cpu_{g,s}etmodel
- fix unused

Revision 1.139: download - view: text, markup, annotated - select for diffs
Mon Dec 16 15:45:29 2013 UTC (10 years, 11 months ago) by mrg
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +5 -9 lines
- remove unused variables
- use (void) when we don't care about the return value

Revision 1.137.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:01:41 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +3 -3 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.136.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:18 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +3 -6 lines
sync with head

Revision 1.138: download - view: text, markup, annotated - select for diffs
Sat Oct 27 17:18:10 2012 UTC (12 years, 1 month ago) by chs
Branches: 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
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +3 -3 lines
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.137: download - view: text, markup, annotated - select for diffs
Sat Jul 28 23:09:50 2012 UTC (12 years, 4 months ago) by matt
Branches: MAIN
Branch point for: tls-maxphys
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +2 -5 lines
Fix -fno-common fallout.

Revision 1.121.8.7: download - view: text, markup, annotated - select for diffs
Tue Feb 14 01:25:53 2012 UTC (12 years, 9 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.121.8.6: preferred, colored; branchpoint 1.121: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121.8.6: +3 -3 lines
mem_cluster_cnt on mips is now a u_int.

Revision 1.136: download - view: text, markup, annotated - select for diffs
Thu Jul 28 04:06:09 2011 UTC (13 years, 4 months ago) by uebayasi
Branches: 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
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +3 -3 lines
Fix DEBUG build.

Revision 1.135: download - view: text, markup, annotated - select for diffs
Fri Jul 1 18:54:33 2011 UTC (13 years, 5 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +3 -3 lines
#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.133.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:06:41 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.133: preferred, colored; next MAIN 1.134: preferred, colored
Changes since revision 1.133: +90 -156 lines
Sync with HEAD.

Revision 1.133.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:51:55 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.133: preferred, colored; next MAIN 1.134: preferred, colored
Changes since revision 1.133: +90 -156 lines
sync with head

Revision 1.133.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:03 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.133: preferred, colored; next MAIN 1.134: preferred, colored
Changes since revision 1.133: +90 -156 lines
Sync with HEAD

Revision 1.134: download - view: text, markup, annotated - select for diffs
Sun Feb 20 07:59:51 2011 UTC (13 years, 9 months ago) by matt
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +90 -156 lines
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 - view: text, markup, annotated - select for diffs
Wed Dec 29 07:15:48 2010 UTC (13 years, 11 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231
Diff to: previous 1.121.8.5: preferred, colored; branchpoint 1.121: preferred, colored
Changes since revision 1.121.8.5: +42 -44 lines
Adapt sgimips to the interrupt framework.

Revision 1.132.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:48 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.132: preferred, colored; next MAIN 1.133: preferred, colored
Changes since revision 1.132: +0 -1 lines
Sync with HEAD.

Revision 1.121.8.5: download - view: text, markup, annotated - select for diffs
Sun Mar 21 17:38:35 2010 UTC (14 years, 8 months ago) by cliff
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-k15
Diff to: previous 1.121.8.4: preferred, colored; branchpoint 1.121: preferred, colored
Changes since revision 1.121.8.4: +3 -3 lines
mips_vector_init now takes an argument to specify splsw.
NULL specifies use the default 'std_splsw'

Revision 1.119.4.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:55 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.119.4.2: preferred, colored; branchpoint 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119.4.2: +8 -20 lines
sync with head

Revision 1.133: download - view: text, markup, annotated - select for diffs
Mon Feb 8 19:02:31 2010 UTC (14 years, 10 months ago) by joerg
Branches: 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
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +2 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 1 04:18:32 2010 UTC (14 years, 10 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.121.8.3: preferred, colored; branchpoint 1.121: preferred, colored
Changes since revision 1.121.8.3: +4 -16 lines
fix fallout from frame/trapframe merger.

Revision 1.121.8.3: download - view: text, markup, annotated - select for diffs
Wed Jan 20 09:04:32 2010 UTC (14 years, 10 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.121.8.2: preferred, colored; branchpoint 1.121: preferred, colored
Changes since revision 1.121.8.2: +11 -9 lines
Adjust things to the new world order.

Revision 1.132: download - view: text, markup, annotated - select for diffs
Wed Dec 16 23:19:07 2009 UTC (14 years, 11 months ago) by matt
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +3 -4 lines
Fix various build with the 32bit mips ports after the mips64 merge.

Revision 1.131: download - view: text, markup, annotated - select for diffs
Mon Dec 14 00:46:14 2009 UTC (14 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +6 -16 lines
Merge from matt-nb5-mips64
Merge mips-specific arch files.

Revision 1.130: download - view: text, markup, annotated - select for diffs
Fri Nov 27 03:23:13 2009 UTC (15 years ago) by rmind
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +13 -12 lines
- 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 - view: text, markup, annotated - select for diffs
Thu Nov 26 00:19:21 2009 UTC (15 years ago) by matt
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +4 -5 lines
Kill proc0paddr.  Use lwp0.l_addr instead.

Revision 1.121.8.2: download - view: text, markup, annotated - select for diffs
Thu Sep 10 01:51:32 2009 UTC (15 years, 3 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-premerge-20091211
Diff to: previous 1.121.8.1: preferred, colored; branchpoint 1.121: preferred, colored
Changes since revision 1.121.8.1: +6 -10 lines
Add preliminary LP64 support for sgimips

Revision 1.121.8.1: download - view: text, markup, annotated - select for diffs
Mon Sep 7 23:46:46 2009 UTC (15 years, 3 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb4-mips64-k7-u2a-k9b
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +9 -3 lines
Deal with pcb_context being a label_t

Revision 1.119.4.2: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:46:45 2009 UTC (15 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.119.4.1: preferred, colored; branchpoint 1.119: preferred, colored
Changes since revision 1.119.4.1: +2 -3 lines
sync with head.

Revision 1.128: download - view: text, markup, annotated - select for diffs
Tue Aug 11 17:04:19 2009 UTC (15 years, 4 months ago) by matt
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +2 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed May 13 17:18:21 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.124: preferred, colored; next MAIN 1.125: preferred, colored
Changes since revision 1.124: +72 -25 lines
Sync with HEAD.

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

Revision 1.119.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:11:51 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +96 -44 lines
sync with head.

Revision 1.121.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:34:38 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.121.2.2: preferred, colored; branchpoint 1.121: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121.2.2: +7 -7 lines
Sync with HEAD.

Revision 1.127: download - view: text, markup, annotated - select for diffs
Wed Mar 18 10:22:35 2009 UTC (15 years, 8 months ago) by cegger
Branches: 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
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +7 -7 lines
Ansify function definitions w/o arguments. Generated with sed.

Revision 1.121.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:29:14 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.121.2.1: preferred, colored; branchpoint 1.121: preferred, colored
Changes since revision 1.121.2.1: +67 -20 lines
Sync with HEAD.

Revision 1.126: download - view: text, markup, annotated - select for diffs
Fri Feb 13 22:41:03 2009 UTC (15 years, 9 months ago) by apb
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Feb 12 06:33:57 2009 UTC (15 years, 10 months ago) by rumble
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +66 -20 lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 19 13:16:42 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +10 -12 lines
Sync with HEAD.

Revision 1.118.6.4: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:28 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.118.6.3: preferred, colored; branchpoint 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118.6.3: +8 -10 lines
Sync with HEAD.

Revision 1.120.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:25 2008 UTC (16 years ago) by haad
Branches: haad-dm
Diff to: previous 1.120.2.1: preferred, colored; branchpoint 1.120: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120.2.1: +10 -12 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.124: download - view: text, markup, annotated - select for diffs
Sun Nov 30 18:21:35 2008 UTC (16 years ago) by martin
Branches: MAIN
CVS tags: mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +3 -7 lines
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 - view: text, markup, annotated - select for diffs
Wed Nov 12 12:36:06 2008 UTC (16 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +7 -7 lines
Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.122: download - view: text, markup, annotated - select for diffs
Tue Nov 11 06:46:43 2008 UTC (16 years, 1 month ago) by dyoung
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +4 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 19 22:15:55 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +18 -4 lines
Sync with HEAD.

Revision 1.118.6.3: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:07 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.118.6.2: preferred, colored; branchpoint 1.118: preferred, colored
Changes since revision 1.118.6.2: +16 -2 lines
Sync with HEAD.

Revision 1.119.6.3: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:33:33 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.119.6.2: preferred, colored; branchpoint 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119.6.2: +18 -11 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.121: download - view: text, markup, annotated - select for diffs
Sun Aug 3 00:35:03 2008 UTC (16 years, 4 months ago) by tsutsui
Branches: 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
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +18 -4 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 3 18:37:55 2008 UTC (16 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119: +2 -9 lines
Sync with head.

Revision 1.118.6.2: download - view: text, markup, annotated - select for diffs
Wed Jul 2 19:08:17 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.118.6.1: preferred, colored; branchpoint 1.118: preferred, colored
Changes since revision 1.118.6.1: +0 -7 lines
Sync with HEAD.

Revision 1.120: download - view: text, markup, annotated - select for diffs
Wed Jul 2 17:28:56 2008 UTC (16 years, 5 months ago) by ad
Branches: MAIN
CVS tags: simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +2 -9 lines
Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.

Revision 1.119.6.2: download - view: text, markup, annotated - select for diffs
Wed May 14 01:35:00 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.119.6.1: preferred, colored; branchpoint 1.119: preferred, colored
Changes since revision 1.119.6.1: +2 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat May 10 23:48:46 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:24 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +75 -53 lines
Sync with HEAD.

Revision 1.119: download - view: text, markup, annotated - select for diffs
Fri Mar 28 16:40:25 2008 UTC (16 years, 8 months ago) by tsutsui
Branches: 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
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +75 -53 lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:21 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.114.10.2: preferred, colored; branchpoint 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114.10.2: +77 -41 lines
sync with HEAD

Revision 1.116.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:00 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.116.2.1: preferred, colored; branchpoint 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116.2.1: +77 -41 lines
Sync with HEAD.

Revision 1.93.2.7: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:22:27 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.93.2.6: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93.2.6: +77 -41 lines
sync with head.

Revision 1.118: download - view: text, markup, annotated - select for diffs
Sat Jan 26 14:35:24 2008 UTC (16 years, 10 months ago) by tsutsui
Branches: 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
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +77 -41 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 9 01:48:45 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.114.10.1: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.10.1: +8 -24 lines
sync with HEAD

Revision 1.114.8.2: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:36:10 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.114.8.1: preferred, colored; branchpoint 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114.8.1: +8 -24 lines
Sync with HEAD.

Revision 1.116.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:17:48 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +8 -24 lines
Sync with HEAD.

Revision 1.93.2.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:26:07 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.93.2.5: preferred, colored
Changes since revision 1.93.2.5: +8 -24 lines
sync with head

Revision 1.110.2.3: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:38:51 2007 UTC (17 years ago) by ad
Branches: vmlocking
Diff to: previous 1.110.2.2: preferred, colored; branchpoint 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110.2.2: +8 -24 lines
Sync with HEAD.

Revision 1.117: download - view: text, markup, annotated - select for diffs
Mon Dec 3 15:34:18 2007 UTC (17 years ago) by ad
Branches: 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
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +8 -24 lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 6 23:21:57 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +22 -4 lines
sync with HEAD

Revision 1.93.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:28:29 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.93.2.4: preferred, colored
Changes since revision 1.93.2.4: +22 -4 lines
sync with head.

Revision 1.116: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:57:06 2007 UTC (17 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 9 13:38:23 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.110.2.1: preferred, colored; branchpoint 1.110: preferred, colored
Changes since revision 1.110.2.1: +22 -4 lines
Sync with head.

Revision 1.114.12.1: download - view: text, markup, annotated - select for diffs
Sat Oct 6 15:34:26 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114: +22 -4 lines
sync with head.

Revision 1.110.10.2: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:24:57 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.110.10.1: preferred, colored; branchpoint 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110.10.1: +22 -4 lines
Sync with HEAD

Revision 1.114.8.1: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:27:37 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +22 -4 lines
Sync with HEAD.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Wed Sep 26 05:52:39 2007 UTC (17 years, 2 months ago) by macallan
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, ppcoea-renovation-base, bouyer-xenamd64
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +22 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 3 14:29:23 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.93.2.3: preferred, colored
Changes since revision 1.93.2.3: +44 -15 lines
sync with head.

Revision 1.110.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:01:49 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110: +37 -8 lines
Sync with head.

Revision 1.110.2.1: download - view: text, markup, annotated - select for diffs
Sun May 27 12:28:07 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +37 -8 lines
Sync with head.

Revision 1.110.10.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:27:25 2007 UTC (17 years, 6 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +37 -8 lines
Update to HEAD.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Thu May 17 14:51:28 2007 UTC (17 years, 6 months ago) by yamt
Branches: 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
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Thu May 17 13:41:01 2007 UTC (17 years, 6 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.106.2.3: preferred, colored; branchpoint 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106.2.3: +35 -6 lines
sync with head.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Fri May 11 02:30:00 2007 UTC (17 years, 7 months ago) by rumble
Branches: MAIN
CVS tags: yamt-idlelwp-base8
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +12 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu May 10 21:24:37 2007 UTC (17 years, 7 months ago) by rumble
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +16 -4 lines
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 - view: text, markup, annotated - select for diffs
Thu May 10 17:27:06 2007 UTC (17 years, 7 months ago) by rumble
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +11 -4 lines
Clean up extracting environment variables passed by the prom. No functional
change.

Revision 1.106.2.3: download - view: text, markup, annotated - select for diffs
Wed Apr 18 20:27:56 2007 UTC (17 years, 7 months ago) by ad
Branches: yamt-idlelwp
Diff to: previous 1.106.2.2: preferred, colored; branchpoint 1.106: preferred, colored
Changes since revision 1.106.2.2: +4 -4 lines
- Further adaptations to MIPS for the yamt-idlelwp branch.
- Make curlwp a register variable on MIPS.

Revision 1.106.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:50:13 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.106.2.1: preferred, colored; branchpoint 1.106: preferred, colored
Changes since revision 1.106.2.1: +9 -9 lines
Sync with HEAD.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Tue Mar 6 12:41:52 2007 UTC (17 years, 9 months ago) by tsutsui
Branches: MAIN
CVS tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -3 lines
Use (char *) to appease -Wpointer-arith.

Revision 1.109: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:00:40 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +8 -8 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.106.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:52:58 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +5 -5 lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.93.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:08:04 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.93.2.2: preferred, colored
Changes since revision 1.93.2.2: +5 -6 lines
sync with head.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Thu Feb 22 16:54:26 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +4 -4 lines
TRUE -> true, FALSE -> false

Revision 1.107: download - view: text, markup, annotated - select for diffs
Wed Feb 21 04:27:10 2007 UTC (17 years, 9 months ago) by rumble
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:11 2007 UTC (17 years, 10 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +2 -3 lines
Merge newlock2 to head.

Revision 1.97.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:49:37 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.97.2.2: preferred, colored; branchpoint 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.2.2: +2 -3 lines
Remove support for SA. Ok core@.

Revision 1.97.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:00:58 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.97.2.1: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.2.1: +98 -45 lines
Sync with head.

Revision 1.93.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:46:53 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.93.2.1: preferred, colored
Changes since revision 1.93.2.1: +99 -78 lines
sync with head.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Sat Dec 30 16:57:45 2006 UTC (17 years, 11 months ago) by rumble
Branches: MAIN
CVS tags: newlock2-nbase, newlock2-base
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +6 -6 lines
Fix typo in comment.

Revision 1.104: download - view: text, markup, annotated - select for diffs
Fri Dec 29 07:00:11 2006 UTC (17 years, 11 months ago) by rumble
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +2 -4 lines
Move the mips1_clock_intr handling into int.c where it belongs.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Fri Dec 29 05:26:30 2006 UTC (17 years, 11 months ago) by rumble
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +25 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 28 16:15:11 2006 UTC (17 years, 11 months ago) by rumble
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +4 -2 lines
Handle fpu interrupts (MIPS interrupt 0) on IP12.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Wed Dec 27 07:45:11 2006 UTC (17 years, 11 months ago) by rumble
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +15 -15 lines
Specify the member names of struct platform for clarity.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Fri Dec 22 01:33:57 2006 UTC (17 years, 11 months ago) by rumble
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +3 -3 lines
Guiness -> Guinness.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Thu Dec 21 15:55:24 2006 UTC (17 years, 11 months ago) by yamt
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +59 -29 lines
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 - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:30 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -32 lines
Sync with head.

Revision 1.98.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 9 11:30:25 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98: +59 -29 lines
implement splraiseipl/makeiplcookie for sgimips.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Sat Sep 16 08:50:27 2006 UTC (18 years, 2 months ago) by gdamore
Branches: 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
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -32 lines
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 - view: text, markup, annotated - select for diffs
Sat Sep 9 02:42:58 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +7 -12 lines
sync with head

Revision 1.95.8.2: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:31 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.95.8.1: preferred, colored; branchpoint 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95.8.1: +7 -9 lines
sync with head.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Fri Sep 1 05:43:23 2006 UTC (18 years, 3 months ago) by sekiya
Branches: MAIN
CVS tags: yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: newlock2
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +7 -9 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 21 14:55:31 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +3 -5 lines
sync with head.

Revision 1.95.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:48:21 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +2 -5 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.95.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:37:55 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +2 -5 lines
Sync with head.

Revision 1.95.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 02:33:44 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +2 -5 lines
sync with head - hopefully this will work

Revision 1.95.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 11 11:53:47 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -5 lines
sync with head

Revision 1.96: download - view: text, markup, annotated - select for diffs
Sun Apr 9 01:18:14 2006 UTC (18 years, 8 months ago) by tsutsui
Branches: 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
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -5 lines
Remove declarations for cpu_model[] since it's in <sys/systm.h>.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:18:58 2005 UTC (19 years ago) by christos
Branches: 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
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -2 lines
merge ktrace-lwp.

Revision 1.90.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 21 20:23:41 2005 UTC (19 years ago) by tron
Branches: 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
Diff to: previous 1.90.2.1: preferred, colored; branchpoint 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.2.1: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 21 20:03:27 2005 UTC (19 years ago) by tron
Branches: netbsd-3
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -4 lines
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 - view: text, markup, annotated - select for diffs
Thu Nov 10 13:58:37 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.54.2.7: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.2.7: +26 -28 lines
Sync with HEAD. Here we go again...

Revision 1.94: download - view: text, markup, annotated - select for diffs
Tue Oct 18 00:47:07 2005 UTC (19 years, 1 month ago) by sekiya
Branches: 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
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Jun 3 19:02:33 2005 UTC (19 years, 6 months ago) by martin
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +24 -27 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:21 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89: +3 -11 lines
sync with -current

Revision 1.92: download - view: text, markup, annotated - select for diffs
Mon Apr 25 15:02:07 2005 UTC (19 years, 7 months ago) by lukem
Branches: MAIN
CVS tags: kent-audio2-base
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 1 14:28:04 2005 UTC (19 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.54.2.6: preferred, colored
Changes since revision 1.54.2.6: +2 -4 lines
Sync with HEAD.

Revision 1.89.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 26 18:19:17 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.89.4.1: preferred, colored; branchpoint 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89.4.1: +2 -4 lines
sync with head.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Sat Mar 26 10:04:29 2005 UTC (19 years, 8 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-km-base4
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -4 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:13 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +4 -10 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.54.2.6: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:39:09 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.54.2.5: preferred, colored
Changes since revision 1.54.2.5: +4 -10 lines
Sync with HEAD.

Hi Perry!

Revision 1.90: download - view: text, markup, annotated - select for diffs
Tue Mar 1 04:25:00 2005 UTC (19 years, 9 months ago) by sekiya
Branches: MAIN
CVS tags: yamt-km-base3, netbsd-3-base, netbsd-3-0-RC1
Branch point for: netbsd-3
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +4 -10 lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 18 09:31:27 2004 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.54.2.4: preferred, colored
Changes since revision 1.54.2.4: +18 -28 lines
Sync with HEAD.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Fri Dec 17 22:59:49 2004 UTC (19 years, 11 months ago) by sekiya
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 13 08:30:58 2004 UTC (20 years ago) by sekiya
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +16 -26 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 19 15:56:42 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.54.2.3: preferred, colored
Changes since revision 1.54.2.3: +21 -7 lines
Sync with HEAD

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Oct 2 03:19:00 2004 UTC (20 years, 2 months ago) by sekiya
Branches: MAIN
CVS tags: kent-audio1-base, kent-audio1
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +18 -4 lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 1 07:16:57 2004 UTC (20 years, 2 months ago) by sekiya
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +5 -5 lines
s,#ifdef MIPS3,#if defined(MIPS3) || defined(MIPS64),g

Revision 1.54.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:21:24 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.54.2.2: preferred, colored
Changes since revision 1.54.2.2: +2 -2 lines
Fix the sync with head I botched.

Revision 1.54.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:39:54 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.54.2.1: preferred, colored
Changes since revision 1.54.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:40:08 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +232 -346 lines
Sync with HEAD

Revision 1.81.2.4: download - view: text, markup, annotated - select for diffs
Fri Jul 23 07:04:56 2004 UTC (20 years, 4 months ago) by tron
Branches: 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
Diff to: previous 1.81.2.3: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.2.3: +26 -14 lines
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 - view: text, markup, annotated - select for diffs
Fri Jul 23 07:04:26 2004 UTC (20 years, 4 months ago) by tron
Branches: netbsd-2-0
Diff to: previous 1.81.2.2: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.2: +23 -14 lines
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 - view: text, markup, annotated - select for diffs
Fri Jul 23 06:54:24 2004 UTC (20 years, 4 months ago) by tron
Branches: netbsd-2-0
Diff to: previous 1.81.2.1: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.1: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Apr 11 12:17:10 2004 UTC (20 years, 8 months ago) by pooka
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +26 -14 lines
KNF some and make printf output a bit nicer.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Apr 11 12:13:20 2004 UTC (20 years, 8 months ago) by pooka
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +23 -14 lines
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 - view: text, markup, annotated - select for diffs
Sun Apr 11 04:03:26 2004 UTC (20 years, 8 months ago) by jmc
Branches: netbsd-2-0
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +6 -7 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 9 16:41:23 2004 UTC (20 years, 8 months ago) by pooka
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +3 -3 lines
If argv[1] doesn't exist, don't try to use it.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Mon Apr 5 16:01:43 2004 UTC (20 years, 8 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +6 -7 lines
Tidy up total/avail memory message as well as other ports.
As per discussion on port-sgimips.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Thu Mar 25 15:06:37 2004 UTC (20 years, 8 months ago) by pooka
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +4 -2 lines
Sprinkle some #ifdef MIPS3 to be able to compile the port without
including MIPS3 code.

for upcoming IP12

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sat Mar 6 07:50:56 2004 UTC (20 years, 9 months ago) by sekiya
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +4 -4 lines
Print an informative message when unimpl_intr() is invoked, rather than panic().

Revision 1.79: download - view: text, markup, annotated - select for diffs
Mon Jan 19 03:26:14 2004 UTC (20 years, 10 months ago) by sekiya
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -3 lines
Completely remove IP2X and IP32, which renders opt_machtype.h obsolete.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Jan 19 00:19:36 2004 UTC (20 years, 10 months ago) by sekiya
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -15 lines
g/c obsolete function.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Mon Jan 19 00:12:31 2004 UTC (20 years, 10 months ago) by sekiya
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +5 -21 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 18 04:43:42 2004 UTC (20 years, 10 months ago) by sekiya
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -5 lines
Remove another #ifdef IP32

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun Jan 18 00:47:21 2004 UTC (20 years, 10 months ago) by sekiya
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +111 -189 lines
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 - view: text, markup, annotated - select for diffs
Tue Jan 13 12:57:24 2004 UTC (20 years, 11 months ago) by sekiya
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +8 -2 lines
Call sgimips_bus_dma_init() in mach_init to set up the proper MIPS1/MIPS3
bus_dma_sync() routine.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Jan 13 05:51:07 2004 UTC (20 years, 11 months ago) by sekiya
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +13 -2 lines
Add a call to ip1x_init().

Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Jan 12 12:32:00 2004 UTC (20 years, 11 months ago) by sekiya
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -2 lines
Wrap more mips3_ operations in MIPS3 defines.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sat Jan 3 10:28:18 2004 UTC (20 years, 11 months ago) by sekiya
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +15 -15 lines
Streamline bootinfo logic.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sat Jan 3 04:26:34 2004 UTC (20 years, 11 months ago) by lonewolf
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +31 -36 lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 2 00:41:23 2004 UTC (20 years, 11 months ago) by sekiya
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -3 lines
Add trailing newline.  Noticed by Steve Rumble.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Tue Dec 30 12:33:19 2003 UTC (20 years, 11 months ago) by pk
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -68 lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 29 06:26:41 2003 UTC (20 years, 11 months ago) by sekiya
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3 lines
Fix typo ("ARCBIOS_MEM_ExecptionBlock").  From Steve Rumble.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Dec 15 13:02:28 2003 UTC (21 years ago) by sekiya
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +4 -4 lines
Part two in the Great Renaming.  ip22.c becomes ip2x.c, and all generic ip2x
routines become ip2x_*.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Dec 15 12:48:37 2003 UTC (21 years ago) by sekiya
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +13 -9 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 14 06:11:35 2003 UTC (21 years ago) by sekiya
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +5 -2 lines
IP20 should handle the watchdog timer in the same manner as for IP22.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Dec 14 05:49:14 2003 UTC (21 years ago) by sekiya
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -9 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 14 05:33:22 2003 UTC (21 years ago) by sekiya
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +2 -6 lines
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 - view: text, markup, annotated - select for diffs
Wed Dec 10 00:00:51 2003 UTC (21 years ago) by lonewolf
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -7 lines
Remove the extra call to consinit().

Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Nov 17 10:07:58 2003 UTC (21 years ago) by keihan
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3 lines
www.netbsd.org -> www.NetBSD.org

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Oct 5 15:38:08 2003 UTC (21 years, 2 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +76 -45 lines
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 - view: text, markup, annotated - select for diffs
Sat Oct 4 09:19:23 2003 UTC (21 years, 2 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +21 -21 lines
TAB/space cleanup.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Sep 28 13:02:18 2003 UTC (21 years, 2 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -3 lines
Cast through (void *) to appease gcc3.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Sep 15 06:39:22 2003 UTC (21 years, 3 months ago) by simonb
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +17 -17 lines
Use common mips generic software interrupt routines.

Changes from Izumi Tsutsui, tested by Havard Eidnes.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Jul 15 03:35:55 2003 UTC (21 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +4 -1 lines
__KERNEL_RCSID()

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Apr 26 11:05:19 2003 UTC (21 years, 7 months ago) by ragge
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +8 -4 lines
Call ksyms_init() instead of ddb_init() in case of
	NKSYMS || defined(DDB) || defined(LKM)

Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Apr 2 04:27:19 2003 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3 lines
Use PAGE_SIZE rather than NBPG.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Mar 31 00:56:53 2003 UTC (21 years, 8 months ago) by rafal
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 19 22:36:00 2003 UTC (21 years, 10 months ago) by rafal
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +39 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 18 06:30:24 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +6 -5 lines
Merge the nathanw_sa branch.

Revision 1.30.2.14: download - view: text, markup, annotated - select for diffs
Wed Jan 15 18:22:30 2003 UTC (21 years, 10 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.30.2.13: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.13: +4 -10 lines
Sync with HEAD.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Jan 10 03:48:40 2003 UTC (21 years, 11 months ago) by rafal
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -7 lines
Get rid of some extraneous declarations/comments.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Jan 10 03:22:49 2003 UTC (21 years, 11 months ago) by rafal
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Tue Jan 7 21:14:36 2003 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.30.2.12: preferred, colored
Changes since revision 1.30.2.12: +99 -27 lines
Sync with HEAD.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Jan 6 06:25:32 2003 UTC (21 years, 11 months ago) by rafal
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -1 lines
There's no cache_r5k.h yet, so don't try to include it.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon Jan 6 05:56:00 2003 UTC (21 years, 11 months ago) by rafal
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +23 -19 lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 3 09:09:22 2003 UTC (21 years, 11 months ago) by rafal
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +70 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 3 06:26:06 2003 UTC (21 years, 11 months ago) by rafal
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +6 -7 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 29 19:35:37 2002 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.30.2.11: preferred, colored
Changes since revision 1.30.2.11: +33 -26 lines
Sync with HEAD.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Dec 23 21:04:23 2002 UTC (21 years, 11 months ago) by pooka
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +33 -26 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 11 22:03:57 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.10: preferred, colored
Changes since revision 1.30.2.10: +2 -2 lines
Catch up to -current

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Nov 9 19:20:18 2002 UTC (22 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2 lines
Fix signed/unsigned comparison warnings.

Revision 1.30.2.10: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:39:42 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.9: preferred, colored
Changes since revision 1.30.2.9: +2 -3 lines
Catch up to -current.

Revision 1.23.2.6: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:35:42 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.23.2.5: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.5: +2 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 27 15:36:41 2002 UTC (22 years, 2 months ago) by provos
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2 lines
remove trailing \n in panic().  approved perry.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Sep 25 22:21:19 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +1 -2 lines
Don't include <sys/map.h>.

Revision 1.23.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:39:45 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.23.2.4: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.4: +5 -29 lines
sync kqueue branch with HEAD

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 31 13:45:52 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +5 -29 lines
catch up with -current.

Revision 1.30.2.9: download - view: text, markup, annotated - select for diffs
Tue Aug 27 23:45:22 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.8: preferred, colored
Changes since revision 1.30.2.8: +3 -4 lines
Catch up to -current.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Aug 25 20:21:42 2002 UTC (22 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -4 lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 13 02:18:49 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.7: preferred, colored
Changes since revision 1.30.2.7: +3 -26 lines
Catch up to -current.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Aug 4 01:41:29 2002 UTC (22 years, 4 months ago) by gmcgarry
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -26 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 24 22:07:16 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.6: preferred, colored
Changes since revision 1.30.2.6: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 23 17:40:32 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.23.2.3: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.3: +24 -11 lines
catch up with -current on kqueue branch

Revision 1.30.2.6: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:40:51 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.5: preferred, colored
Changes since revision 1.30.2.5: +24 -11 lines
Catch up to -current.

Revision 1.30.2.5: download - view: text, markup, annotated - select for diffs
Wed May 29 21:31:56 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.4: preferred, colored
Changes since revision 1.30.2.4: +2 -1 lines
#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 - view: text, markup, annotated - select for diffs
Fri May 3 01:49:22 2002 UTC (22 years, 7 months ago) by rafal
Branches: 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
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -1 lines
Update copyright dates.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri May 3 01:13:55 2002 UTC (22 years, 7 months ago) by rafal
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +12 -9 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 29 02:06:14 2002 UTC (22 years, 7 months ago) by rafal
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +12 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 1 07:42:29 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.3: preferred, colored
Changes since revision 1.30.2.3: +66 -66 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 16 15:59:32 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.23.2.2: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.2: +66 -66 lines
Catch up with -current.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Mar 13 13:12:29 2002 UTC (22 years, 9 months ago) by simonb
Branches: MAIN
CVS tags: eeh-devprop-base, eeh-devprop
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +66 -66 lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 10 19:48:31 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.23.2.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.1: +182 -50 lines
Sync kqueue branch with -current.

Revision 1.30.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:27:32 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.2: preferred, colored
Changes since revision 1.30.2.2: +146 -52 lines
Catch up to -current.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Nov 22 02:06:32 2001 UTC (23 years ago) by soren
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +22 -6 lines
Respect OSLoadPartition even if it doesn't come before SystemPartition in argv.
Add a few comments about the above.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Nov 21 23:27:20 2001 UTC (23 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +121 -43 lines
- 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 - view: text, markup, annotated - select for diffs
Mon Nov 19 17:29:53 2001 UTC (23 years ago) by soren
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +8 -8 lines
Also check SystemPartition when finding boot device. Especially
when netbooting, it is practical to load the kernel directly.

Revision 1.30.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 18 01:28:32 2001 UTC (23 years ago) by wdk
Branches: nathanw_sa
Diff to: previous 1.30.2.1: preferred, colored
Changes since revision 1.30.2.1: +814 -0 lines
Seperate proc0 and lwp0 references for SA support

Revision 1.30.2.1
Wed Nov 14 22:47:16 2001 UTC (23 years, 1 month ago) by wdk
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.30: +0 -814 lines
file machdep.c was added on branch nathanw_sa on 2001-11-18 01:28:32 +0000

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Nov 14 22:47:16 2001 UTC (23 years, 1 month ago) by mhitch
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +9 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 12 21:17:30 2001 UTC (23 years, 1 month ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +4 -4 lines
Sync the thorpej-mips-cache branch with -current.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Nov 11 17:21:41 2001 UTC (23 years, 1 month ago) by rafal
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Thu Oct 18 02:36:33 2001 UTC (23 years, 1 month ago) by mhitch
Branches: MAIN
Branch point for: thorpej-mips-cache
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +21 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Oct 1 12:41:50 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +18 -8 lines
Catch up with -current.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Sep 24 03:56:03 2001 UTC (23 years, 2 months ago) by mhitch
Branches: MAIN
CVS tags: thorpej-devvp-base3, thorpej-devvp-base2
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
Run vfs_shutdown() if NOSYNC is *not* set, rather than set.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Sep 22 16:26:34 2001 UTC (23 years, 2 months ago) by rafal
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 18 05:19:29 2001 UTC (23 years, 2 months ago) by rafal
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +16 -4 lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 13 01:14:31 2001 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
Update the kqueue branch to HEAD.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Sep 10 21:19:34 2001 UTC (23 years, 3 months ago) by chris
Branches: MAIN
CVS tags: pre-chs-ubcperf, post-chs-ubcperf
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 9 02:00:19 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-devvp-base
Branch point for: thorpej-devvp, kqueue
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +35 -9 lines
Count and display the number of CPUs present on the system.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Jul 9 00:30:35 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -2 lines
Fill in cpu_model[]

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Jul 8 23:59:32 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +6 -9 lines
- 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 - view: text, markup, annotated - select for diffs
Sun Jul 8 21:04:52 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
bcopy -> memcpy, bzero -> memset

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Jul 8 20:30:13 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +33 -24 lines
Use sys/dev/arcbios.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Jul 7 23:13:26 2001 UTC (23 years, 5 months ago) by wdk
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +19 -2 lines
- Finish off KGDB kernel debugger support for sgimips

Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:33:52 2001 UTC (23 years, 5 months ago) by nathanw
Diff to: previous 1.9.2.1: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.1: +244 -96 lines
Catch up to -current.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Jun 13 12:34:24 2001 UTC (23 years, 6 months ago) by rafal
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +39 -1 lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 2 18:09:20 2001 UTC (23 years, 6 months ago) by chs
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -4 lines
replace vm_map{,_entry}_t with struct vm_map{,_entry} *.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri May 11 04:53:25 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +193 -89 lines
Adjustments for dynamic system configuration.  From Rafal K. Boni.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Apr 24 15:41:41 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_beforemerge
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +7 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 24 04:31:09 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 23 23:50:24 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 23 09:42:01 2001 UTC (23 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.6.2.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.2.6: +3 -3 lines
Sync with HEAD.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Apr 22 18:21:51 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 9 01:54:44 2001 UTC (23 years, 8 months ago) by nathanw
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Catch up with -current.

Revision 1.6.2.6: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:31:26 2001 UTC (23 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.6.2.5: preferred, colored
Changes since revision 1.6.2.5: +2 -2 lines
Sync with HEAD.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Mar 15 06:10:48 2001 UTC (23 years, 9 months ago) by chs
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Feb 11 19:12:10 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.6.2.4: preferred, colored
Changes since revision 1.6.2.4: +1 -6 lines
Sync with HEAD.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Jan 22 13:57:01 2001 UTC (23 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -6 lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 18 09:22:59 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.6.2.3: preferred, colored
Changes since revision 1.6.2.3: +2 -2 lines
Sync with head (for UBC+NFS fixes, mostly).

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jan 15 20:19:57 2001 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
Make softclock a generic soft interrupt of the API is available,
adding the requisite void * argument to softclock().

Revision 1.6.2.3: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:30:25 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.6.2.2: preferred, colored
Changes since revision 1.6.2.2: +5 -5 lines
Sync with HEAD.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Nov 27 05:57:27 2000 UTC (24 years ago) by soren
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -5 lines
Consistently use pmap_steal_memory() to allocate USPACE.

Revision 1.6.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:23:48 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.6.2.1: preferred, colored
Changes since revision 1.6.2.1: +583 -0 lines
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 (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
FILE REMOVED
Changes since revision 1.6: +0 -583 lines
file machdep.c was added on branch thorpej_scsipi on 2000-11-20 20:23:48 +0000

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Oct 5 02:36:46 2000 UTC (24 years, 2 months ago) by cgd
Branches: MAIN
Branch point for: thorpej_scsipi
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4 lines
clean up and consistency for CP0 Count, Compare, Wired, and Config
access function names and prototypes.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Sep 13 15:00:22 2000 UTC (24 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Jul 19 00:25:27 2000 UTC (24 years, 4 months ago) by jeffs
Branches: 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
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +1 -3 lines
Pull up cpu_intr() prototype + platform dependent machdeps.
(approved by thorepj).

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Jul 14 18:35:41 2000 UTC (24 years, 5 months ago) by jeffs
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -3 lines
Use cpu_intr() definition from mips/cpu.h instead of local one.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Jun 29 07:44:11 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -3 lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:20:56 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 22 17:03:43 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.1: +587 -0 lines
Sync w/ netbsd-1-5-base.

Revision 1.1.4.1
Wed Jun 14 16:02:47 2000 UTC (24 years, 6 months ago) by minoura
Branches: minoura-xpg4dl
FILE REMOVED
Changes since revision 1.1: +0 -587 lines
file machdep.c was added on branch minoura-xpg4dl on 2000-06-22 17:03:43 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jun 14 16:02:47 2000 UTC (24 years, 6 months ago) by soren
Branches: MAIN
CVS tags: netbsd-1-5-base
Branch point for: netbsd-1-5, minoura-xpg4dl
Initial commit. Needs work.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>