The NetBSD Project

CVS log for src/sys/arch/hp300/hp300/locore.s

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.173.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 27 19:27:27 2024 UTC (5 months, 1 week ago) by martin
Branches: netbsd-10
Diff to: previous 1.173: preferred, colored; next MAIN 1.174: preferred, colored
Changes since revision 1.173: +1 -4 lines
Pull up following revision(s) (requested by rin in ticket #724
to fix build fallout on the branch):

	sys/arch/m68k/m68k/compat_16_sigreturn14.s: revision 1.6
	sys/arch/mvme68k/mvme68k/locore.s: revision 1.129
	sys/arch/news68k/news68k/locore.s: revision 1.84
	sys/arch/hp300/hp300/locore.s: revision 1.183
	sys/arch/m68k/m68k/compat_13_sigreturn13.s: revision 1.8
	sys/arch/m68k/m68k/sigreturn.s: file removal
	sys/arch/m68k/include/pte_motorola.h: revision 1.10
	sys/arch/atari/atari/locore.s: revision 1.125
	sys/arch/amiga/amiga/locore.s: revision 1.169
	sys/arch/sun2/sun2/locore.s: revision 1.37
	sys/arch/next68k/next68k/locore.s: revision 1.84
	sys/arch/x68k/x68k/locore.s: revision 1.130
	sys/arch/sun3/sun3x/locore.s: revision 1.77
	sys/arch/cesfic/cesfic/locore.s: revision 1.45
	sys/arch/m68k/conf/files.m68k: revision 1.53
	sys/arch/sun3/sun3/locore.s: revision 1.109
	sys/arch/luna68k/luna68k/locore.s: revision 1.81
	sys/arch/mac68k/mac68k/locore.s: revision 1.182

Define PTE used in the pmap module int terms of the bit definitions
in mmu_{51,40}.h.

Make compat_13_sigreturn13.s and compat_16_sigreturn14.s build as their
own stand-alone files and G/C the now-empty sigreturn.s.

Revision 1.186: download - view: text, markup, annotated - select for diffs
Sun Feb 4 18:52:35 2024 UTC (10 months ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +2 -2 lines
fix tripple/quadruple "r" letter typos in comments and log messages.

Revision 1.185: download - view: text, markup, annotated - select for diffs
Fri Jan 19 18:18:53 2024 UTC (10 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +3 -3 lines
Consistently use "intr_depth" as the name of the interrupt depth counter
on m68k platforms.

Revision 1.184: download - view: text, markup, annotated - select for diffs
Wed Jan 17 12:33:49 2024 UTC (10 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +1 -9 lines
Make sigcode.s and sunos_sigcode.s build as their own stand-alone files.

Revision 1.183: download - view: text, markup, annotated - select for diffs
Wed Jan 17 12:19:06 2024 UTC (10 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +1 -4 lines
Make compat_13_sigreturn13.s and compat_16_sigreturn14.s build as their
own stand-alone files and G/C the now-empty sigreturn.s.

Revision 1.182: download - view: text, markup, annotated - select for diffs
Tue Jan 16 15:38:57 2024 UTC (10 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +1 -6 lines
Build m68k/support.s on its own; don't include it from locore.s

Revision 1.181: download - view: text, markup, annotated - select for diffs
Tue Jan 16 03:44:44 2024 UTC (10 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +7 -26 lines
Switch hp300 over to the common interrupt dispatch code.

XXX There are still some things to fix up here, but it's no worse
than it was before (the problems date back to when we flattened
the device interrupt levels into IPL_VM).

Revision 1.180: download - view: text, markup, annotated - select for diffs
Sat Jan 13 19:20:26 2024 UTC (10 months, 3 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +3 -41 lines
Switch hp300 over to the common m68k vector table.

Revision 1.179: download - view: text, markup, annotated - select for diffs
Tue Jan 9 07:28:25 2024 UTC (10 months, 3 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +2 -4 lines
Statically-initialize the '851 / '030 protorp with MMU51_SRP_BITS.  In
pmap_init(), re-initialize protorp with MMU51_CRP_BITS.  Remove the now-
redundant code that does this in each of the m68k platforms.

Revision 1.178: download - view: text, markup, annotated - select for diffs
Tue Jan 9 04:16:24 2024 UTC (10 months, 3 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +1 -46 lines
Remove duplicated / slightly-tweaked loadustp() (load user segment table)
routines from all of the m68k ports using the shared pmap.  Instead, in
pmap_init(), set up a function pointer to the appropriate mmu_load_urp*()
function in mmu_subr.s.

Revision 1.177: download - view: text, markup, annotated - select for diffs
Wed Dec 27 03:03:41 2023 UTC (11 months, 1 week ago) by thorpej
Branches: MAIN
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +5 -13 lines
Stop using magic numbers for the MMU root pointer attributes and the
Translation Control register, and also get rid of "#if PGSHIFT == ..."
where those magic numbers are used.

Instead, define new macros: MMU51_SRP_BITS, MMU51_CRP_BITS, MMU51_TCR_BITS,
and MMU40_TCR_BITS, in terms of the definitions in mmu_{40,51}.h.  These
automagically adapt to 8K and 4K pages based on the machine-specific value
of PGSHIFT.

Revision 1.176: download - view: text, markup, annotated - select for diffs
Tue Dec 26 02:38:27 2023 UTC (11 months, 1 week ago) by thorpej
Branches: MAIN
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +1 -17 lines
G/C unused ploadw().

Revision 1.175: download - view: text, markup, annotated - select for diffs
Mon Dec 25 21:32:57 2023 UTC (11 months, 1 week ago) by thorpej
Branches: MAIN
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +5 -4 lines
loadustp(): Optimize for the overwhelmingly common case of "not the HP MMU".
Rather than converting the level 1 table address to a page number before
calling loadustp() only to have loadustp() convert it back to an address
for the '851, '030, '040, and '060, instead pass the address and convert
to a page number only in the case of the HP MMU.

This is a wash on HP MMU machines (9000/320 and 9000/350), and saves at
least 4 instructions (2x moveq + 2x lsXl) on every context switch on
everything else.

Revision 1.174: download - view: text, markup, annotated - select for diffs
Sat Oct 14 15:31:36 2023 UTC (13 months, 3 weeks ago) by tsutsui
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +1 -16 lines
Remove ancient and obsolete #if blocks.

Revision 1.173: download - view: text, markup, annotated - select for diffs
Mon May 30 09:56:03 2022 UTC (2 years, 6 months ago) by andvar
Branches: MAIN
CVS tags: 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.172: preferred, colored
Changes since revision 1.172: +2 -2 lines
s/identifing/identifying/ and s/multipler/multiplier/ in comments.

Revision 1.171.20.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:16 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.171: preferred, colored; next MAIN 1.172: preferred, colored
Changes since revision 1.171: +1 -5 lines
Sync with HEAD

Revision 1.171.18.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:01:37 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.171: preferred, colored; next MAIN 1.172: preferred, colored
Changes since revision 1.171: +1 -5 lines
Sync with HEAD, resolve a few conflicts

Revision 1.172: download - view: text, markup, annotated - select for diffs
Wed Dec 19 13:57:47 2018 UTC (5 years, 11 months ago) by maxv
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, 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, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, 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.171: preferred, colored
Changes since revision 1.171: +1 -5 lines
Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.

Revision 1.165.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:13 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.165.6.1: preferred, colored; branchpoint 1.165: preferred, colored; next MAIN 1.166: preferred, colored
Changes since revision 1.165.6.1: +7 -0 lines
update from HEAD

Revision 1.170.4.1: download - view: text, markup, annotated - select for diffs
Fri Aug 29 11:42:15 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Diff to: previous 1.170: preferred, colored; next MAIN 1.171: preferred, colored
Changes since revision 1.170: +8 -1 lines
Pull up following revision(s) (requested by tsutsui in ticket #62):
	sys/arch/hp300/conf/files.hp300: revision 1.89
	share/man/man4/arcofi.4: revision 1.1
	share/man/man4/arcofi.4: revision 1.2
	share/man/man4/Makefile: revision 1.617
	sys/arch/hp300/hp300/intr.c: revision 1.41
	sys/conf/files: revision 1.1100
	sys/arch/hp300/hp300/locore.s: revision 1.171
	distrib/sets/lists/man/mi: revision 1.1486
	sys/dev/ic/arcofivar.h: revision 1.1
	sys/arch/hp300/conf/majors.hp300: revision 1.26
	sys/arch/hp300/dev/arcofi_dio.c: revision 1.1
	sys/arch/hp300/conf/GENERIC: revision 1.188
	sys/dev/ic/arcofi.c: revision 1.1
Add new arcofi(4) audio driver for NetBSD/hp300, ported from OpenBSD.
The arcofi(4) is a driver for the HP "Audio1" device
(Siemens PSB 2160 "ARCOFI" phone quality audio chip)
found on the HP9000/425e and HP9000/{705,710,745,747} models
(but only hp300 attachment is ported for now).
The chip supports 8-bit mono 8kHz U-law, A-law and
16-bit mono slinear_be formats.
The old HP9000/425e playing tunes with this new arcofi(4) audio driver
was also demonstrated at Open Source Conference 2014 Shimane.
Add a man page for arcofi(4) driver.  From OpenBSD.
Fix date.

Revision 1.171: download - view: text, markup, annotated - select for diffs
Sun Aug 24 08:17:44 2014 UTC (10 years, 3 months ago) by tsutsui
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, 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, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +8 -1 lines
Add new arcofi(4) audio driver for NetBSD/hp300, ported from OpenBSD.

The arcofi(4) is a driver for the HP "Audio1" device
(Siemens PSB 2160 "ARCOFI" phone quality audio chip)
found on the HP9000/425e and HP9000/{705,710,745,747} models
(but only hp300 attachment is ported for now).
The chip supports 8-bit mono 8kHz U-law, A-law and
16-bit mono slinear_be formats.

The old HP9000/425e playing tunes with this new arcofi(4) audio driver
was also demonstrated at Open Source Conference 2014 Shimane.

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

Revision 1.159.4.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:46 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.159.4.2: preferred, colored; branchpoint 1.159: preferred, colored; next MAIN 1.160: preferred, colored
Changes since revision 1.159.4.2: +8 -196 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.165.10.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:08 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.165.10.1: preferred, colored; branchpoint 1.165: preferred, colored; next MAIN 1.166: preferred, colored
Changes since revision 1.165.10.1: +6 -196 lines
sync with head

Revision 1.170: download - view: text, markup, annotated - select for diffs
Sat Mar 15 09:26:36 2014 UTC (10 years, 8 months ago) by tsutsui
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, riastradh-drm2-base3, netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +5 -187 lines
Use common m68k/busaddrerr.s for bus error and address error handlers.

No binary changes on GENERIC.

Revision 1.169: download - view: text, markup, annotated - select for diffs
Sun Mar 9 16:28:43 2014 UTC (10 years, 8 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +1 -2 lines
Remove an instruction for nonexistent 060 branch prediction error accounting.

It's amiga and atari specific and copied from amiga/locore.s
to mac68k/locore.s in rev 1.80, then pasted into other ports.
Note this is harmless because all these ports don't have 68060 variants
(i.e. it's inside #if defined(M68060) block) and mvme68k (which has 68060)
has removed it since the initial import.

Revision 1.168: download - view: text, markup, annotated - select for diffs
Sun Mar 9 16:18:00 2014 UTC (10 years, 8 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +1 -8 lines
Remove unused m68k_fault_addr, which is required only on mac68k for SBC.

It looks hp300 one was copied from mac68k in rev 1.75
and then it was pasted to other ports again and again.

Revision 1.167: download - view: text, markup, annotated - select for diffs
Fri Jan 31 18:49:35 2014 UTC (10 years, 10 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +2 -2 lines
defined(LKM) -> defined(MODULAR)

Revision 1.165.10.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:16 2013 UTC (11 years, 3 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +3 -1 lines
sync with head

Revision 1.166: download - view: text, markup, annotated - select for diffs
Fri Aug 16 13:39:47 2013 UTC (11 years, 3 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +3 -1 lines
Make FPU_EMULATE work on NetBSD/hp300.  Commented out by default in GENERIC.

Tested on HP9000/362 without optional MC68882 FPU in its socket.

Revision 1.159.4.2: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:20 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.159.4.1: preferred, colored; branchpoint 1.159: preferred, colored
Changes since revision 1.159.4.1: +2 -32 lines
sync with head

Revision 1.164.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:32:04 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.164: preferred, colored; next MAIN 1.165: preferred, colored
Changes since revision 1.164: +1 -24 lines
merge to -current.

Revision 1.165: download - view: text, markup, annotated - select for diffs
Thu Dec 22 15:33:29 2011 UTC (12 years, 11 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-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, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +1 -24 lines
Merge m68881_save() and m68881_restore() (using most common mvme68k ones).
All functions are checked by my eyes, and all GENERIC kernels compile.

Revision 1.164: download - view: text, markup, annotated - select for diffs
Sat Nov 26 14:05:52 2011 UTC (13 years ago) by tsutsui
Branches: MAIN
CVS tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +2 -1 lines
Make sure to call pflusha before (not after) enabling MMU on
68030/68851 initialization paths.

Pointed out by isaki@ per observation of ATC status on XM6i emulator.
Tested on TT030, HP362, NWS-1750, and X68030 by me.

XXX: probably we can remove existing pflusha or TBIA calls after MMU turned
XXX: on (and before enabling cache) but I leave them as is for now to avoid
XXX: unexcpected side effects.

Revision 1.163: download - view: text, markup, annotated - select for diffs
Tue Nov 15 10:57:02 2011 UTC (13 years ago) by tsutsui
Branches: MAIN
CVS tags: jmcneill-audiomp3-base, jmcneill-audiomp3
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +1 -9 lines
Move spread getsfc() and getdfc() functions into common m68k/support.s.

Note:
- ENTRY_NOPROFILE() is okay since they are used only for debug printf
- they are declared to return int so no need to put a return value into %a0

Revision 1.159.4.1: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:31:40 2011 UTC (13 years ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +10 -14 lines
sync with head

Revision 1.162: download - view: text, markup, annotated - select for diffs
Sat Nov 5 15:21:43 2011 UTC (13 years, 1 month ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +2 -2 lines
bgt -> jgt for a short jump.

Revision 1.161: download - view: text, markup, annotated - select for diffs
Fri Nov 4 17:53:51 2011 UTC (13 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +9 -9 lines
Fix indent and some comments.

Revision 1.160: download - view: text, markup, annotated - select for diffs
Thu Nov 3 15:13:02 2011 UTC (13 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +1 -5 lines
unifdef __ELF__

Revision 1.158.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:05:37 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.158: preferred, colored; next MAIN 1.159: preferred, colored
Changes since revision 1.158: +5 -5 lines
Sync with HEAD.

Revision 1.153.2.3: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:02 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.153.2.2: preferred, colored; branchpoint 1.153: preferred, colored; next MAIN 1.154: preferred, colored
Changes since revision 1.153.2.2: +4 -4 lines
sync with head

Revision 1.159: download - view: text, markup, annotated - select for diffs
Sun Mar 6 14:51:21 2011 UTC (13 years, 9 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +5 -5 lines
Remove trailing spaces.

Revision 1.153.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:50:23 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.153.2.1: preferred, colored; branchpoint 1.153: preferred, colored
Changes since revision 1.153.2.1: +29 -24 lines
sync with head

Revision 1.158: download - view: text, markup, annotated - select for diffs
Thu Jan 6 13:03:47 2011 UTC (13 years, 11 months ago) by tsutsui
Branches: MAIN
CVS tags: uebayasi-xip-base7, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +7 -4 lines
Move bootinfo address initialization to locore.s and machdep.c
to reduce MD quirks in pmap_bootstrap.c.
Also print bootinfo_pa in consinit() so that we can see
at least MMU is properly enabled after boot.

Tested on HP382.

Revision 1.157: download - view: text, markup, annotated - select for diffs
Mon Dec 27 15:39:07 2010 UTC (13 years, 11 months ago) by tsutsui
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +2 -2 lines
Fix typo (and pasted lines). From OpenBSD.

Revision 1.156: download - view: text, markup, annotated - select for diffs
Mon Dec 27 15:23:36 2010 UTC (13 years, 11 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +12 -6 lines
With a quick test, HP9000/362 doesn't seem to have frodo utility chip,
so probe code to identify HP362 taken from OpenBSD has never worked.

Identify HP362 by probing device IDs of the on-board framebuffer instead.

---

>> NetBSD/hp300 Primary Boot, Revision 1.16 (from NetBSD 5.99.41)
>> HP 9000/362 SPU
>> Enter "reset" to reset system.
Boot: [[[sd0a:]netbsd][-a][-c][-d][-s][-v][-q]] :-
2836828+148212 [343504+216292]=0x361b24
Start @ 0xff003400 [1=0xff2dac50-0x361b24]...
Entry point: 0xff003400
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.99.41 (GENERIC) #135: Mon Dec 27 23:30:21 JST 2010
        tsutsui@mirage:/usr/src/sys/arch/hp300/compile/GENERIC
HP 9000/362 (25MHz MC68030 CPU+MMU, 25MHz MC68882 FPU)
total memory = 16372 KB
avail memory = 11480 KB
 :

Revision 1.155: download - view: text, markup, annotated - select for diffs
Mon Dec 20 00:25:33 2010 UTC (13 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +11 -15 lines
Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits.  Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.

Revision 1.152.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:44:22 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.152.2.1: preferred, colored; branchpoint 1.152: preferred, colored; next MAIN 1.153: preferred, colored
Changes since revision 1.152.2.1: +1 -0 lines
Sync with HEAD.

Revision 1.143.10.3: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:52:01 2010 UTC (14 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.143.10.2: preferred, colored; branchpoint 1.143: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143.10.2: +2 -1 lines
sync with head.

Revision 1.153.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:17 2010 UTC (14 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +2 -1 lines
sync with head

Revision 1.154: download - view: text, markup, annotated - select for diffs
Sun Jun 6 04:50:06 2010 UTC (14 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +2 -1 lines
fix PR 6724 - convert m68k options to defflag's.  this means that
M680[12346] are now available from opt_m68k_arch.h.  FPSP meantioned
in the PR has already been fixed, and i could not find any more.

i built these kernels to ensure i did not break their builds:

amiga: GENERIC DRACO
atari: HADES FALCON MILAN-PCIIDE
mac68k: GENERIC
sun2: GENERIC
sun3: GENERIC GENERIC3X
cesfic: attempted GENERIC, does not build due to lack of machine/bus.h
hp300: GENERIC
luna68k: GENERIC
mvme68k: GENERIC
news68k: GENERIC
next68k: GENERIC
x68k: GENERIC

Revision 1.152.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:22 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +2 -2 lines
Sync with HEAD.

Revision 1.143.10.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:22 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.143.10.1: preferred, colored; branchpoint 1.143: preferred, colored
Changes since revision 1.143.10.1: +19 -19 lines
sync with head

Revision 1.153: download - view: text, markup, annotated - select for diffs
Thu Feb 25 07:17:49 2010 UTC (14 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +2 -2 lines
s/cpu_fork/cpu_lwp_fork/ in comment.

Revision 1.152: download - view: text, markup, annotated - select for diffs
Sun Dec 13 12:21:26 2009 UTC (14 years, 11 months ago) by tsutsui
Branches: MAIN
CVS tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +3 -3 lines
Replace a couple of magic numbers with proper macro.

Revision 1.151: download - view: text, markup, annotated - select for diffs
Sun Dec 13 11:24:02 2009 UTC (14 years, 11 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +3 -4 lines
Now we have Sysseg_pa value so no need to calculate it from KVA Sysseg.
Tested on hp300.

XXX: mac68k seems to have a different VA vs PA mechanism so I leave it for now.

Revision 1.150: download - view: text, markup, annotated - select for diffs
Sat Dec 12 16:37:22 2009 UTC (14 years, 11 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +9 -1 lines
Allow NetBSD/hp300 kernel work with PGSHIFT==13, i.e. 8KB/page.
Tested on HP9000/382 with 68040.

XXX: 8KB/page won't work on HP MMU machines (i.e. HP320 and HP350).

Revision 1.149: download - view: text, markup, annotated - select for diffs
Fri Dec 11 18:28:35 2009 UTC (14 years, 11 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +2 -4 lines
Move uvm_setpagesize() calls from locore.s to pmap_bootstrap_finalize().
Also explicitly set uvmexp.pagesize to prepare 8KB/page settings.

XXX: There is #ifdef !defined(amiga) && !defined(atari) workaround
XXX: because they have different pmap initialization functions.

Revision 1.148: download - view: text, markup, annotated - select for diffs
Wed Dec 2 15:51:12 2009 UTC (15 years ago) by tsutsui
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +6 -7 lines
Use common pmap_bootstrap_finalize() to initialize lwp0 uarea etc.
Tested on HP9000/382.

Revision 1.147: download - view: text, markup, annotated - select for diffs
Thu Nov 26 00:19:17 2009 UTC (15 years ago) by matt
Branches: MAIN
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +5 -9 lines
Kill proc0paddr.  Use lwp0.l_addr instead.

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

Revision 1.143.18.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:16:10 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.143: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143: +20 -73 lines
Sync with HEAD.

Revision 1.143.6.1: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:01 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.143: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143: +20 -73 lines
Sync with HEAD.

Revision 1.146: download - view: text, markup, annotated - select for diffs
Sun Jan 11 06:02:18 2009 UTC (15 years, 10 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +2 -2 lines
Fix inverted logic on FPU type check in fpfault().  From OpenBSD.

Revision 1.143.20.2: download - view: text, markup, annotated - select for diffs
Sat Dec 27 04:00:19 2008 UTC (15 years, 11 months ago) by snj
Branches: netbsd-5
CVS tags: 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, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Diff to: previous 1.143.20.1: preferred, colored; branchpoint 1.143: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143.20.1: +15 -70 lines
Pull up following revision(s) (requested by tsutsui in ticket #207):
	sys/arch/hp300/include/intr.h: revision 1.32
	sys/arch/hp300/hp300/locore.s: revision 1.145
	sys/arch/hp300/hp300/intr.c: revision 1.39
Remove obsolete code for old software interrupt emulation.
The MI softint(9) handles it in the kernel threads nowadays.
Note "Emulation of VAX REI instruction" is still there to handle ASTs.

Revision 1.143.20.1: download - view: text, markup, annotated - select for diffs
Sat Dec 27 03:57:43 2008 UTC (15 years, 11 months ago) by snj
Branches: netbsd-5
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +5 -3 lines
Pull up following revision(s) (requested by tsutsui in ticket #207):
	sys/arch/hp300/hp300/locore.s: revision 1.144
	sys/arch/hp300/hp300/intr.c: revision 1.38
Account idepth in locore.s.

Revision 1.145: download - view: text, markup, annotated - select for diffs
Sun Dec 21 17:42:05 2008 UTC (15 years, 11 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +15 -70 lines
Remove obsolete code for old software interrupt emulation.
The MI softint(9) handles it in the kernel threads nowadays.

Note "Emulation of VAX REI instruction" is still there to handle ASTs.

Revision 1.144: download - view: text, markup, annotated - select for diffs
Sun Dec 21 15:52:16 2008 UTC (15 years, 11 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +5 -3 lines
Account idepth in locore.s.

Revision 1.140.10.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:02 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.140.10.2: preferred, colored; branchpoint 1.140: preferred, colored; next MAIN 1.141: preferred, colored
Changes since revision 1.140.10.2: +3 -1 lines
sync with HEAD

Revision 1.141.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:32 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.141: preferred, colored; next MAIN 1.142: preferred, colored
Changes since revision 1.141: +3 -3 lines
Sync with HEAD.

Revision 1.135.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:21:52 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.135.2.3: preferred, colored; branchpoint 1.135: preferred, colored; next MAIN 1.136: preferred, colored
Changes since revision 1.135.2.3: +3 -1 lines
sync with head.

Revision 1.143: download - view: text, markup, annotated - select for diffs
Mon Jan 28 16:21:19 2008 UTC (16 years, 10 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, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-net80211-sync-base, nick-net80211-sync, netbsd-5-base, mjf-devfs-base, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap, netbsd-5, mjf-devfs2
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +3 -1 lines
- account idepth in a clock interrupt handler too
- use idepth for CLKF_INTR()

Revision 1.135.2.3: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:36:29 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.135.2.2: preferred, colored; branchpoint 1.135: preferred, colored
Changes since revision 1.135.2.2: +1 -3 lines
sync with head

Revision 1.140.10.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:46:05 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.140.10.1: preferred, colored; branchpoint 1.140: preferred, colored
Changes since revision 1.140.10.1: +1 -3 lines
sync with HEAD

Revision 1.141.8.1: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:09:46 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.141: preferred, colored; next MAIN 1.142: preferred, colored
Changes since revision 1.141: +1 -3 lines
Sync with HEAD

Revision 1.142: download - view: text, markup, annotated - select for diffs
Mon Jan 7 16:55:15 2008 UTC (16 years, 11 months ago) by joerg
Branches: MAIN
CVS tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +1 -3 lines
Garbage collect !__HAVE_TIMECOUNTER code.

Revision 1.140.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:16:40 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +1 -1 lines
sync with HEAD

Revision 1.141: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:54:24 2007 UTC (17 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs, bouyer-xeni386
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +1 -1 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.135.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:25:20 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.135.2.1: preferred, colored; branchpoint 1.135: preferred, colored
Changes since revision 1.135.2.1: +7 -12 lines
sync with head.

Revision 1.138.20.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 07:03:28 2007 UTC (17 years, 3 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138: +5 -3 lines
Sync w/ NetBSD-4-RC_1

Revision 1.138.10.2: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:15:56 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.138.10.1: preferred, colored; branchpoint 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138.10.1: +5 -3 lines
Sync with head.

Revision 1.138.12.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 19:59:15 2007 UTC (17 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138: +7 -12 lines
Sync with head.

Revision 1.138.18.2: download - view: text, markup, annotated - select for diffs
Tue Jun 26 18:12:25 2007 UTC (17 years, 5 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.138.18.1: preferred, colored; branchpoint 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138.18.1: +5 -3 lines
Sync with HEAD.

Revision 1.138.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 18 09:31:10 2007 UTC (17 years, 5 months ago) by liamjfoy
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138: +5 -3 lines
Pull up following revision(s) (requested by mhitch in ticket #728):
	sys/arch/mvme68k/mvme68k/locore.s: revision 1.98
	sys/arch/mac68k/mac68k/trap.c: revision 1.128
	sys/arch/next68k/next68k/locore.s: revision 1.48
	sys/arch/mac68k/mac68k/locore.s: revision 1.152
	sys/arch/sun3/sun3/locore.s: revision 1.88
	sys/arch/sun2/sun2/locore.s: revision 1.19
	sys/arch/sun2/sun2/trap.c: revision 1.32
	sys/arch/m68k/m68k/db_trace.c: revision 1.51
	sys/arch/mvme68k/mvme68k/trap.c: revision 1.90
	sys/arch/news68k/news68k/trap.c: revision 1.53
	sys/arch/luna68k/luna68k/locore.s: revision 1.27
	sys/arch/atari/atari/locore.s: revision 1.99
	sys/arch/sun3/sun3/trap.c: revision 1.130
	sys/arch/x68k/x68k/trap.c: revision 1.89
	sys/arch/next68k/next68k/trap.c: revision 1.67
	sys/arch/x68k/x68k/locore.s: revision 1.79
	sys/arch/news68k/news68k/locore.s: revision 1.43
	sys/arch/luna68k/luna68k/trap.c: revision 1.46
	sys/arch/hp300/hp300/locore.s: revision 1.140
	sys/arch/cesfic/cesfic/locore.s: revision 1.15
	sys/arch/cesfic/cesfic/trap.c: revision 1.35
	sys/arch/m68k/m68k/trap_subr.s: revision 1.12
	sys/arch/amiga/amiga/locore.s: revision 1.143
Pass a frame pointer to trap() rather than the 'entire frame' trick.  Gcc4
was optimizing away modifications to the frame contents (it's not nice to
trick gcc).  Pass the pointer as the first argument to reduce the number
of places that would be changed otherwise.  Fixes the getcwd regression
test on most m68k ports.

Revision 1.140: download - view: text, markup, annotated - select for diffs
Tue Jun 12 03:34:29 2007 UTC (17 years, 5 months ago) by mhitch
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, jmcneill-pm, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +5 -3 lines
Pass a frame pointer to trap() rather than the 'entire frame' trick.  Gcc4
was optimizing away modifications to the frame contents (it's not nice to
trick gcc).  Pass the pointer as the first argument to reduce the number
of places that would be changed otherwise.  Fixes the getcwd regression
test on most m68k ports.

Revision 1.138.10.1: download - view: text, markup, annotated - select for diffs
Sun May 27 12:27:19 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +3 -10 lines
Sync with head.

Revision 1.138.18.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:26:49 2007 UTC (17 years, 6 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +3 -10 lines
Update to HEAD.

Revision 1.139: download - view: text, markup, annotated - select for diffs
Fri May 18 10:15:09 2007 UTC (17 years, 6 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +3 -10 lines
Adapt hp300 to yamt-idlelwp. Tested on 9000/382.

Revision 1.135.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:45:56 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +62 -3 lines
sync with head.

Revision 1.137.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:13 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.137: preferred, colored; next MAIN 1.138: preferred, colored
Changes since revision 1.137: +5 -1 lines
Sync with head.

Revision 1.136.8.2: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:09 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.136.8.1: preferred, colored; branchpoint 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136.8.1: +5 -1 lines
sync with head.

Revision 1.138: download - view: text, markup, annotated - select for diffs
Sat Sep 9 19:45:49 2006 UTC (18 years, 3 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, ad-audiomp-base, ad-audiomp
Branch point for: wrstuden-fixsa, vmlocking, ppcoea-renovation, netbsd-4, mjf-ufs-trans
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +5 -1 lines
Switch hp300 to timecounter with MC6840 interval timer, which is
used for hardclcok(9). Old code is still left for reference.

XXX: possibly problematic if hardclock(9) is blocked more than 1/HZ,
XXX: but old microtime(9) implementation also had the similar problem.

Revision 1.136.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:39:18 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136: +58 -3 lines
sync with head

Revision 1.136.8.1: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:41:33 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +58 -3 lines
sync with head

Revision 1.137: download - view: text, markup, annotated - select for diffs
Thu Jul 20 13:21:38 2006 UTC (18 years, 4 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +58 -3 lines
Identify models HP362 and HP382. From OpenBSD, tested on my HP382.

Note now options HP362 and options HP382 are required for these models
in your kernel config file.

Revision 1.136: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:17:18 2005 UTC (18 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +1 -1 lines
merge ktrace-lwp.

Revision 1.131.2.4: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:56:09 2005 UTC (19 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.131.2.3: preferred, colored; next MAIN 1.132: preferred, colored
Changes since revision 1.131.2.3: +1 -14 lines
Sync with HEAD. Here we go again...

Revision 1.135: download - view: text, markup, annotated - select for diffs
Tue May 31 00:45:03 2005 UTC (19 years, 6 months ago) by chs
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
Branch point for: yamt-lazymbuf
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +1 -14 lines
remove vestigal {,e}intr{names,cnt} symbols now that vmstat doesn't need them.

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

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

Revision 1.131.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:34:37 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +41 -21 lines
Sync with HEAD

Revision 1.134: download - view: text, markup, annotated - select for diffs
Thu Mar 4 19:53:44 2004 UTC (20 years, 9 months ago) by nathanw
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +1 -16 lines
Centralize identical copies of proc_trampoline code.

(lots more opportunites here for the bored hacker, such as rei and trap0...)

Revision 1.133: download - view: text, markup, annotated - select for diffs
Mon Nov 17 14:37:59 2003 UTC (21 years ago) by tsutsui
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +4 -4 lines
TAB/space cleanup.

Revision 1.132: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:27:37 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +38 -3 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

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

Revision 1.131: download - view: text, markup, annotated - select for diffs
Mon Jun 23 11:01:13 2003 UTC (21 years, 5 months ago) by martin
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +2 -1 lines
Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.130: download - view: text, markup, annotated - select for diffs
Sun Apr 27 10:42:50 2003 UTC (21 years, 7 months ago) by ragge
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +4 -2 lines
Preserve the symbol table in the LKM || KSYMS cases also.

Revision 1.129: download - view: text, markup, annotated - select for diffs
Tue Apr 8 22:57:55 2003 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +6 -6 lines
Use PAGE_SIZE rather than NBPG.

Revision 1.128: download - view: text, markup, annotated - select for diffs
Sun Feb 2 10:24:39 2003 UTC (21 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +2 -2 lines
guarantee, not guarentee. Idea from miod@openbsd.

Revision 1.127: download - view: text, markup, annotated - select for diffs
Fri Jan 17 22:53:08 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +14 -253 lines
Merge the nathanw_sa branch.

Revision 1.116.6.10: download - view: text, markup, annotated - select for diffs
Sun Dec 29 19:25:44 2002 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.116.6.9: preferred, colored; branchpoint 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116.6.9: +1 -1 lines
Sync with HEAD.

Revision 1.126: download - view: text, markup, annotated - select for diffs
Sun Dec 22 00:11:10 2002 UTC (21 years, 11 months ago) by gmcgarry
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +5 -5 lines
Make this compile with LOCK_DEBUG

Revision 1.125.4.1: download - view: text, markup, annotated - select for diffs
Wed Dec 18 05:00:58 2002 UTC (21 years, 11 months ago) by gmcgarry
Branches: gmcgarry_ctxsw
Diff to: previous 1.125: preferred, colored; next MAIN 1.126: preferred, colored
Changes since revision 1.125: +7 -238 lines
Remove the scheduler semantics from machine-dependent context switch.

Revision 1.116.6.9: download - view: text, markup, annotated - select for diffs
Mon Nov 11 21:58:25 2002 UTC (22 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.116.6.8: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.6.8: +2 -299 lines
Catch up to -current

Revision 1.125: download - view: text, markup, annotated - select for diffs
Sat Nov 2 20:03:05 2002 UTC (22 years, 1 month ago) by chs
Branches: MAIN
CVS tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base
Branch point for: gmcgarry_ctxsw
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +2 -299 lines
finish conversion to the common m68k cacheops:
add support for machine-specific flavors of the ops for off-chip caches.
many thanks to Izumi Tsutsui for his help with this.

Revision 1.115.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:35:05 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.115.2.4: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115.2.4: +23 -2 lines
sync kqueue branch with HEAD

Revision 1.120.4.4: download - view: text, markup, annotated - select for diffs
Fri Aug 30 00:19:44 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.120.4.3: preferred, colored; branchpoint 1.120: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120.4.3: +20 -2 lines
catch up with -current.

Revision 1.124: download - view: text, markup, annotated - select for diffs
Wed Aug 28 08:57:00 2002 UTC (22 years, 3 months ago) by gmcgarry
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +20 -2 lines
RAS support for m68k.

Revision 1.116.6.8: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:41:41 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.116.6.7: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.6.7: +4 -1 lines
Catch up to -current.

Revision 1.120.4.3: download - view: text, markup, annotated - select for diffs
Tue Jul 16 05:01:55 2002 UTC (22 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.120.4.2: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.4.2: +4 -1 lines
catch up with -current.

Revision 1.120.4.2: download - view: text, markup, annotated - select for diffs
Sun Jul 14 17:46:14 2002 UTC (22 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.120.4.1: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.4.1: +10 -3 lines
catch up with -current.

Revision 1.121.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 27 09:01:19 2002 UTC (22 years, 5 months ago) by lukem
Branches: netbsd-1-6
CVS tags: 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
Diff to: previous 1.121: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121: +4 -1 lines
Pull up revision 1.123 (requested by gmcgarry in ticket #384):
Back out part of revision 1.20 which was causing PROM re-entry
to fail.  Reported by Jarle Greipsland <jarle@uninett.no>.

Revision 1.123: download - view: text, markup, annotated - select for diffs
Thu Jun 27 08:45:25 2002 UTC (22 years, 5 months ago) by gmcgarry
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +4 -1 lines
Back out part of revision 1.20 which was causing PROM re-entry
to fail.  Reported by Jarle Greipsland <jarle@uninett.no>.

Revision 1.116.6.7: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:04:33 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.116.6.6: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.6.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.115.2.4: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:36:12 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.115.2.3: preferred, colored
Changes since revision 1.115.2.3: +13 -12 lines
catch up with -current on kqueue branch

Revision 1.116.6.6: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:38:38 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.116.6.5: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.6.5: +13 -9 lines
Catch up to -current.

Revision 1.122: download - view: text, markup, annotated - select for diffs
Thu May 30 18:30:17 2002 UTC (22 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +10 -3 lines
Make this work with an ISO C preprocessor.

Revision 1.120.4.1: download - view: text, markup, annotated - select for diffs
Thu May 30 15:33:08 2002 UTC (22 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +4 -7 lines
Catch up with -current.

Revision 1.121: download - view: text, markup, annotated - select for diffs
Sun May 19 21:40:04 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: MAIN
CVS tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +4 -7 lines
use 'jmp label:l' to force adressing to be absolute, rather than pc-relative

Revision 1.116.6.5: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:39:56 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.116.6.4: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.6.4: +2 -5 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.115.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 16 15:57:35 2002 UTC (22 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.115.2.2: preferred, colored
Changes since revision 1.115.2.2: +17 -4 lines
Catch up with -current.

Revision 1.120: download - view: text, markup, annotated - select for diffs
Fri Mar 15 05:55:38 2002 UTC (22 years, 8 months ago) by gmcgarry
Branches: MAIN
CVS tags: eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +2 -5 lines
Add RCSIDs.

Revision 1.116.6.4: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:09:28 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.116.6.3: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.6.3: +17 -4 lines
Catch up to -current.

Revision 1.119: download - view: text, markup, annotated - select for diffs
Sun Feb 10 00:47:59 2002 UTC (22 years, 9 months ago) by gmcgarry
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +17 -4 lines
Some assemblers will optimise addresses within .text into pc-relative
references.  Bogus for our MMU trampoline code which is relocated to
the last physical page before being invoked.  This hack enforces all
addresses wrt the MMU trampoline code not to be pc-relative.

Revision 1.115.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:43:04 2002 UTC (22 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.115.2.1: preferred, colored
Changes since revision 1.115.2.1: +193 -199 lines
Sync kqueue branch with -current.

Revision 1.116.6.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:24:41 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.116.6.2: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.6.2: +177 -183 lines
Catch up to -current.

Revision 1.118: download - view: text, markup, annotated - select for diffs
Sat Dec 8 04:01:48 2001 UTC (23 years ago) by gmcgarry
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +192 -190 lines
- shift event counters to intr.c
- use new event counters
- align comments

Revision 1.116.6.2: download - view: text, markup, annotated - select for diffs
Sun Nov 18 18:09:32 2001 UTC (23 years ago) by scw
Branches: nathanw_sa
Diff to: previous 1.116.6.1: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.6.1: +1830 -0 lines
MD Scheduler Activation bits for HP300.
Compile-tested only.
Note: COMPAT_HPUX is not yet fully lwp'ified.

Revision 1.117: download - view: text, markup, annotated - select for diffs
Sat Nov 17 23:29:08 2001 UTC (23 years ago) by gmcgarry
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +2 -10 lines
Make hil interrupts come through the standard dispatch mechanism rather
than its custom handler.

Revision 1.115.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:11:28 2001 UTC (23 years, 4 months ago) by lukem
Branches: kqueue
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +2 -2 lines
update to -current

Revision 1.116.6.1
Sun Jul 22 13:34:04 2001 UTC (23 years, 4 months ago) by scw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.116: +0 -2051 lines
file locore.s was added on branch nathanw_sa on 2001-11-18 18:09:32 +0000

Revision 1.116: download - view: text, markup, annotated - select for diffs
Sun Jul 22 13:34:04 2001 UTC (23 years, 4 months ago) by wiz
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: nathanw_sa
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +2 -2 lines
seperate -> separate

Revision 1.112.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:21:55 2001 UTC (23 years, 5 months ago) by nathanw
Diff to: previous 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112: +11 -2 lines
Catch up to -current.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Mon Jun 11 04:58:33 2001 UTC (23 years, 6 months ago) by chs
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +2 -2 lines
make this compile with DEBUG.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Wed May 30 15:24:30 2001 UTC (23 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +2 -1 lines
add missing   #include "opt_kgdb.h"

Revision 1.113: download - view: text, markup, annotated - select for diffs
Sat May 12 00:55:34 2001 UTC (23 years, 7 months ago) by kleink
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +9 -1 lines
Update to reflect that unlike in m68k a.out environments, where the .align
directive is given a log2 argument, .align is given a linear argument in
m68k ELF environments.

Revision 1.99.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:26:27 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.99.2.1: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99.2.1: +17 -11 lines
Sync with HEAD.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Sun Nov 26 11:47:24 2000 UTC (24 years ago) by jdolecek
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +7 -1 lines
split m68k SunOS and SVR4-specific sigcode.s code to sunos_sigcode.s
and svr4_sigcode.s respectively
adjust individual m68k port's locore.s to include new sigcode files if
appropriate

Revision 1.111: download - view: text, markup, annotated - select for diffs
Tue Nov 21 13:54:14 2000 UTC (24 years ago) by tsutsui
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +11 -11 lines
Define proper macros for FP frame offsets rather than magic numbers.

Revision 1.99.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:08:06 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +756 -712 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.110: download - view: text, markup, annotated - select for diffs
Sun Aug 20 21:50:07 2000 UTC (24 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +34 -2 lines
Add a lock around the scheduler, and use it as necessary, including
in the non-MULTIPROCESSOR case (LOCKDEBUG requires it).  Scheduler
lock is held upon entry to mi_switch() and cpu_switch(), and
cpu_switch() releases the lock before returning.

Largely from Bill Sommerfeld, with some minor bug fixes and
machine-dependent code hacking from me.

Revision 1.108.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 16:59:55 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108: +2 -1 lines
Sync w/ netbsd-1-5-base.

Revision 1.109: download - view: text, markup, annotated - select for diffs
Wed May 31 05:06:49 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base, 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, netbsd-1-5
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +2 -1 lines
Add a comment on single-processor systems about p_cpu being initialized
by fork1().

Revision 1.108: download - view: text, markup, annotated - select for diffs
Fri May 26 21:19:40 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +6 -6 lines
First sweep at scheduler state cleanup.  Collect MI scheduler
state into global and per-CPU scheduler state:

	- Global state: sched_qs (run queues), sched_whichqs (bitmap
	  of non-empty run queues), sched_slpque (sleep queues).
	  NOTE: These may collectively move into a struct schedstate
	  at some point in the future.

	- Per-CPU state, struct schedstate_percpu: spc_runtime
	  (time process on this CPU started running), spc_flags
	  (replaces struct proc's p_schedflags), and
	  spc_curpriority (usrpri of processes on this CPU).

	- Every platform must now supply a struct cpu_info and
	  a curcpu() macro.  Simplify existing cpu_info declarations
	  where appropriate.

	- All references to per-CPU scheduler state now made through
	  curcpu().  NOTE: this will likely be adjusted in the future
	  after further changes to struct proc are made.

Tested on i386 and Alpha.  Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Fri May 26 00:36:45 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +8 -7 lines
Introduce a new process state distinct from SRUN called SONPROC
which indicates that the process is actually running on a
processor.  Test against SONPROC as appropriate rather than
combinations of SRUN and curproc.  Update all context switch code
to properly set SONPROC when the process becomes the current
process on the CPU.

Revision 1.106: download - view: text, markup, annotated - select for diffs
Sun May 14 14:13:52 2000 UTC (24 years, 6 months ago) by minoura
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +2 -1 lines
defopt FPSP.

Revision 1.99.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:31:55 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99: +718 -709 lines
Pull up to last week's -current.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Tue Dec 14 17:51:20 1999 UTC (24 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +6 -5 lines
Add a bootinfo facility, as is used on i386 and pmax, ports.  We expect
the bootinfo to be located in the first page of kernel text (which has
been zero-filled for a Very Long Time to allow us to unmap KVA 0); the
boot loader will place it there after loading the kernel image.

Revision 1.99.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:37:40 1999 UTC (25 years ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99: +713 -705 lines
Sync with -current

Revision 1.104: download - view: text, markup, annotated - select for diffs
Wed Nov 10 00:02:23 1999 UTC (25 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: fvdl-softdep-base
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +3 -3 lines
Add register prefixes that I missed before.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Tue Oct 26 00:20:38 1999 UTC (25 years, 1 month ago) by itohy
Branches: MAIN
CVS tags: comdex-fall-1999-base, comdex-fall-1999
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +11 -3 lines
Fix the problem that single-step tracing of a trap instruction
drops the system into kernel debugger.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Sun Oct 24 19:12:44 1999 UTC (25 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +295 -295 lines
Next sweep: stack pointers, FP regs, and several control registers.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Sun Oct 24 18:35:25 1999 UTC (25 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +283 -283 lines
Next sweep of adding register prefix: %d0 - %d7.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Thu Oct 21 21:10:24 1999 UTC (25 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +350 -350 lines
First sweep of adding register prefix: %a0 - %a7.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Fri Sep 17 19:59:42 1999 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +1 -4 lines
Centralize the declaration and clearing of `cold'.

Revision 1.93.2.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 2 19:46:10 1999 UTC (25 years, 4 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.93.2.1.2.1: preferred, colored; branchpoint 1.93.2.1: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93.2.1.2.1: +19 -2 lines
Update from trunk.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Aug 1 21:32:17 1999 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +11 -1 lines
Make sure the branch target of the delay loop is aligned to a cache
half-line (8-byte) boundary.  Inspired by a discussion w/ Scott Reynolds.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Sat Jul 31 01:26:04 1999 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +9 -2 lines
Identify the 385 and 425e.  Partially from OpenBSD.

Revision 1.93.2.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 00:49:21 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.93.2.1: preferred, colored
Changes since revision 1.93.2.1: +3 -2 lines
Sync w/ -current.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Sat May 1 19:11:34 1999 UTC (25 years, 7 months ago) by kleink
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -2 lines
Fix a label name botch introduced in rev. 1.92; Ignatios owes me a non-beer.

Revision 1.93.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 16:24:44 1999 UTC (25 years, 7 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Diff to: previous 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93: +2 -1 lines
pullup 1.94->1.95 (christos): conflicts manually edited

Revision 1.95: download - view: text, markup, annotated - select for diffs
Thu Apr 29 16:25:02 1999 UTC (25 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -1 lines
Include opt_compat_sunos.h

Revision 1.94: download - view: text, markup, annotated - select for diffs
Mon Apr 19 21:22:58 1999 UTC (25 years, 7 months ago) by kleink
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +2 -1 lines
Add COMPAT_SVR4 for m68k.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Wed Mar 24 05:50:59 1999 UTC (25 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +1 -18 lines
completely remove Mach VM support.  all that is left is the all the
header files as UVM still uses (most of) these.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Thu Feb 25 22:34:41 1999 UTC (25 years, 9 months ago) by is
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +4 -3 lines
hp300 part of the fix for pr 6152

Revision 1.91: download - view: text, markup, annotated - select for diffs
Wed Nov 11 06:41:25 1998 UTC (26 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +8 -4 lines
Changes to support fork_kthread():
- cpu_set_kpc() now takes void *arg third argument, passed to the
  entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
  When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Wed Sep 30 23:47:34 1998 UTC (26 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc-base, chs-ubc
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +1 -13 lines
Garbage collect trap #1 and trap #2 handlers; they're moved to
trap_subr.s

Revision 1.89: download - view: text, markup, annotated - select for diffs
Wed Sep 30 23:01:29 1998 UTC (26 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +2 -1 lines
Pull in opt_compat_netbsd.h

Revision 1.88: download - view: text, markup, annotated - select for diffs
Wed Sep 9 00:07:51 1998 UTC (26 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +7 -12 lines
Adjust for the new "reaper" kernel thread: do not free the vmspace and
u-area in machine-dependent code.  Instead, call exit2() to schedule
the reaper to free them for us, once it is safe to do so (i.e. we are
no longer running on the dead proc's vmspace and stack).

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Jul 4 22:18:23 1998 UTC (26 years, 5 months ago) by jonathan
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +2 -1 lines
defopt DDB.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Sun May 24 19:32:40 1998 UTC (26 years, 6 months ago) by is
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +1 -2 lines
Back out the defopt for M680?0. As pointed out to me, this breaks ports which
dont use the M680?0 the way Amiga, Atari, Mac68k, and X68k do. I must have
missed this in the past discussion about this project.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Sat May 23 20:51:10 1998 UTC (26 years, 6 months ago) by is
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -1 lines
Move M680[2346]0 to opt_m68kcpu.h.
XXX Some explicit dependencies could be removed now from the individual
arch/$ARCH/conf/Makefile.$ARCH files, but this is still to be done.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Sat Mar 21 08:05:37 1998 UTC (26 years, 8 months ago) by scottr
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +6 -6 lines
Optimize some cycles out of the clock interrupt handler when
USE_LEDS is defined.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Mon Feb 16 20:58:30 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +23 -1 lines
Add support for UVM.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Mon Jan 5 23:16:27 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +20 -55 lines
Fix a bogosity apparently inherited from when the Utah 4.3BSD code base
was converted to use Mach VM for Net2/4.4BSD.  The user segment table
pointer was originally stored in the PCB.  When Mach VM came along,
however, it was also stored in the pmap, and loaded into the PCB in
pmap_activate().  pmap_activate() would then note that the PCB's USTP
was now in sync with the pmap's USTP, and the low-level context switch
code would use the value from the PCB.

However, pmap_activate() would also load the hardware MMU context if
the pmap was the current pmap (or, in the case where pmaps can be shared,
such as in NetBSD, if the proc was the current proc).  The low-level
context switch code would then reload the hardware _again_ using the
USTP from the PCB.

However, the optimization of not calling pmap_activate() if "stchanged"
was false ended up causing some processes to use stale USTP values from
the PCB when the low-level context switch code reloaded the hardware!
This was noticed by using a real vfork(2) (which worked for some time
before failing, surprisingly!)

Since I'm hard pressed to find any real optimization here (since the
hardware was always reloaded once, sometimes twice!), the code now always
calls pmap_activate(), which uses the correct USTP value (the one in the
pmap).  The PCB's USTP is now ignored, and should eventually be g/c'd.

Another optimization can actually be performed, and I have added a comment
describing what it is, but have not yet implemented it.

Also note that most of the loadustp() functions where actually incomplete.
This has been corrected.  These functions should probably be split up into
MMU-specific operations, and called indirectly, rather than doing constant
run-time decision making based on values that will never change during the
course of a boot's lifetime.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Dec 31 10:12:55 1997 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +8 -9 lines
Make pmap_activate() and pmap_deactivate() take a struct proc *.

Revision 1.75.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 14 08:55:41 1997 UTC (27 years, 1 month ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.75.2.2: preferred, colored; branchpoint 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75.2.2: +2 -3 lines
Update marc-pcmcia branch from trunk.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sun Oct 12 18:45:48 1997 UTC (27 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -3 lines
Consolidate some pre-main initialization into an hp300_init() function.

Revision 1.75.2.2: download - view: text, markup, annotated - select for diffs
Tue Sep 16 03:48:24 1997 UTC (27 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.75.2.1: preferred, colored; branchpoint 1.75: preferred, colored
Changes since revision 1.75.2.1: +4 -6 lines
Update marc-pcmcia branch from trunk.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Fri Sep 12 08:41:55 1997 UTC (27 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -2 lines
Fix a test that should be on fputype rather than cputype.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Sep 12 08:35:15 1997 UTC (27 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -5 lines
GC old comment.

Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 23 07:08:42 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +4 -2 lines
Update marc-pcmcia branch from trunk.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu Aug 21 18:12:34 1997 UTC (27 years, 3 months ago) by scottr
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -1 lines
Make this compile again when we only specify a machine with the
HP MMU (320, 350).

Revision 1.76: download - view: text, markup, annotated - select for diffs
Mon Aug 18 17:52:48 1997 UTC (27 years, 3 months ago) by scottr
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -2 lines
Fix typo in getting the 040 access fault address, noticed by
Allen Briggs in the mac68k locore.s

Revision 1.75: download - view: text, markup, annotated - select for diffs
Mon Jul 14 19:18:31 1997 UTC (27 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: marc-pcmcia-bp
Branch point for: marc-pcmcia
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +159 -82 lines
New bus error/address error trap handlers, code lifted from mac68k
port, which is lifted from amiga port, plus some changes from me:
- Add support for the HP MMU to the 020/030 bus/address error handler
  (mostly lifted wholesale from the old code).
- Rename addrerr and buserr to busaddrerr2030.  The new name reflects that
  these functions are specific to the 68020 and 68030, and that the same
  handler function is used for both vectors.

The vector table is patched once we know our CPU type, before the MMU
is enabled.  In the event that we're running on a CPU that we're not
configured for, simply invoke the PROM's "reboot request"; we have no
hope of running in the event of a config botch, since we need working
a working bus error handler for console initialization.

These new functions optimze for common-case page faults, eliminate
many run-time checks, and are sharable.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue May 13 18:01:03 1997 UTC (27 years, 6 months ago) by gwr
Branches: MAIN
CVS tags: bouyer-scsipi
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2 lines
Eliminate references to vmspace.vm_pmap

Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon May 5 21:14:04 1997 UTC (27 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +16 -14 lines
Update for USELEDS changes.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Sun Apr 27 20:50:01 1997 UTC (27 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +70 -10 lines
Uniquely identify 345 vs. 375 vs. 400 and 380 vs. 425, useful when
looking for hp4xx-only hardware during autoconfiguration.  Code
mostly from Mike Smith, with a few changes by me.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Apr 25 02:17:38 1997 UTC (27 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +312 -415 lines
- Don't make assumptions about how C labels are handled, use macros
  provided by <machine/asm.h> instead.
- Adjust for <m68k/m68k/trap_subr.s>

Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Apr 14 02:28:47 1997 UTC (27 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +4 -4 lines
Rearrange the interrupt code slightly:
- place all interrupt-related macros, prototypes, etc. into <machine/intr.h>,
  like other ports.
- rename isrlink/isrunlink/isrinit, etc. intr_establish/intr_disestablish/
  intr_init, etc., and move to intr.c for naming consistency.
- don't call intr_init() twice.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Apr 13 02:37:23 1997 UTC (27 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -26 lines
Use common m68k sigcode.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Wed Apr 9 20:03:21 1997 UTC (27 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -84 lines
Use <m68k/m68k/proc_subr.s>

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Mar 16 10:49:43 1997 UTC (27 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -39 lines
Use <m68k/m68k/support.s>

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Mar 16 09:40:02 1997 UTC (27 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +7 -12 lines
Nuke MDP_HPUXTRACE.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Mar 15 23:23:55 1997 UTC (27 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +790 -787 lines
- Garbage-collect doadump(); it hasn't been used for some time.
- Supply an `fputype' global.  Since all hp300's have an FPU, default
  it to FPU_68881, setting it to FPU_68040 if we detect a 68040 CPU.
- Use `fputype' at run-time rathern than FPCOPROC at compile-time.
- Re-arrange locore slightly; move startup code to the beginning, right
  after the vector table.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Mar 13 09:27:21 1997 UTC (27 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -1 lines
Don't genassym the trap type values; just include <machine/trap.h>

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Feb 2 07:55:52 1997 UTC (27 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +15 -35 lines
- Eliminate some unnecessary cpu/mmu checks, based on what CPUs
  the kernel was compiled for.
- Add some comments about possible further optimization.
- Garbage-collect extra copypage()

Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Nov 6 20:19:30 1996 UTC (28 years, 1 month ago) by cgd
Branches: MAIN
CVS tags: thorpej-setroot
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +8 -8 lines
Fix an inconsistency that came in with Lite: setrq() was renamed to
setrunqueue(), but remrq() was never renamed.  Rename remrq() to
remrunqueue().

Revision 1.61: download - view: text, markup, annotated - select for diffs
Mon Oct 14 22:11:16 1996 UTC (28 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +1 -13 lines
Garbage collect the "kernel jump to zero" stuff.  VA 0 is now invalid,
so the kernel will fault if the PC gets trashed like that.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Oct 14 20:02:48 1996 UTC (28 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +13 -4 lines
Couple more small changes:
- Initialize proc0.p_addr just after setting up the kernel stack, to avoid
  getting NULL pointers in trap().  Change suggested by Gordon Ross.
- Panic if main() returns.
- Tidy up a couple of comments.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Oct 14 07:58:54 1996 UTC (28 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +49 -13 lines
A few small changes:
- Offset kernel text one page.  Stash the PA of this offset page for
  use later.
- Add a few comments.
- Free up some registers earlier in the initialization process.
- Use a `prototc' to set the Translation Control register, rather
  than relying on a2 pointing just past the MMU trampoline in the
  high page.  (Suggested by Charles Hannum.)
- Set VBR to the kernel vector table just before turning on the MMU.
- Just before rebooting, set VBR to 0, which is what the BOOTROM expects
  it to be.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Oct 5 09:19:58 1996 UTC (28 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +8 -6 lines
Check for internal HP-IB in SYSFLAG much earlier (i.e. before the MMU
is turned on).

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Oct 5 07:16:52 1996 UTC (28 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +97 -31 lines
Handle kernel trace traps and breakpoints like the Sun3 port:
	- Only pass user trace traps and breakpoints on to trap().
	- Before entering the debugger, switch to a temporary
	  stack so that the debugger can alter the stack pointer.
	- Add glue for KGDB (still not complete).
Clearly mark the MMU enable trampoline code.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Oct 5 07:06:11 1996 UTC (28 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +1 -2 lines
Don't lower spl before calling main.  For now, do it right before
calling hilinit().  Eventually, would like to enable them only after
autoconfiguration is finished.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Sep 11 00:29:28 1996 UTC (28 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +12 -8 lines
Declare a `cputype' global, and set it as appropriate.

Revision 1.53.4.1: download - view: text, markup, annotated - select for diffs
Tue Jun 25 00:57:22 1996 UTC (28 years, 5 months ago) by jtc
Branches: netbsd-1-2
CVS tags: netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +37 -6 lines
Pulled up by request from Jason Thorpe

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sun Jun 23 05:48:12 1996 UTC (28 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +37 -6 lines
From Ignatios Souvatzis <is@NetBSD.ORG>:
	- handle fpfault properly on the 68040
	- properly distinguish between a bus error and an MMU fault
	  on systems with 68030 or 68851 MMUs

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri May 17 16:32:28 1996 UTC (28 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3 lines
Put the vector table _after_ the temp stack.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Fri May 17 15:27:26 1996 UTC (28 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +38 -13 lines
Couple of changes:

	- New delay() function, modeled after sun3/mvme68k delay,
	  calibrated with a model's known cpu speed.
	- Use the defined constants for machineid and ectype
	  when determining what kind of machine we have, rather
	  than their expanded equivalents, for clarity.
	- Move the vector table to the data segment so that it
	  can be patched at run-time.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu May 16 23:53:10 1996 UTC (28 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +11 -2 lines
Add a "_kernel_text" symbol, for libkvm.  From Gordon Ross.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Feb 14 02:56:56 1996 UTC (28 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +30 -69 lines
New interrupt handling code.  Highlights:
	- Interrupt service routines now take a pointer to
	  the device's softc, rather than a unit number.
	- Interrupt handling code in locore.s condensed.  Only
	  remaining "special" handlers are lev0 (spurious),
	  lev1 (HIL; don't ask), lev6 (clock), and lev7 (NMI).
	  Only remaining hard-coded device driver reference in
	  locore is HIL.  (clock doesn't count...)
	- "dcafastservice" eliminated.  DCA driver has new mechanism
	  to guarantee prompt interrupt service at any ipl (not
	  just level 5).
	- Interrupt code pulled out of autoconf.c and machdep.c and
	  placed in new file, isr.c

Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Feb 2 02:36:31 1996 UTC (28 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2 lines
assym.s -> assym.h
(Some ports did this already.)

Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Jan 31 02:26:05 1996 UTC (28 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -37 lines
Use the common sigreturn routine.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Jan 16 22:24:28 1996 UTC (28 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +1 -104 lines
Remove all the old STACKCHECK stuff; it hasn't been used for a long time.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon Dec 11 17:09:11 1995 UTC (29 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +80 -81 lines
Rather than using individual HP300 model names, map those model names to
properties such as "M68040" and "M68K_MMU_MOTOROLA", used to conditionally
compile code.  This is more in-line with now the other m68k ports do it,
and makes it much easier to find "common ground" among them.

In locore.s, use the MMU-type constants defined my <machine/cpu.h> rather
than "expanded" values.

Because HP300-model names are mapped to CPU/MMU combinations in
<machine/cpu.h>, no change to kernel configuration will be necessary.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Dec 11 02:38:04 1995 UTC (29 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -77 lines
Move bcopy/ovbcopy/memcpy into m68/m68k/copy.s, which is used by all
m68k ports already anyhow.  No use in keeping 6 identical copies of this
function around.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Oct 8 20:19:22 1995 UTC (29 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +1 -28 lines
Remove the icode stuff; it hasn't been used in a long time.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Oct 8 19:30:51 1995 UTC (29 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +1 -71 lines
Remove __main(), strlen(), bzero(), and bcmp().  They're all in libkern.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Sep 10 19:42:19 1995 UTC (29 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +10 -17 lines
Add a memcpy() entry as suggested by Gordon Ross.  Use <machine/asm.h>
where appropriate.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu May 25 01:09:10 1995 UTC (29 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +15 -2 lines
Make sure proc0's md_regs is initialized.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri May 12 18:24:46 1995 UTC (29 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +6 -10 lines
Add a child_return() function to clean up the child's state correctly, and
use this in cpu_fork().  Generalize proc_trampoline() so it can also be used in
this case.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri May 12 13:03:23 1995 UTC (29 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2 lines
main() should never return.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri May 12 12:54:48 1995 UTC (29 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +33 -75 lines
Eliminate the double mapping of the kernel stack.  Enable swapping.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Apr 12 08:30:45 1995 UTC (29 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
More UPAGES --> USPACE.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Feb 8 14:51:08 1995 UTC (29 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +1 -120 lines
Remove fu/su functions.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Feb 8 14:20:06 1995 UTC (29 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +1 -3 lines
Don't include copy.s from here.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Feb 8 14:18:04 1995 UTC (29 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
Use common m68k version of copy.s.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Dec 30 07:22:21 1994 UTC (29 years, 11 months ago) by hpeyerl
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +14 -2 lines
Make the LEDS blink like Jason's heart. from <thorpej@cs.orst.edu>

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Oct 26 07:25:45 1994 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -2 lines
new RCS ID format.

Revision 1.26.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 20 20:50:53 1994 UTC (30 years, 1 month ago) by mycroft
Branches: netbsd-1-0
CVS tags: netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0
Diff to: previous 1.26.2.1: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.2.1: +2 -3 lines
Update from trunk.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Oct 20 20:47:53 1994 UTC (30 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -3 lines
Don't try to load p_priority from the run queue head.

Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 6 04:46:31 1994 UTC (30 years, 2 months ago) by mycroft
Branches: netbsd-1-0
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +56 -131 lines
Update from trunk.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Sep 9 23:40:15 1994 UTC (30 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +12 -1 lines
Do a hack similar to the AST optimization for SIRs on syscall exit.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Sep 9 03:58:38 1994 UTC (30 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +5 -2 lines
Very simple change to avoid a complete register save/restore pair when handling
ASTs after a syscall.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Sep 9 03:11:31 1994 UTC (30 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -67 lines
Remove some functions which are in libkern.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Sep 9 02:56:54 1994 UTC (30 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +56 -65 lines
Optimize the run queue frobnication, and add some more DIAGNOSTIC checks.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Jul 5 17:08:51 1994 UTC (30 years, 5 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -67 lines
Redo the interface to FPSP, using the supplied glue code.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Jul 3 11:40:35 1994 UTC (30 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +69 -59 lines
Switch to Motorola emulator.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri May 27 17:19:38 1994 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
Update RCS id.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri May 27 12:51:00 1994 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -16 lines
Use 4.4 init bootstrapping method.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue May 24 12:24:11 1994 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -248 lines
New copy*() functions, cloned from the appropriate functions in libc.  Handles
>64k lengths correctly.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon May 23 12:16:34 1994 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +19 -9 lines
Copy copyinstr() from m68k generic, to deal with len > 64k.  XXX I think this
code is buggy.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon May 23 06:15:00 1994 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1222 -670 lines
Merge with 4.4-Lite.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri May 20 10:31:48 1994 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -9 lines
swtch() --> cpu_switch()

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri May 13 00:57:39 1994 UTC (30 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
Keeping up with the Chrises...

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu May 5 10:11:18 1994 UTC (30 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +23 -23 lines
Most of the changes needed to make this continue to run.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Feb 5 01:14:55 1994 UTC (30 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -12 lines
Simplify calling sequences for hardclock() and profclock().

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Feb 4 23:10:11 1994 UTC (30 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
Reorder clockframe.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Feb 4 22:56:17 1994 UTC (30 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
Fix comments

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Feb 4 22:55:23 1994 UTC (30 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -2 lines
Pass a frame pointer to profclock(), too.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Feb 4 22:19:28 1994 UTC (30 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -2 lines
Pass a pointer to hardclock()...

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Jan 30 21:18:16 1994 UTC (30 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Use esym now.  Note this *requires* using the NetBSD boot block.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Jan 30 19:50:21 1994 UTC (30 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -1 lines
Don't rely on esym being passed in until I am impressed enough with the new
boot program to switch.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jan 30 19:15:48 1994 UTC (30 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -415 lines
Remove functions that are defined in libkern or m68k/copy.s.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jan 26 02:43:43 1994 UTC (30 years, 10 months ago) by brezak
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +10 -1 lines
Deal with DDB symbol table loaded by bootstrap

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Jan 13 23:49:13 1994 UTC (30 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
Add a variable (currently unused in this port) to make DDB happy.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Dec 6 14:19:44 1993 UTC (31 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -8 lines
Change the address calculations in icode to match current as.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Aug 14 14:46:08 1993 UTC (31 years, 3 months ago) by mycroft
Branches: MAIN
CVS tags: magnum-base
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
The NetBSD assembler seems to want the old icode.  Don't ask me.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Aug 7 20:47:35 1993 UTC (31 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -1 lines
This seems to fix the calculation of the file name and arg string pointers
in icode.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Aug 1 19:24:44 1993 UTC (31 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -3 lines
Add RCS identifiers (this time on the correct side of the branch), and
incorporate recent changes in netbsd-0-9 branch.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat May 22 07:57:30 1993 UTC (31 years, 6 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
add rcsids to everything and clean up headers

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Thu May 13 13:56:53 1993 UTC (31 years, 7 months ago) by cgd
Branches: csrg-net2
CVS tags: csrg-net2-orig
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
add hp300 kernel files.  generic kernel files might need some help...

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu May 13 13:56:52 1993 UTC (31 years, 7 months ago) by cgd
Branches: MAIN
Initial revision

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>