The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.134: download - view: text, markup, annotated - select for diffs
Sat Sep 7 06:17:37 2024 UTC (3 months ago) by andvar
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +2 -2 lines
spelling and grammar fixes, mainly in comments.

Revision 1.121.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 27 19:27:28 2024 UTC (5 months, 2 weeks ago) by martin
Branches: netbsd-10
Diff to: previous 1.121: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121: +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.133: download - view: text, markup, annotated - select for diffs
Fri Jan 19 18:49:10 2024 UTC (10 months, 3 weeks ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +2 -3 lines
Switch the x68k port to use the same clockframe layout as the other
m68k ports.

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

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

Revision 1.130: download - view: text, markup, annotated - select for diffs
Wed Jan 17 12:19:07 2024 UTC (10 months, 3 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +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.129: download - view: text, markup, annotated - select for diffs
Tue Jan 16 15:38:59 2024 UTC (10 months, 3 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +1 -6 lines
Build m68k/support.s on its own; don't include it from locore.s

Revision 1.128: download - view: text, markup, annotated - select for diffs
Tue Jan 9 07:28:26 2024 UTC (11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +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.127: download - view: text, markup, annotated - select for diffs
Tue Jan 9 04:16:27 2024 UTC (11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +1 -33 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.126: download - view: text, markup, annotated - select for diffs
Sat Jan 6 05:31:19 2024 UTC (11 months, 1 week ago) by isaki
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +4 -3 lines
x68k: Make _delay() argument to microseconds.
'<< 8' is just a magnification factor and should not be visible
from the outside.

Revision 1.125: download - view: text, markup, annotated - select for diffs
Wed Dec 27 03:03:42 2023 UTC (11 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +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.124: download - view: text, markup, annotated - select for diffs
Tue Dec 26 02:38:27 2023 UTC (11 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +1 -13 lines
G/C unused ploadw().

Revision 1.123: download - view: text, markup, annotated - select for diffs
Mon Dec 25 21:32:58 2023 UTC (11 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +1 -3 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.122: download - view: text, markup, annotated - select for diffs
Sun Sep 17 07:22:17 2023 UTC (14 months, 3 weeks ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +3 -1 lines
add "#if defined(M68030)" around 68030 specific busaddrerr2030 calls.

Makes M68030 build without 040/060 counterparts enabled for x68k.

Revision 1.121: 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.120: preferred, colored
Changes since revision 1.120: +2 -2 lines
s/identifing/identifying/ and s/multipler/multiplier/ in comments.

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

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

Revision 1.120: download - view: text, markup, annotated - select for diffs
Wed Dec 19 13:57:51 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.119: preferred, colored
Changes since revision 1.119: +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.110.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:49 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.110.2.1: preferred, colored; branchpoint 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110.2.1: +1 -1 lines
update from HEAD

Revision 1.118.4.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:54 2015 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118: +2 -2 lines
Sync with HEAD

Revision 1.119: download - view: text, markup, annotated - select for diffs
Sat Jul 25 06:24:53 2015 UTC (9 years, 4 months ago) by isaki
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, 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.118: preferred, colored
Changes since revision 1.118: +2 -2 lines
Add a comment on mnemonic that assembler cannot recognize.

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

Revision 1.117.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:11 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117: +1 -4 lines
Rebase.

Revision 1.118: download - view: text, markup, annotated - select for diffs
Thu Jul 31 14:41:19 2014 UTC (10 years, 4 months ago) by isaki
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +1 -4 lines
Remove the variable not used anymore.
sync with x68k/pmap_bootstrap.c,v 1.21 (in 2001).

Revision 1.104.2.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:13 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.104.2.3: preferred, colored; branchpoint 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.2.3: +538 -713 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.110.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:29 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110: +538 -713 lines
sync with head

Revision 1.117: download - view: text, markup, annotated - select for diffs
Sat Mar 22 21:49:18 2014 UTC (10 years, 8 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +11 -66 lines
Remove obsolete ssir stuff which was used for pre-5.0 softintr(9).

No visible problem on X68030.

Revision 1.116: download - view: text, markup, annotated - select for diffs
Sat Mar 22 15:59:07 2014 UTC (10 years, 8 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +5 -171 lines
Use common m68k/busaddrerr.s for bus error and address error handlers.

No binary changes on GENERIC.
(though the previous revision has not been tested on 040/060 yet)

Revision 1.115: download - view: text, markup, annotated - select for diffs
Fri Mar 14 20:24:24 2014 UTC (10 years, 9 months ago) by tsutsui
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +114 -75 lines
Sync bus error and address error handlers with other m68k implementation.

Tested on X68030.  Needs tests on 040 and 060turbo
(though it should work as other m68k ports).

The x68k port implemented 68060 support including these vector handlers
as early as amiga back in 1996, but even after amiga's locore.s was
improved several times (updating vectors at runtime to switch handlers
per CPU types etc.), x68k's one has not been updated.
After that, atari and mac68k pulled amiga's implementation,
hp300 pulled mac68k, and then most other m68k ports pulled hp300 ones.

Probably that's the reason why only x68k had different implementations
(i.e. no reason that avoids using common handler implementation),
and now it's time to prepare common arch/m68k/m68k/busaddrerr.s.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Sat Mar 8 17:44:37 2014 UTC (10 years, 9 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +71 -66 lines
Misc cosmetic changes to reduce diffs from other m68k ports.

- replace magic numbers with macro via genassym.cf
- include opt_fpu_emulate.h at the top
- use C-style comments
- add register '%' prefix in comments
- sync several comments
- indent adjustments etc.

No text binary changes. (only .global _KERNEL_OPT_FPU_EMULATE is moved)

Revision 1.113: 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.112: preferred, colored
Changes since revision 1.112: +2 -2 lines
defined(LKM) -> defined(MODULAR)

Revision 1.112: download - view: text, markup, annotated - select for diffs
Fri Jan 31 18:24:03 2014 UTC (10 years, 10 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +599 -599 lines
Move the startup routine to the beginning of the source as other m68k ports.

No particular comments on port-x68k@.

Revision 1.108.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 12 12:10:47 2014 UTC (10 years, 11 months ago) by bouyer
Branches: netbsd-6
Diff to: previous 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108: +3 -1 lines
Pull up following revision(s) (requested by tsutsui in ticket #1001):
	sys/arch/x68k/x68k/machdep.c: revision 1.187
	sys/arch/x68k/x68k/locore.s: revision 1.111
	sys/arch/x68k/x68k/pmap_bootstrap.c: revision 1.60
Probe extended memories before pmap_boostrap() for actual fix of PR/45915.
Also expand expected maximum extended memory regions to recognize
upto 1008 MB RAM that is supported by the XM6i emulator.
See my post on port-x68k@ for more details:
http://mail-index.NetBSD.org/port-x68k/2013/10/19/msg000039.html
Probably worth to pullup to netbsd-6.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Sun Oct 27 02:06:06 2013 UTC (11 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +3 -1 lines
Probe extended memories before pmap_boostrap() for actual fix of PR/45915.

Also expand expected maximum extended memory regions to recognize
upto 1008 MB RAM that is supported by the XM6i emulator.

See my post on port-x68k@ for more details:
http://mail-index.NetBSD.org/port-x68k/2013/10/19/msg000039.html

Probably worth to pullup to netbsd-6.

Revision 1.107.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 2 11:09:10 2012 UTC (12 years, 6 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.107.2.2: preferred, colored; branchpoint 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107.2.2: +2 -8 lines
sync to latest -current.

Revision 1.104.2.3: download - view: text, markup, annotated - select for diffs
Wed May 23 10:07:50 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.104.2.2: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.2: +2 -37 lines
sync with head.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Sat May 19 08:29:32 2012 UTC (12 years, 6 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +2 -8 lines
Fix leftover comment derived from hp300 but not applicable to x68k.

Revision 1.107.2.2: download - view: text, markup, annotated - select for diffs
Sun Apr 29 23:04:43 2012 UTC (12 years, 7 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.107.2.1: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.2.1: +1 -30 lines
sync to latest -current.

Revision 1.109: download - view: text, markup, annotated - select for diffs
Sun Apr 29 07:17:12 2012 UTC (12 years, 7 months ago) by tsutsui
Branches: MAIN
CVS tags: jmcneill-usbmp-base9
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +1 -30 lines
Finally switch PSX16550 fast serial board driver to using MI com(4) driver.
Based on isaki@'s patch and debugged by both isaki@ and tsutsui@.

PSX16550 specific hardware infomation is taken from Human68k's PSXIO driver:
http://retropc.net/x68000/software/hardware/psx16550/

XXX1: TL16C550C seems to have some timing critical issue around THRE interrupt
XXX2: auto hardware flow control of TL16C550 is not implemented in MI com(4)

Revision 1.104.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:04 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.104.2.1: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.1: +2 -69 lines
sync with head

Revision 1.107.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:33:32 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +1 -61 lines
merge to -current.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Thu Dec 22 15:33:30 2011 UTC (12 years, 11 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base4, 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +1 -61 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.107: download - view: text, markup, annotated - select for diffs
Sat Nov 26 14:05:53 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.106: preferred, colored
Changes since revision 1.106: +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.106: download - view: text, markup, annotated - select for diffs
Tue Nov 15 10:57:04 2011 UTC (13 years, 1 month ago) by tsutsui
Branches: MAIN
CVS tags: jmcneill-audiomp3-base, jmcneill-audiomp3
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +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.104.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:31:43 2011 UTC (13 years, 1 month ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +2 -2 lines
sync with head

Revision 1.105: download - view: text, markup, annotated - select for diffs
Fri Nov 4 17:51:54 2011 UTC (13 years, 1 month ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +2 -2 lines
64040 -> 68040 in comment

Revision 1.104: download - view: text, markup, annotated - select for diffs
Sun Oct 9 08:51:56 2011 UTC (13 years, 2 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base
Branch point for: yamt-pagecache
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +9 -1 lines
Make NetBSD/x68k kernel work with 8KB/page (i.e. PGSHIFT==13) settings.

It's quite interesting to check ATC miss rate with both settings on XM6i,
as noted in XM6i presentation by isaki@ at OSC 2011 Hiroshima.

Revision 1.84.6.1: download - view: text, markup, annotated - select for diffs
Fri Jul 15 22:46:06 2011 UTC (13 years, 5 months ago) by riz
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
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +4 -4 lines
Pull up following revision(s) (requested by tsutsui in ticket #1640):
	sys/arch/x68k/x68k/locore.s: revision 1.102
Defer fpu_probe() call until curlwp and related variables are initialized.
Fixes pre-consinit KASSERT() in trap() caused by fnop instruction in
fpu_probe() on machines without FPU, including XM6i.

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

Revision 1.97.2.3: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:23 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.97.2.2: preferred, colored; branchpoint 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.2.2: +4 -3 lines
sync with head

Revision 1.103: download - view: text, markup, annotated - select for diffs
Sat May 14 10:49:06 2011 UTC (13 years, 7 months ago) by tsutsui
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +2 -1 lines
It's a bit horrible to call uvm_page_physload() from consinit().
Instead, prepare x68k_init() function for pre-main MD initialization as other
m68k ports and move uvm_page_physload() call and msgbuf initialization there.

Tested on X68030, but options EXTENDED_MEMORY is untested.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Wed May 11 14:17:29 2011 UTC (13 years, 7 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +4 -4 lines
Defer fpu_probe() call until curlwp and related variables are initialized.
Fixes pre-consinit KASSERT() in trap() caused by fnop instruction in
fpu_probe() on machines without FPU, including XM6i.

Revision 1.97.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:26 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.97.2.1: preferred, colored; branchpoint 1.97: preferred, colored
Changes since revision 1.97.2.1: +15 -53 lines
sync with head

Revision 1.100.4.1: download - view: text, markup, annotated - select for diffs
Thu Feb 17 12:00:05 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100: +2 -40 lines
Sync with HEAD

Revision 1.101: download - view: text, markup, annotated - select for diffs
Tue Feb 8 20:20:26 2011 UTC (13 years, 10 months ago) by rmind
Branches: MAIN
CVS tags: uebayasi-xip-base7, jym-xensuspend-nbase, jym-xensuspend-base, bouyer-quota2-nbase, bouyer-quota2-base
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +2 -40 lines
Remove clause 3 (UCB advertising clause) from the University of Utah
copyright.  Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.

Revision 1.100: 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, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +2 -2 lines
Fix typo (and pasted lines). From OpenBSD.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Mon Dec 20 00:25:46 2010 UTC (13 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +13 -13 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.96.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:45:29 2010 UTC (14 years, 4 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.96.2.1: preferred, colored; branchpoint 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96.2.1: +1 -0 lines
Sync with HEAD.

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

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

Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Jun 6 04:50:08 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.97: preferred, colored
Changes since revision 1.97: +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.96.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:57 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +2 -2 lines
Sync with HEAD.

Revision 1.82.18.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:07 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.82.18.1: preferred, colored; branchpoint 1.82: preferred, colored
Changes since revision 1.82.18.1: +9 -17 lines
sync with head

Revision 1.97: 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.96: preferred, colored
Changes since revision 1.96: +2 -2 lines
s/cpu_fork/cpu_lwp_fork/ in comment.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Sun Dec 13 11:24:04 2009 UTC (15 years ago) by tsutsui
Branches: MAIN
CVS tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +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.95: download - view: text, markup, annotated - select for diffs
Fri Dec 11 18:28:35 2009 UTC (15 years ago) by tsutsui
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +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.94: download - view: text, markup, annotated - select for diffs
Fri Dec 4 18:06:28 2009 UTC (15 years ago) by tsutsui
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +6 -7 lines
Use common pmap_bootstrap_finalize() to initialize lwp0 uarea etc.
Also update some comment.
Compile test only.

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

Revision 1.82.18.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:09 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +26 -48 lines
sync with head.

Revision 1.84.4.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:08 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +25 -42 lines
Sync with HEAD.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Sun Jan 18 04:48:53 2009 UTC (15 years, 10 months ago) by isaki
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, jymxensuspend-base, jym-xensuspend
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +1 -4 lines
Delete 10 years old #if 0'd comments in intio.c, locore.s.
According to the old comment, the interrupt handler via intiotrap
should set his interrupt level again, but it's not right.  And
don't set it again by interrupt hander.

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

Revision 1.91: download - view: text, markup, annotated - select for diffs
Sun Jan 11 06:02:19 2009 UTC (15 years, 11 months ago) by tsutsui
Branches: MAIN
CVS tags: mjf-devfs2-base
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -2 lines
Fix inverted logic on FPU type check in fpfault().  From OpenBSD.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Sun Dec 21 06:16:06 2008 UTC (15 years, 11 months ago) by isaki
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +2 -14 lines
Remove an old comment (about amiga?).

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sun Dec 21 06:13:06 2008 UTC (15 years, 11 months ago) by isaki
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +17 -5 lines
- Split idepth from INTERRUPT_*REG macros to avoid confusing.
- timertrap: add idepth stuff, and use INTERRUPT_*REG macros.
- lev7intr: add idepth stuff.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Sun Dec 21 06:04:49 2008 UTC (15 years, 11 months ago) by isaki
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +1 -3 lines
Remove extiobase. x68k does not use it.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Dec 20 01:05:46 2008 UTC (15 years, 11 months ago) by isaki
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +4 -16 lines
Make pow(4) a hardware device.
Now pow(4) uses intio_intr_establish() which is a common interrupt
routine, but not powtrap which is a device specific routine.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Thu Dec 18 05:24:03 2008 UTC (15 years, 11 months ago) by isaki
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +4 -1 lines
Move external decl. of intiobase: dev/intiovar.h -> include/cpu.h
Move definition of intiobase: x68k/pmap_bootstrap.c -> x68k/locore.s
These synchronize code with other m68k ports.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Thu Dec 18 02:27:41 2008 UTC (15 years, 11 months ago) by isaki
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +1 -4 lines
Remove intr_reset(), which has disabled device interrupt just
after start in locore.s.  Initializing interrupt should be done
by each device driver.

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

Revision 1.82.14.1: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:02 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +6 -11 lines
Sync with HEAD.

Revision 1.82.22.1: download - view: text, markup, annotated - select for diffs
Fri Jun 27 15:11:18 2008 UTC (16 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +6 -11 lines
Sync with head.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Mon Jun 23 08:33:38 2008 UTC (16 years, 5 months ago) by isaki
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, 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, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +1 -3 lines
Make intio_intr_establish() use evcnt(9),
instead of dynamic allocation of intrnames/intrcnt.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Mon Jun 23 07:36:12 2008 UTC (16 years, 5 months ago) by isaki
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +6 -9 lines
Remove some unused intrnames/intrcnt.

Revision 1.80.10.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:49:44 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.80.10.1: preferred, colored; branchpoint 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.10.1: +3 -3 lines
sync with HEAD

Revision 1.80.8.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:36:25 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +3 -3 lines
Sync with HEAD.

Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:18:08 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +3 -3 lines
Sync with HEAD.

Revision 1.75.10.2: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:26:36 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.75.10.1: preferred, colored; branchpoint 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75.10.1: +3 -3 lines
sync with head

Revision 1.77.2.3: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:40:01 2007 UTC (17 years ago) by ad
Branches: vmlocking
Diff to: previous 1.77.2.2: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.2.2: +3 -3 lines
Sync with HEAD.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Mon Dec 3 15:34:26 2007 UTC (17 years ago) by ad
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, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-1, wrstuden-revivesa-base, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, mjf-devfs2
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3 lines
Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.

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

Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:58:04 2007 UTC (17 years, 2 months ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +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.77.10.3: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:25:46 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.77.10.2: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.10.2: +3 -2 lines
Sync with HEAD

Revision 1.75.10.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:31:16 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +8 -14 lines
sync with head.

Revision 1.76.30.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 07:04:11 2007 UTC (17 years, 3 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +6 -4 lines
Sync w/ NetBSD-4-RC_1

Revision 1.77.2.2: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:17:13 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.77.2.1: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.1: +6 -4 lines
Sync with head.

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

Revision 1.76.24.2: download - view: text, markup, annotated - select for diffs
Sun Jul 1 17:14:34 2007 UTC (17 years, 5 months ago) by bouyer
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.76.24.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.24.1: +2 -1 lines
Pull up following revision(s) (requested by mhitch in ticket #751):
	sys/arch/x68k/x68k/locore.s: revision 1.80
Ooops - I missed another call to trap.  Fixes PR#36567.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Wed Jun 27 17:55:51 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, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6, jmcneill-pm
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -2 lines
Ooops - I missed another call to trap.  Fixes PR#36567.

Revision 1.77.10.2: download - view: text, markup, annotated - select for diffs
Tue Jun 26 18:13:52 2007 UTC (17 years, 5 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.77.10.1: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.10.1: +4 -3 lines
Sync with HEAD.

Revision 1.76.24.1: download - view: text, markup, annotated - select for diffs
Mon Jun 18 09:31:10 2007 UTC (17 years, 6 months ago) by liamjfoy
Branches: netbsd-4
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +4 -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.79: download - view: text, markup, annotated - select for diffs
Tue Jun 12 03:34:33 2007 UTC (17 years, 6 months ago) by mhitch
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +4 -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.77.2.1: download - view: text, markup, annotated - select for diffs
Sun May 27 14:27:03 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -10 lines
Sync with head.

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

Revision 1.78: download - view: text, markup, annotated - select for diffs
Sat May 19 14:19:39 2007 UTC (17 years, 6 months ago) by isaki
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -10 lines
Adapt to the merge of yamt-idlelwp branch.
tested on my X68030.

Revision 1.76.26.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:51:44 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +1 -2 lines
Sync with HEAD.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Mar 4 02:17:15 2007 UTC (17 years, 9 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +1 -2 lines
Global ssir (similated software intnerrupt request?) is now declared
in softintr.c so remove it from locore.s.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:19:45 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp, wrstuden-fixsa, netbsd-4
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +1 -1 lines
merge ktrace-lwp.

Revision 1.72.2.4: download - view: text, markup, annotated - select for diffs
Sat Dec 18 09:31:45 2004 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.72.2.3: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.3: +2 -2 lines
Sync with HEAD.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Dec 15 05:03:23 2004 UTC (20 years ago) by jmc
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, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge
Branch point for: yamt-lazymbuf
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +2 -2 lines
Convert -MMU_68040 into a form gas will take now (-- isn't valid)

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

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

Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:42:57 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +36 -16 lines
Sync with HEAD

Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Mar 4 19:53:46 2004 UTC (20 years, 9 months ago) by nathanw
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-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-audio1-base, kent-audio1
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +1 -15 lines
Centralize identical copies of proc_trampoline code.

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

Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:30:30 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +36 -2 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.72: download - view: text, markup, annotated - select for diffs
Tue Apr 29 00:20:12 2003 UTC (21 years, 7 months ago) by itohy
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +9 -9 lines
white-space police

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

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

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

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Jan 18 07:14:21 2003 UTC (21 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +14 -289 lines
Merge the nathanw_sa branch.

Revision 1.66.4.4: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:09:09 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.66.4.3: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.4.3: +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.65.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:50:46 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +7 -2 lines
Sync kqueue branch with -current.

Revision 1.66.4.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:28:55 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.66.4.2: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.2: +2 -2 lines
Catch up to -current.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Dec 5 18:04:35 2001 UTC (23 years ago) by atatat
Branches: MAIN
CVS tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +2 -2 lines
It's not called "opt_fpuemulate.h", it's called "opt_fpu_emulate.h".  :)

Revision 1.66.4.2: download - view: text, markup, annotated - select for diffs
Sun Nov 18 18:44:18 2001 UTC (23 years, 1 month ago) by scw
Branches: nathanw_sa
Diff to: previous 1.66.4.1: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.1: +1313 -0 lines
MD Scheduler Activation bits for X68k.
Compile-tested only.

Revision 1.65.4.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:43:13 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +6 -1 lines
Catch up with -current.

Revision 1.66.4.1
Thu Sep 27 09:55:10 2001 UTC (23 years, 2 months ago) by scw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.66: +0 -1588 lines
file locore.s was added on branch nathanw_sa on 2001-11-18 18:44:18 +0000

Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Sep 27 09:55:10 2001 UTC (23 years, 2 months ago) by minoura
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Branch point for: nathanw_sa
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +6 -1 lines
Embed the version number of the interface between the bootloader and
kernel.  See amiga.

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

Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed May 30 15:24:40 2001 UTC (23 years, 6 months ago) by lukem
Branches: MAIN
CVS tags: thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, kqueue
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -1 lines
add missing   #include "opt_kgdb.h"

Revision 1.50.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:49:39 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.50.2.2: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.2: +556 -556 lines
Sync with HEAD (for UBC fixes).

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

Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Dec 8 02:59:12 2000 UTC (24 years ago) by itohy
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +557 -557 lines
1. Add register prefix.
2. movb #0x01,0x01800003@ -> movb #0x01,0x01800003 (found by tsutsui).

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Nov 26 11:47:27 2000 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +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.62: download - view: text, markup, annotated - select for diffs
Tue Nov 21 13:54:16 2000 UTC (24 years ago) by tsutsui
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +31 -31 lines
Define proper macros for FP frame offsets rather than magic numbers.

Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:30:24 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +75 -302 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.59.2.1: download - view: text, markup, annotated - select for diffs
Thu Aug 31 14:53:44 2000 UTC (24 years, 3 months ago) by minoura
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +4 -7 lines
Pullup rev.1.61.  Approved by thorpej.
Set fputype earlier, before proc0 initialization.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Aug 26 23:04:44 2000 UTC (24 years, 3 months ago) by minoura
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +4 -7 lines
Set fputype earlier, before proc0 initialization.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Aug 20 21:50:11 2000 UTC (24 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +39 -7 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.57.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:05:40 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +5 -39 lines
Sync w/ netbsd-1-5-base.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Jun 11 14:20:46 2000 UTC (24 years, 6 months ago) by minoura
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +4 -39 lines
G/C of unused interrupt stubs, and other cleanups.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed May 31 05:06:58 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -1 lines
Add a comment on single-processor systems about p_cpu being initialized
by fork1().

Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri May 26 21:20:28 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.56: preferred, colored
Changes since revision 1.56: +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.56: download - view: text, markup, annotated - select for diffs
Fri May 26 00:36:51 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +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.55: download - view: text, markup, annotated - select for diffs
Thu May 18 15:24:30 2000 UTC (24 years, 7 months ago) by minoura
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +5 -3 lines
Wrong logic.  Pointed out by Yasufumi.

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

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun May 14 14:10:10 2000 UTC (24 years, 7 months ago) by minoura
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +10 -239 lines
MD parts of uvm_pageidlezero.

Revision 1.41.2.5: download - view: text, markup, annotated - select for diffs
Sat Jan 15 17:35:53 2000 UTC (24 years, 11 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Diff to: previous 1.41.2.4: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.2.4: +1 -6 lines
Pull up revision 1.52 (via patch, requested by itohy):
  Change the implementation of ms(4) polling to use timeout(9)
  software timer, and change the clock interrupt handler not to
  lower interrupt level, in order to eliminate glitches on MPU
  interrupt levels.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Fri Jan 14 08:21:22 2000 UTC (24 years, 11 months ago) by itohy
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +1 -6 lines
- Do not lower interrupt level at clock interrupt.
  The original code lowers level 6 to 4, and if a
  clock interrupt occurs in splzs (or similar) the
  system may be in unpredictable state.
  To do such a hack correctly, checking the original priority
  and duplicated clock interrupts would be required.
  For now, just disable the hack.

- Do not use clock interrupt for ms polling.

Revision 1.50.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:20 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +14 -6 lines
Pull up to last week's -current.

Revision 1.41.2.1.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 30 13:33:20 1999 UTC (25 years ago) by itojun
Branches: kame
CVS tags: kame_141_19991130
Diff to: previous 1.41.2.1: preferred, colored; next MAIN 1.41.2.2: preferred, colored
Changes since revision 1.41.2.1: +43 -11 lines
bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.

The branch does not compile at all (due to the lack of ALTQ and some other
source code).  Please do not try to modify the branch, this is just for
referenre purposes.

synchronization to latest KAME will take place on HEAD branch soon.

Revision 1.41.2.4: download - view: text, markup, annotated - select for diffs
Sun Nov 21 15:44:19 1999 UTC (25 years ago) by he
Branches: netbsd-1-4
Diff to: previous 1.41.2.3: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.3: +11 -3 lines
Pull up part of revision 1.51 (via patch, requested by itohy):
  Fix the problem where single-step tracing of a trap instruction
  makes the system fall into kernel debugger.

Revision 1.50.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:39:59 1999 UTC (25 years, 1 month ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +14 -6 lines
Sync with -current

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

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Sep 23 15:24:34 1999 UTC (25 years, 2 months ago) by minoura
Branches: MAIN
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +12 -7 lines
Use m68k common cacheops.c.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Sep 17 20:07:21 1999 UTC (25 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -4 lines
Centralize the declaration and clearing of `cold'.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Aug 5 15:58:17 1999 UTC (25 years, 4 months ago) by minoura
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +218 -266 lines
Make use of _C_LABEL and other macros in m68k/asm.h.

Revision 1.41.2.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 2 21:49:44 1999 UTC (25 years, 4 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.41.2.1.2.1: preferred, colored; branchpoint 1.41.2.1: preferred, colored; next MAIN 1.41.2.2: preferred, colored
Changes since revision 1.41.2.1.2.1: +11 -1 lines
Update from trunk.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Aug 1 21:45:35 1999 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +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.41.2.3: download - view: text, markup, annotated - select for diffs
Thu Jun 24 15:58:16 1999 UTC (25 years, 5 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH001
Diff to: previous 1.41.2.2: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.2: +18 -1 lines
pullup 1.45->1.46 (minoura): Use mvme68k-derived delay() routine

Revision 1.41.2.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:04:14 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.41.2.1: preferred, colored
Changes since revision 1.41.2.1: +44 -11 lines
Sync w/ -current.

Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 20 19:34:17 1999 UTC (25 years, 5 months ago) by perry
Branches: netbsd-1-4
Diff to: previous 1.41.2.1: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.1: +26 -11 lines
pullup 1.41->1.42, 1.43->1.44 (minoura)

Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed May 5 13:46:20 1999 UTC (25 years, 7 months ago) by minoura
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +18 -1 lines
Use mvme68k-derived delay routine.
Now that we support various models, the old constant-loop delay routine
may cause problems.

Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 17:38:24 1999 UTC (25 years, 7 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-RELEASE, kame_14_19990705, kame_14_19990628
Branch point for: kame, chs-ubc2
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -1 lines
pullup 1.44->1.45 (christos); conflicts manually edited

Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Apr 30 16:50:44 1999 UTC (25 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -1 lines
Include opt_compat_sunos.h

Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Apr 28 16:16:58 1999 UTC (25 years, 7 months ago) by minoura
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +14 -8 lines
Handle fpunimp properly for fpu_emulate.

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

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Apr 18 14:37:09 1999 UTC (25 years, 8 months ago) by minoura
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +14 -5 lines
Handle F line emulation correctly when FPU_EMULATE is enabled.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Mar 24 05:51:18 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.40: preferred, colored
Changes since revision 1.40: +1 -46 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.40: download - view: text, markup, annotated - select for diffs
Tue Mar 16 16:30:23 1999 UTC (25 years, 9 months ago) by minoura
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +24 -169 lines
Merged minoura_x68k_bus_h branch.

Revision 1.37.4.8: download - view: text, markup, annotated - select for diffs
Sun Mar 14 16:51:02 1999 UTC (25 years, 9 months ago) by minoura
Branches: minoura_x68k_bus_h
Diff to: previous 1.37.4.7: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.4.7: +12 -12 lines
Sync.

Revision 1.37.4.7: download - view: text, markup, annotated - select for diffs
Sun Mar 14 08:12:20 1999 UTC (25 years, 9 months ago) by minoura
Branches: minoura_x68k_bus_h
Diff to: previous 1.37.4.6: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.4.6: +1 -23 lines
scsirom driver to probe CZ-6BS1-clone and Mach-2 SCSI host adaptor board
itself.
Modifications to spc and mha drivers.
NOTE: mha is not fully bus.h'fied.

Revision 1.37.4.6: download - view: text, markup, annotated - select for diffs
Fri Mar 12 15:13:38 1999 UTC (25 years, 9 months ago) by minoura
Branches: minoura_x68k_bus_h
Diff to: previous 1.37.4.5: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.4.5: +16 -61 lines
Gather interrupt statics.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Feb 26 16:07:08 1999 UTC (25 years, 9 months ago) by is
Branches: MAIN
CVS tags: minoura_x68k_bus_h-base3
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -4 lines
x68k specific part of fix for PR 6152

Revision 1.37.4.5: download - view: text, markup, annotated - select for diffs
Sat Feb 13 18:01:42 1999 UTC (25 years, 10 months ago) by minoura
Branches: minoura_x68k_bus_h
Diff to: previous 1.37.4.4: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.4.4: +4 -50 lines
intiotrap priority level change (splhigh -> default).
Handle SPC interrupts via the intiotrap.
XXX: exspc cannot be used until the mha driver is bus.h'fied.

Revision 1.37.4.4: download - view: text, markup, annotated - select for diffs
Wed Feb 10 16:05:13 1999 UTC (25 years, 10 months ago) by minoura
Branches: minoura_x68k_bus_h
Diff to: previous 1.37.4.3: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.4.3: +6 -1 lines
Update uvmexp (cnt for old VM) on intiotrap.

Revision 1.24.2.2: download - view: text, markup, annotated - select for diffs
Fri Feb 5 06:56:09 1999 UTC (25 years, 10 months ago) by cgd
Branches: netbsd-1-3
Diff to: previous 1.24.2.1: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.1: +4 -1 lines
pull up patch to make mouse optional.  Previously it was mandatory
because some mouse-related functions were referenced from other files.
Never committed to trunk because -current uses MI zs driver.  (minoura)

Revision 1.37.4.3: download - view: text, markup, annotated - select for diffs
Tue Feb 2 23:47:35 1999 UTC (25 years, 10 months ago) by minoura
Branches: minoura_x68k_bus_h
Diff to: previous 1.37.4.2: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.4.2: +3 -1 lines
Delete fdctrap routine.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Feb 2 09:16:52 1999 UTC (25 years, 10 months ago) by itohy
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +8 -9 lines
Trivial asm-level optimizations.

Revision 1.37.4.2: download - view: text, markup, annotated - select for diffs
Sat Jan 30 15:07:41 1999 UTC (25 years, 10 months ago) by minoura
Branches: minoura_x68k_bus_h
Diff to: previous 1.37.4.1: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.4.1: +3 -2 lines
Added DMAC driver.

Revision 1.37.4.1: download - view: text, markup, annotated - select for diffs
Wed Dec 23 16:47:34 1998 UTC (25 years, 11 months ago) by minoura
Branches: minoura_x68k_bus_h
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -46 lines
First import of bus_space implementation for x68k port.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Nov 11 06:43:52 1998 UTC (26 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: minoura_x68k_bus_h-base2, minoura_x68k_bus_h-base, kenh-if-detach-base, kenh-if-detach
Branch point for: minoura_x68k_bus_h
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +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.24.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 13 21:52:51 1998 UTC (26 years, 2 months ago) by cgd
Branches: netbsd-1-3
CVS tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +21 -16 lines
pull up something resembling the changes in rev 1.29, via patch.  (minoura)

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

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

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Sep 9 16:42:51 1998 UTC (26 years, 3 months ago) by minoura
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -2 lines
Make device probe/attach sessions to be executed at splhigh.
mha driver used interrupt driven I/O.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Sep 9 00:09:19 1998 UTC (26 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +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.32: download - view: text, markup, annotated - select for diffs
Mon Sep 7 14:14:34 1998 UTC (26 years, 3 months ago) by minoura
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +13 -13 lines
Cleanup _doboot, fixing the 040 reboot bug.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Aug 5 16:08:38 1998 UTC (26 years, 4 months ago) by minoura
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +7 -5 lines
Switched to MI zs driver.

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

Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Jun 30 11:59:12 1998 UTC (26 years, 5 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +158 -58 lines
sync with -current after a long silence

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun May 24 19:32:49 1998 UTC (26 years, 6 months ago) by is
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -3 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.27: download - view: text, markup, annotated - select for diffs
Sat May 23 20:51:14 1998 UTC (26 years, 6 months ago) by is
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -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.26: download - view: text, markup, annotated - select for diffs
Mon Jan 5 23:16:34 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +12 -43 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.25: download - view: text, markup, annotated - select for diffs
Thu Jan 1 19:53:12 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +8 -9 lines
- Make pmap_activate() and pmap_deactivate() take a struct proc *.
- Define active_user_pmap() and use it in the appropriate places (from hp300
  port).

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Oct 19 20:41:02 1997 UTC (27 years, 2 months ago) by oki
Branches: MAIN
CVS tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Branch point for: netbsd-1-3
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +9 -3 lines
add support for MK-HA2 Mach-2 SCSI host adaptor.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Oct 15 23:39:49 1997 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: marc-pcmcia-base
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
Pulldown from marc-pcmcia branch: minimal changes to change x68k port's
"com" (now "xcom") driver to avoid name collision with the more
heaviliy-used "com" driver.

Revision 1.19.4.3: download - view: text, markup, annotated - select for diffs
Wed Oct 15 23:21:36 1997 UTC (27 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.19.4.2: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.4.2: +3 -3 lines
Minimal changes to rename the x68k port's "com" driver to "xcom", to
avoid a namespace collision with the more heavily-used "com" driver,
which needs to be declared in sys/conf/files.

Revision 1.19.4.2: download - view: text, markup, annotated - select for diffs
Tue Oct 14 10:21:03 1997 UTC (27 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.19.4.1: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.4.1: +41 -47 lines
Update marc-pcmcia branch from trunk.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Oct 12 18:25:36 1997 UTC (27 years, 2 months ago) by oki
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +40 -46 lines
Replace trap1 and trap2 to native 4.3 process.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Oct 8 16:02:04 1997 UTC (27 years, 2 months ago) by oki
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Use _ASM_LABEL.

Revision 1.19.4.1: download - view: text, markup, annotated - select for diffs
Tue Sep 16 03:49:40 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +63 -50 lines
Update marc-pcmcia branch from trunk.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Sep 12 09:23:18 1997 UTC (27 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +63 -50 lines
Add and use fputype.  Optimize floating point save/restore routines a bit more
if only one CPU type is defined.  Eliminate FPCOPROC.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Jun 26 22:28:50 1997 UTC (27 years, 5 months ago) by is
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp, bouyer-scsipi
Branch point for: marc-pcmcia
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -1 lines
The recent buserr handler cleanup in  the Amiga locore.s made the label
_buserr point to the 68020/030 buserr code _only_. This has broken access
error handling in the 060 support code.
This is repaired by jumping to _buserr60 from the 060SP, and by providing
a _buserr60 label identical to the _buserr in the unchanged m68k ports
using the 68060.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue May 13 18:01:17 1997 UTC (27 years, 7 months ago) by gwr
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
Eliminate references to vmspace.vm_pmap

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Apr 25 01:53:09 1997 UTC (27 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +8 -97 lines
Adjust for <m68k/m68k/trap_subr.s>

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

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

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Mar 16 11:05:20 1997 UTC (27 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -39 lines
Use <m68k/m68k/support.s>

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Feb 2 08:48:35 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.12: preferred, colored
Changes since revision 1.12: +1 -31 lines
Garbage-collect extra copypage()

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Jan 18 13:19:57 1997 UTC (27 years, 11 months ago) by oki
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +12 -16 lines
silly little optimization.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jan 18 11:16:57 1997 UTC (27 years, 11 months ago) by oki
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -6 lines
bxx --> jxx

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Jan 13 14:04:53 1997 UTC (27 years, 11 months ago) by oki
Branches: MAIN
CVS tags: thorpej-setroot
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +310 -56 lines
first commit of M68060 and FPU_EMULATE support.
M68060 support by YAMASAKI Yasushi, few arranged by me.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Dec 9 15:29:08 1996 UTC (28 years ago) by oki
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
CACHE4_OFF --> CACHE40_OFF, compile again.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Nov 6 20:19:59 1996 UTC (28 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +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.2.4.4: download - view: text, markup, annotated - select for diffs
Fri Sep 6 00:00:18 1996 UTC (28 years, 3 months ago) by jtc
Branches: netbsd-1-2
CVS tags: netbsd-1-2-RELEASE, netbsd-1-2-PATCH001
Diff to: previous 1.2.4.3: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.3: +2 -2 lines
Pulled up rev 1.6 by request from oki

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Sep 3 02:07:34 1996 UTC (28 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -2 lines
Remove gratuitous insn.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Aug 19 17:22:14 1996 UTC (28 years, 4 months ago) by oki
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Oops, added forgotten "-".  closes port-x68k/2706.

Revision 1.2.4.3: download - view: text, markup, annotated - select for diffs
Fri Aug 16 02:12:36 1996 UTC (28 years, 4 months ago) by jtc
Branches: netbsd-1-2
Diff to: previous 1.2.4.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.2: +3 -3 lines
Pulled up from rev 1.5 by request from oki

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Aug 11 15:28:36 1996 UTC (28 years, 4 months ago) by oki
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
fixed use of uninitialized pointer.

Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Tue Jul 16 18:18:39 1996 UTC (28 years, 5 months ago) by jtc
Branches: netbsd-1-2
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.1: +27 -6 lines
Pulled up from rev 1.4 by request from Masaru Oki

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jul 16 16:18:34 1996 UTC (28 years, 5 months ago) by oki
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +27 -6 lines
From Ignatios Souvatzis <is@NetBSD.ORG>:
	properly distinguish between a bus error and an MMU fault
	on systems with 68030 MMU

Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Wed May 29 17:34:05 1996 UTC (28 years, 6 months ago) by oki
Branches: netbsd-1-2
CVS tags: netbsd-1-2-BETA
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -4 lines
pull up version 1.3 from the main branch.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed May 29 17:19:07 1996 UTC (28 years, 6 months ago) by oki
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -4 lines
fixed reboot problem on Xellent30.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri May 17 12:22:22 1996 UTC (28 years, 7 months ago) by oki
Branches: MAIN
CVS tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +8 -1 lines
Add a "_kernel_text" symbol, for libkvm.  From Gordon Ross.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun May 5 12:17:22 1996 UTC (28 years, 7 months ago) by oki
Branches: MAIN
Initial revision

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun May 5 12:17:03 1996 UTC (28 years, 7 months ago) by oki
Branches: Masaru
CVS tags: X68k_960505
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
NetBSD/x68k, by Masaru Oki.

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>