The NetBSD Project

CVS log for src/sys/arch/next68k/include/cpu.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.58 / (download) - annotate - [select for diffs], Sat Jan 20 00:15:32 2024 UTC (5 weeks, 3 days ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.57: +1 -55 lines
Diff to previous 1.57 (colored)

Largely unify the <machine/cpu.h> headers on the m68k platforms.

Revision 1.57 / (download) - annotate - [select for diffs], Fri Jan 19 18:18:55 2024 UTC (5 weeks, 3 days ago) by thorpej
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

Consistently use "intr_depth" as the name of the interrupt depth counter
on m68k platforms.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Jan 18 14:39:07 2024 UTC (5 weeks, 4 days ago) by thorpej
Branch: MAIN
Changes since 1.55: +1 -7 lines
Diff to previous 1.55 (colored)

Make the M68K_MMU_* defines real kernel options, available in opt_m68k_arch.h.
For 68030, 68040, and 68060, infer M68K_MMU_MOTOROLA.  For 68010 and 68020, it
must be an explicit option (set in std.${MACHINE} or, in the case of hp300,
inferred from the specific model option).

Revision 1.55 / (download) - annotate - [select for diffs], Thu Jan 18 13:46:14 2024 UTC (5 weeks, 4 days ago) by thorpej
Branch: MAIN
Changes since 1.54: +9 -10 lines
Diff to previous 1.54 (colored)

Switch next68k over to common interrupt dispatch and G/C __HAVE_LEGACY_INTRCNT.
Also included is G/C of the old ssir stuff that's no longer used.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Jan 13 21:40:54 2024 UTC (6 weeks, 2 days ago) by thorpej
Branch: MAIN
Changes since 1.53: +1 -3 lines
Diff to previous 1.53 (colored)

Switch next68k over to the common m68k vector table.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Jan 9 04:16:26 2024 UTC (7 weeks ago) by thorpej
Branch: MAIN
Changes since 1.52: +1 -3 lines
Diff to previous 1.52 (colored)

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.50.26.2 / (download) - annotate - [select for diffs], Wed Feb 15 19:35:14 2023 UTC (12 months, 1 week ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.50.26.1: +6 -8 lines
Diff to previous 1.50.26.1 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

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

	sys/arch/next68k/next68k/nextrom.h: revision 1.13
	sys/arch/next68k/dev/nextdisplayvar.h: revision 1.6
	sys/arch/next68k/dev/intiovar.h: revision 1.8
	sys/arch/next68k/dev/nextcons.c: revision 1.12
	sys/arch/next68k/next68k/locore.s: revision 1.69
	sys/arch/next68k/dev/nextcons.c: revision 1.13
	sys/arch/next68k/dev/nextcons.c: revision 1.14
	sys/arch/next68k/dev/nextdisplay.c: revision 1.30
	sys/arch/next68k/stand/boot/boot.c: revision 1.13
	sys/arch/next68k/next68k/nextrom.c: revision 1.28
	sys/arch/next68k/next68k/nextrom.c: revision 1.29
	sys/arch/next68k/next68k/pmap_bootstrap.c: revision 1.46
	sys/arch/next68k/next68k/pmap_bootstrap.c: revision 1.47
	sys/arch/next68k/include/cpu.h: revision 1.52
	sys/arch/next68k/dev/intio.c: revision 1.17
	sys/arch/next68k/dev/intio.c: revision 1.18
	sys/arch/next68k/dev/intio.c: revision 1.19
	sys/arch/next68k/next68k/locore.s: revision 1.72
	sys/arch/next68k/stand/boot/version: revision 1.6
	sys/arch/next68k/include/bus_space.h: revision 1.21
	sys/arch/next68k/include/bus_space.h: revision 1.22
	sys/arch/next68k/dev/nextdisplay.c: revision 1.26
	sys/arch/next68k/include/bus_space.h: revision 1.23
	sys/arch/next68k/dev/nextdisplay.c: revision 1.27
	sys/arch/next68k/dev/nextdisplay.c: revision 1.28
	sys/arch/next68k/dev/nextdisplay.c: revision 1.29

Misc KNF and cosmetics.

Use proper C99 int types.

Remove trailing spaces and TABs.

Handle NeXT Turbo VRAM regions properly.
Info from Andreas Grabher on port-next68k@:
 https://mail-index.netbsd.org/port-next68k/2023/02/06/msg000052.html

Also refactor bus_space_map(9) and fix (unused) bus_space_mmap(9).

Add and check machine type NeXT_CUBE_TURBO (type 8).
Info from Andreas Grabher on port-next68k@.

NeXT Turbo Color doesn't have NEXT_P_C16_CMD_REG.
Info from Andreas Grabher on port-next68k@.

Bump version again to denote NeXT_CUBE_TURBO support.

Revision 1.49.4.2 / (download) - annotate - [select for diffs], Wed Feb 15 19:28:29 2023 UTC (12 months, 1 week ago) by martin
Branch: netbsd-9
Changes since 1.49.4.1: +6 -8 lines
Diff to previous 1.49.4.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

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

	sys/arch/next68k/next68k/nextrom.h: revision 1.13
	sys/arch/next68k/dev/nextdisplayvar.h: revision 1.6
	sys/arch/next68k/dev/intiovar.h: revision 1.8
	sys/arch/next68k/dev/nextcons.c: revision 1.12
	sys/arch/next68k/next68k/locore.s: revision 1.69
	sys/arch/next68k/dev/nextcons.c: revision 1.13
	sys/arch/next68k/dev/nextcons.c: revision 1.14
	sys/arch/next68k/include/bus_space.h: revision 1.18
	sys/arch/next68k/dev/nextdisplay.c: revision 1.30
	sys/arch/next68k/include/bus_space.h: revision 1.19
	sys/arch/next68k/stand/boot/boot.c: revision 1.13
	sys/arch/next68k/next68k/nextrom.c: revision 1.28
	sys/arch/next68k/next68k/nextrom.c: revision 1.29
	sys/arch/next68k/next68k/pmap_bootstrap.c: revision 1.46
	sys/arch/next68k/next68k/pmap_bootstrap.c: revision 1.47
	sys/arch/next68k/include/cpu.h: revision 1.52
	sys/arch/next68k/dev/intio.c: revision 1.17 (patch)
	sys/arch/next68k/dev/intio.c: revision 1.18 (patch)
	sys/arch/next68k/dev/intio.c: revision 1.19 (patch)
	sys/arch/next68k/next68k/locore.s: revision 1.72
	sys/arch/next68k/stand/boot/version: revision 1.6
	sys/arch/next68k/include/bus_space.h: revision 1.21
	sys/arch/next68k/include/bus_space.h: revision 1.22
	sys/arch/next68k/dev/nextdisplay.c: revision 1.26
	sys/arch/next68k/include/bus_space.h: revision 1.23
	sys/arch/next68k/dev/nextdisplay.c: revision 1.27
	sys/arch/next68k/dev/nextdisplay.c: revision 1.28
	sys/arch/next68k/dev/nextdisplay.c: revision 1.29

 s/impliment/implement/ in comment.

Remove cargo-culted '#if 0' code that was designed to produce a
compile-time error if any of the bus_space_*_8 functions was used,
but was documented that it produces a link-time error.

Misc KNF and cosmetics.

Use proper C99 int types.

Remove trailing spaces and TABs.

Handle NeXT Turbo VRAM regions properly.
Info from Andreas Grabher on port-next68k@:
 https://mail-index.netbsd.org/port-next68k/2023/02/06/msg000052.html

Also refactor bus_space_map(9) and fix (unused) bus_space_mmap(9).

Add and check machine type NeXT_CUBE_TURBO (type 8).
Info from Andreas Grabher on port-next68k@.

NeXT Turbo Color doesn't have NEXT_P_C16_CMD_REG.
Info from Andreas Grabher on port-next68k@.

Bump version again to denote NeXT_CUBE_TURBO support.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Feb 11 02:31:34 2023 UTC (12 months, 2 weeks ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.51: +6 -8 lines
Diff to previous 1.51 (colored)

Handle NeXT Turbo VRAM regions properly.

Info from Andreas Grabher on port-next68k@:
 https://mail-index.netbsd.org/port-next68k/2023/02/06/msg000052.html

Also refactor bus_space_map(9) and fix (unused) bus_space_mmap(9).

Revision 1.49.4.1 / (download) - annotate - [select for diffs], Wed Feb 1 18:56:44 2023 UTC (12 months, 3 weeks ago) by martin
Branch: netbsd-9
Changes since 1.49: +1 -4 lines
Diff to previous 1.49 (colored)

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

	sys/arch/next68k/next68k/machdep.c: revision 1.117
	sys/arch/next68k/dev/esp.c: revision 1.65
	sys/arch/next68k/include/cpu.h: revision 1.51
	sys/arch/next68k/include/bus_space.h: revision 1.20
	sys/arch/next68k/next68k/clock.c: revision 1.13

next68k: Fix delay_divisor value for proper delay(9) on 68040.

next68k: Specify proper constraints for bus_space_read region and multi ops.

These functions write the read data into memory at a specified pointer,
but without the "memory" constraint gcc could optimize out these ops
if the memory is allocated on local stack.

With this fix nextkbd(4) works again.
Should be pulled up to netbsd-10 and netbsd-9.

next68k: Fix silent stall of next68k esp(4) SCSI.

next68k esp(4) driver requires nextdma(4) interrupts at ipl 6
during ncr53c9x_intr() for esp(4) at ipl 3.  It worked on netbsd-5
and prior, but on netbsd-5 splbio() was changed from ipl 3 to 6
for SMP support and on netbsd-6 ncr53c9x driver was changed to
use mutex(9) instead of simple_lock(9), so nextdma interrupts
were no longer raised during ncr53c9x interrupt handler.

For now, just call mutex_exit(9) and mutex_enter(9) during
waiting nextdma(4) interrupts in MD esp_dma_intr() handler.

This could be wrong and the interrupt handler for nextdma should
be reorganized, but it just works.

Should be pulled up to netbsd-10 and netbsd-9.

Revision 1.50.26.1 / (download) - annotate - [select for diffs], Wed Feb 1 18:55:11 2023 UTC (12 months, 3 weeks ago) by martin
Branch: netbsd-10
Changes since 1.50: +1 -4 lines
Diff to previous 1.50 (colored)

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

	sys/arch/next68k/next68k/machdep.c: revision 1.117
	sys/arch/next68k/dev/esp.c: revision 1.65
	sys/arch/next68k/include/cpu.h: revision 1.51
	sys/arch/next68k/include/bus_space.h: revision 1.20
	sys/arch/next68k/next68k/clock.c: revision 1.13

next68k: Fix delay_divisor value for proper delay(9) on 68040.

next68k: Specify proper constraints for bus_space_read region and multi ops.

These functions write the read data into memory at a specified pointer,
but without the "memory" constraint gcc could optimize out these ops
if the memory is allocated on local stack.

With this fix nextkbd(4) works again.
Should be pulled up to netbsd-10 and netbsd-9.

next68k: Fix silent stall of next68k esp(4) SCSI.

next68k esp(4) driver requires nextdma(4) interrupts at ipl 6
during ncr53c9x_intr() for esp(4) at ipl 3.  It worked on netbsd-5
and prior, but on netbsd-5 splbio() was changed from ipl 3 to 6
for SMP support and on netbsd-6 ncr53c9x driver was changed to
use mutex(9) instead of simple_lock(9), so nextdma interrupts
were no longer raised during ncr53c9x interrupt handler.

For now, just call mutex_exit(9) and mutex_enter(9) during
waiting nextdma(4) interrupts in MD esp_dma_intr() handler.

This could be wrong and the interrupt handler for nextdma should
be reorganized, but it just works.

Should be pulled up to netbsd-10 and netbsd-9.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Jan 27 15:21:52 2023 UTC (13 months ago) by tsutsui
Branch: MAIN
Changes since 1.50: +1 -4 lines
Diff to previous 1.50 (colored)

next68k: Fix delay_divisor value for proper delay(9) on 68040.

Revision 1.48.16.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:47 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.48.16.1: +2 -3 lines
Diff to previous 1.48.16.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

Merge changes from current as of 20200406

Revision 1.50 / (download) - annotate - [select for diffs], Sat Nov 23 19:40:36 2019 UTC (4 years, 3 months ago) by ad
Branch: 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, netbsd-10-base, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: netbsd-10
Changes since 1.49: +2 -3 lines
Diff to previous 1.49 (colored)

cpu_need_resched():

- Remove all code that should be MI, leaving the bare minimum under arch/.
- Make the required actions very explicit.
- Pass in LWP pointer for convenience.
- When a trap is required on another CPU, have the IPI set it locally.
- Expunge cpu_did_resched().

Revision 1.48.16.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:35 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.48: +1 -2 lines
Diff to previous 1.48 (colored)

Sync with HEAD

Revision 1.49 / (download) - annotate - [select for diffs], Mon Feb 18 01:12:24 2019 UTC (5 years ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.48: +1 -2 lines
Diff to previous 1.48 (colored)

Refactor the 68040 writeback() from each m68k port's trap handler into a
shared copy: m68040_writeback().  It is essentially a copy of the Atari
version, with some minor cosmetic tweaks and one small performance optimization
from the mvme68k port.

Tested by rjs@ on a Quadra 950.  (Thanks!)

Revision 1.46.6.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:33 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.46.6.1: +2 -2 lines
Diff to previous 1.46.6.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

update from HEAD

Revision 1.47.6.1 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:17 2017 UTC (7 years ago) by skrll
Branch: nick-nhusb
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with HEAD

Revision 1.47.10.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:22 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

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

Revision 1.48 / (download) - annotate - [select for diffs], Sat Dec 17 14:36:30 2016 UTC (7 years, 2 months ago) by flxd
Branch: 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-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

Fix typo "one the" and architecture where appropriate.

Revision 1.46.6.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:16 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.46: +6 -3 lines
Diff to previous 1.46 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.45.4.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:01 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.45.4.1: +6 -3 lines
Diff to previous 1.45.4.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.46.10.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:20 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.46: +6 -3 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

sync with head

Revision 1.47 / (download) - annotate - [select for diffs], Sat Oct 19 19:20:59 2013 UTC (10 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, 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, localcount-20160914
Branch point for: pgoyette-localcount, nick-nhusb
Changes since 1.46: +6 -3 lines
Diff to previous 1.46 (colored)

make cpu_need_resched() macros consistent; __USE flags

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:44 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.45: +5 -7 lines
Diff to previous 1.45 (colored)

sync with head

Revision 1.45.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:32:49 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.45: +5 -7 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

merge to -current.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Feb 2 16:59:43 2012 UTC (12 years ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.45: +5 -7 lines
Diff to previous 1.45 (colored)

Always include <m68k/cpu.h> (i.e. outside #if defined(_KERNEL))
for crash(8) as amiga and sun3.  There are _KERNEL protections in it.

Briefly tested by "build.sh -m news68k -U build".
Further possible botch will be fixed later.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:20 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.43: +2 -46 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Sync with HEAD.

Revision 1.41.4.3 / (download) - annotate - [select for diffs], Tue May 31 03:04:12 2011 UTC (12 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.41.4.2: +0 -5 lines
Diff to previous 1.41.4.2 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

sync with head

Revision 1.45 / (download) - annotate - [select for diffs], Mon May 16 13:22:54 2011 UTC (12 years, 9 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.44: +1 -6 lines
Diff to previous 1.44 (colored)

- merge and move pasted m68k MD setreg() functions into m68k/m68k_machdep.c
- move m68881_save() and m68881_restore() declarations into <m68k/m68k.h>

Briefly tested and no obvious breakage on atari, sun3, and x68k.

Revision 1.41.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:27 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.41.4.1: +2 -63 lines
Diff to previous 1.41.4.1 (colored) to branchpoint 1.41 (colored)

sync with head

Revision 1.43.4.1 / (download) - annotate - [select for diffs], Thu Feb 17 11:59:52 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.43: +2 -41 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Sync with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Tue Feb 8 20:20:21 2011 UTC (13 years ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base7, jym-xensuspend-nbase, jym-xensuspend-base, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.43: +2 -41 lines
Diff to previous 1.43 (colored)

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.43 / (download) - annotate - [select for diffs], Wed Dec 22 02:42:28 2010 UTC (13 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.42: +1 -23 lines
Diff to previous 1.42 (colored)

Collect cpu_info and friends and move to m68k/include/cpu.h
Add a define __HAVE_CPU_DATA_FIRST which means that cpu_data is the first
member in struct cpu_info.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:44:59 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.41: +2 -1 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Sync with HEAD.

Revision 1.40.20.2 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:29 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.40.20.1: +2 -1 lines
Diff to previous 1.40.20.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync with head.

Revision 1.41.4.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:24 2010 UTC (13 years, 7 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.41: +2 -1 lines
Diff to previous 1.41 (colored)

sync with head

Revision 1.42 / (download) - annotate - [select for diffs], Sun Jun 6 04:50:08 2010 UTC (13 years, 8 months ago) by mrg
Branch: 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
Changes since 1.41: +2 -1 lines
Diff to previous 1.41 (colored)

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.40.20.1 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:46 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.40: +1 -3 lines
Diff to previous 1.40 (colored)

sync with head

Revision 1.41 / (download) - annotate - [select for diffs], Wed Oct 21 21:12:01 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.40: +1 -3 lines
Diff to previous 1.40 (colored)

Remove uarea swap-out functionality:

- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code.  Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:19:49 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.39: +1 -1 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

sync with HEAD

Revision 1.40 / (download) - annotate - [select for diffs], Wed Oct 17 19:56:04 2007 UTC (16 years, 4 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, 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, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp
Changes since 1.39: +1 -1 lines
Diff to previous 1.39 (colored)

Merge the ppcoea-renovation branch to HEAD.

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

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

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

Revision 1.33.10.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:24:34 2007 UTC (16 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.33.10.1: +10 -9 lines
Diff to previous 1.33.10.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync with HEAD

Revision 1.29.8.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:28:28 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.29.8.1: +14 -27 lines
Diff to previous 1.29.8.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

sync with head.

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Mon Aug 20 18:38:35 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.33.2.1: +10 -9 lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:47:33 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.37: +10 -9 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.

Revision 1.37.8.1 / (download) - annotate - [select for diffs], Thu Aug 9 02:37:00 2007 UTC (16 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.37: +10 -9 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Tue Aug 7 18:05:34 2007 UTC (16 years, 6 months ago) by matt
Branch: matt-mips64
Changes since 1.37: +10 -9 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.

Revision 1.39 / (download) - annotate - [select for diffs], Sat Aug 4 13:00:45 2007 UTC (16 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, matt-mips64-base, bouyer-xenamd64
Branch point for: matt-armv6
Changes since 1.38: +9 -9 lines
Diff to previous 1.38 (colored)

TAB/space cleanup.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Aug 4 12:53:31 2007 UTC (16 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.37: +2 -1 lines
Diff to previous 1.37 (colored)

Add ci_cpuid where it's missing.

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:01:07 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.33: +4 -18 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with head.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Sun May 27 12:27:53 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.33: +4 -18 lines
Diff to previous 1.33 (colored)

Sync with head.

Revision 1.33.10.1 / (download) - annotate - [select for diffs], Tue May 22 17:27:17 2007 UTC (16 years, 9 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.33: +4 -18 lines
Diff to previous 1.33 (colored)

Update to HEAD.

Revision 1.37 / (download) - annotate - [select for diffs], Mon May 21 16:37:04 2007 UTC (16 years, 9 months ago) by tsutsui
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, hpcarm-cleanup
Branch point for: nick-csl-alignment, matt-mips64, jmcneill-pm
Changes since 1.36: +1 -13 lines
Diff to previous 1.36 (colored)

Move declarations of m68k common functions
from <machine/cpu.h> to <m68k/m68k.h>.
While here, remove some obsolete function decls.

Revision 1.36 / (download) - annotate - [select for diffs], Mon May 21 15:55:43 2007 UTC (16 years, 9 months ago) by tsutsui
Branch: MAIN
Changes since 1.35: +1 -3 lines
Diff to previous 1.35 (colored)

Remove obsolete "extern int want_resched" decls.

Revision 1.35 / (download) - annotate - [select for diffs], Mon May 21 15:06:18 2007 UTC (16 years, 9 months ago) by tsutsui
Branch: MAIN
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 (colored)

Adapt rest of m68k ports to yamt-idlelwp. Compile tested only.

Revision 1.34 / (download) - annotate - [select for diffs], Sun May 20 04:29:49 2007 UTC (16 years, 9 months ago) by mhitch
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Add missing call to lwp_startup() in lwp_trampoline() (which was renamed
from proc_trampoline to match the other ports).

A DIAGNOSTIC kernel will now boot and run.  LOCKDEBUG still doesn't work yet.
Also, my amiga no longer loses time.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:49:43 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.32: +5 -5 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:27 2007 UTC (16 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.32: +5 -5 lines
Diff to previous 1.32 (colored)

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

Revision 1.29.8.1 / (download) - annotate - [select for diffs], Mon Feb 26 09:07:40 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.29: +6 -5 lines
Diff to previous 1.29 (colored)

sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Feb 16 02:53:49 2007 UTC (17 years ago) by ad
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.31: +1 -2 lines
Diff to previous 1.31 (colored)

Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
via a soft interrupt. In the near future, softclock will be run from process
context.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:07 2007 UTC (17 years ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.30: +6 -4 lines
Diff to previous 1.30 (colored)

Merge newlock2 to head.

Revision 1.30.20.1 / (download) - annotate - [select for diffs], Tue Feb 6 20:54:26 2007 UTC (17 years ago) by ad
Branch: newlock2
Changes since 1.30: +6 -4 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Update m68k pasteware.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:25 2005 UTC (18 years, 2 months ago) by christos
Branch: 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, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.29: +1 -1 lines
Diff to previous 1.29 (colored)

merge ktrace-lwp.

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:18 2005 UTC (18 years, 10 months ago) by kent
Branch: kent-audio2
Changes since 1.28: +17 -17 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with -current

Revision 1.22.2.6 / (download) - annotate - [select for diffs], Mon Jan 24 08:34:18 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.22.2.5: +17 -17 lines
Diff to previous 1.22.2.5 (colored) next main 1.23 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jan 19 01:58:21 2005 UTC (19 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, 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
Branch point for: yamt-lazymbuf
Changes since 1.28: +17 -17 lines
Diff to previous 1.28 (colored)

de-__P, remove register, ansify.

Revision 1.22.2.5 / (download) - annotate - [select for diffs], Tue Oct 19 15:56:37 2004 UTC (19 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.22.2.4: +3 -2 lines
Diff to previous 1.22.2.4 (colored)

Sync with HEAD

Revision 1.28 / (download) - annotate - [select for diffs], Sun Sep 26 21:44:27 2004 UTC (19 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: kent-audio2
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored)

don't expose cpu_info to userland.

Revision 1.22.2.4 / (download) - annotate - [select for diffs], Fri Sep 24 10:53:17 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.22.2.3: +3 -7 lines
Diff to previous 1.22.2.3 (colored)

Sync with HEAD.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Sep 22 11:32:03 2004 UTC (19 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.26: +3 -7 lines
Diff to previous 1.26 (colored)

move some per-cpu data definitions to MI place so that they can be modified
without touching all ports.  discussed on tech-kern@.

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:19:42 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.22.2.2: +1 -1 lines
Diff to previous 1.22.2.2 (colored)

Fix the sync with head I botched.

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:38:17 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.22.2.1: +0 -0 lines
Diff to previous 1.22.2.1 (colored)

Sync with HEAD.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:38:38 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.22: +38 -18 lines
Diff to previous 1.22 (colored)

Sync with HEAD

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jan 4 11:33:30 2004 UTC (20 years, 1 month ago) by jdolecek
Branch: 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
Changes since 1.25: +1 -2 lines
Diff to previous 1.25 (colored)

Rearrange process exit path to avoid need to free resources from different
process context ('reaper').

From within the exiting process context:
* deactivate pmap and free vmspace while we can still block
* introduce MD cpu_lwp_free() - this cleans all MD-specific context (such
  as FPU state), and is the last potentially blocking operation;
  all of cpu_wait(), and most of cpu_exit(), is now folded into cpu_lwp_free()
* process is now immediatelly marked as zombie and made available for pickup
  by parent; the remaining last lwp continues the exit as fully detached
* MI (rather than MD) code bumps uvmexp.swtch, cpu_exit() is now same
  for both 'process' and 'lwp' exit

uvm_lwp_exit() is modified to never block; the u-area memory is now
always just linked to the list of available u-areas. Introduce (blocking)
uvm_uarea_drain(), which is called to release the excessive u-area memory;
this is called by parent within wait4(), or by pagedaemon on memory shortage.
uvm_uarea_free() is now private function within uvm_glue.c.

MD process/lwp exit code now always calls lwp_exit2() immediatelly after
switching away from the exiting lwp.

g/c now unneeded routines and variables, including the reaper kernel thread

Revision 1.25 / (download) - annotate - [select for diffs], Sun Oct 5 22:00:25 2003 UTC (20 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.24: +6 -6 lines
Diff to previous 1.24 (colored)

Minor tweaks to the color framebuffer code -- still don't know what the deal
with the interrupt is.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Oct 1 01:25:06 2003 UTC (20 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.23: +8 -21 lines
Diff to previous 1.23 (colored)

Some small cleanup -- make the base,limit values vaddr_t, not char*.
Also add some code that attempts to deal with C16_VIDEO interrupts, though it
does not seem to make my color slabs work again.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Aug 7 16:28:55 2003 UTC (20 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.22: +36 -2 lines
Diff to previous 1.22 (colored)

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

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

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jan 18 06:09:54 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.21: +6 -2 lines
Diff to previous 1.21 (colored)

Merge the nathanw_sa branch.

Revision 1.18.8.7 / (download) - annotate - [select for diffs], Tue Dec 3 20:24:07 2002 UTC (21 years, 2 months ago) by gmcgarry
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.18.8.6: +4 -2 lines
Diff to previous 1.18.8.6 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Use cpu_proc_fork().

Revision 1.18.8.6 / (download) - annotate - [select for diffs], Mon Nov 11 22:02:09 2002 UTC (21 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.18.8.5: +6 -28 lines
Diff to previous 1.18.8.5 (colored) to branchpoint 1.18 (colored)

Catch up to -current

Revision 1.21 / (download) - annotate - [select for diffs], Sun Oct 20 02:37:32 2002 UTC (21 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.20: +6 -28 lines
Diff to previous 1.20 (colored)

merge the 12 copies of vm_machdep.c on the m68k platforms.
clean up some other stuff along the way, including:
 - use m68k/cacheops.*, remove duplicates from cpu.h.
 - centralize a few declarations in (all the copies of) cpu.h.
 - define M68K_VAC on platforms which have a VAC.
 - switch the sun platforms to the (now common) proc_trampoline().
 - do the phys_map thang on the sun platforms too, no reason not to.

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Thu Oct 10 18:34:40 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.18.2.1: +18 -18 lines
Diff to previous 1.18.2.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

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

Revision 1.18.8.5 / (download) - annotate - [select for diffs], Tue Sep 17 21:16:34 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.18.8.4: +18 -18 lines
Diff to previous 1.18.8.4 (colored) to branchpoint 1.18 (colored)

Catch up to -current.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Sep 11 01:46:33 2002 UTC (21 years, 5 months ago) by mycroft
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.19: +18 -18 lines
Diff to previous 1.19 (colored)

Comprehensive patches from Christian Limpach:
* Fix problems with the DMA and SCSI drivers.
* Make turbo machines sort of work.
Additional fixes from me:
* Determine if we're a turbo at boot time, by looking at the ROM machine type.
* Set the display size correctly (1120 pixels wide, but padded to 1152 only on
  non-turbo machines).
Caveats:
* SCSI doesn't work on the turbo (or at least it blows chunks with no devices
  attached).
* Media selection doesn't work on the turbo (the BMAP stuff doesn't exist on
  turbo machines).
* The boot block is prone to timing out.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 17:38:58 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

catch up with -current on kqueue branch

Revision 1.18.8.4 / (download) - annotate - [select for diffs], Thu Jun 20 03:40:22 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.18.8.3: +3 -3 lines
Diff to previous 1.18.8.3 (colored) to branchpoint 1.18 (colored)

Catch up to -current.

Revision 1.19 / (download) - annotate - [select for diffs], Tue May 14 02:03:02 2002 UTC (21 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, gehenna-devsw-base, gehenna-devsw
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Eliminate commons (including many used ones).  Clean up variable references.

Revision 1.18.8.3 / (download) - annotate - [select for diffs], Sat Dec 8 08:22:43 2001 UTC (22 years, 2 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.18.8.2: +2 -1 lines
Diff to previous 1.18.8.2 (colored) to branchpoint 1.18 (colored)

Add a cpu_proc_fork(), called from uvm_proc_fork(), which takes care
of machine-dependent handling a fork() time (this is different from
forking the actual context in an LWP world).  #define it away on
platforms which do not need it.

Problem noted by Gregory McGarry.

Revision 1.18.8.2 / (download) - annotate - [select for diffs], Sun Nov 18 18:43:06 2001 UTC (22 years, 3 months ago) by scw
Branch: nathanw_sa
Changes since 1.18.8.1: +427 -0 lines
Diff to previous 1.18.8.1 (colored) to branchpoint 1.18 (colored)

MD Scheduler Activation bits for Next68k.
Compile-tested only.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 19:30:24 2001 UTC (22 years, 8 months ago) by nathanw
Changes since 1.15: +5 -10 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Catch up to -current.

Revision 1.18.8.1, Wed May 30 12:28:48 2001 UTC (22 years, 9 months ago) by scw
Branch: nathanw_sa
Changes since 1.18: +0 -426 lines
FILE REMOVED

file cpu.h was added on branch nathanw_sa on 2001-11-18 18:43:06 +0000

Revision 1.18 / (download) - annotate - [select for diffs], Wed May 30 12:28:48 2001 UTC (22 years, 9 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa, kqueue
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

use _KERNEL_OPT

Revision 1.17 / (download) - annotate - [select for diffs], Sun May 13 16:55:39 2001 UTC (22 years, 9 months ago) by chs
Branch: MAIN
Changes since 1.16: +3 -8 lines
Diff to previous 1.16 (colored)

turn on printf format-string checking and -Werror.  fix all warnings.

Revision 1.16 / (download) - annotate - [select for diffs], Sat May 12 22:35:29 2001 UTC (22 years, 9 months ago) by chs
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

switch next68k to ELF.  highlight include:
add "%" prefix to register names in assembly code.
change assembly functions to return pointer values in %a0 instead of %d0.
C symbols no longer prepend an underscore, adjust assembly code for this.
32-bit values are now 32-bit aligned instead of 16-bit aligned,
adjust structure packing and padding to override this where necessary.
make EXEC_ELF std, make EXEC_AOUT and COMPAT_AOUT_M68K optional.
use the MI loadfile() instead of several home-grown versions.

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Fri Jan 5 17:34:53 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.11.2.1: +1 -4 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Sync with HEAD

Revision 1.15 / (download) - annotate - [select for diffs], Tue Dec 19 21:09:57 2000 UTC (23 years, 2 months ago) by scw
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.14: +1 -4 lines
Diff to previous 1.14 (colored)

Unification of the m68k syscall() function.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:18:14 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.11: +26 -6 lines
Diff to previous 1.11 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Fri Oct 6 23:18:48 2000 UTC (23 years, 4 months ago) by deberg
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.12: +6 -3 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

pullup 1.14, approved by thorpej

add support for 12-bit color displays, from Timm Wetzel w/ changes by
me.  closes 10741.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Sep 29 06:35:57 2000 UTC (23 years, 5 months ago) by deberg
Branch: MAIN
Changes since 1.13: +6 -3 lines
Diff to previous 1.13 (colored)

add support for 12-bit color displays, from Timm Wetzel w/ changes by
me.  closes 10741.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Aug 25 01:04:10 2000 UTC (23 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Make need_resched() take a "struct cpu_info *" argument.  This
causes gives a primitive form of processor affinity.  Its use in
roundrobin() still needs some work.

Revision 1.12 / (download) - annotate - [select for diffs], Fri May 26 21:20:03 2000 UTC (23 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.11: +19 -2 lines
Diff to previous 1.11 (colored)

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.11 / (download) - annotate - [select for diffs], Tue Aug 10 21:08:08 1999 UTC (24 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: thorpej_scsipi
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

Define cpu_number() as discussed on tech-smp.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Mar 24 23:15:58 1999 UTC (24 years, 11 months ago) by dbj
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Changes since 1.9: +24 -12 lines
Diff to previous 1.9 (colored)

Applied patches from Matt Debergalis <deberg@mit.edu>.
These patches include:
  Added framebuffer mapping for color framebuffer to support color wscons
    which is coming soon.
  Renamed wskbdmap_mfii[ch] to wskbdmap_next[ch]
  Changed video to be white on black instead of black on white.
  Now handles and discards mouse interrupts.
  Video and keyboard is now working on mono machines.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Feb 26 22:37:58 1999 UTC (25 years ago) by is
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

synchronize types, and s/curproc/p/ in one forgotten place

Revision 1.8 / (download) - annotate - [select for diffs], Fri Feb 26 21:34:38 1999 UTC (25 years ago) by is
Branch: MAIN
Changes since 1.7: +4 -1 lines
Diff to previous 1.7 (colored)

next68k specific part of PR 6152 fix

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jan 2 13:42:17 1999 UTC (25 years, 2 months ago) by dbj
Branch: MAIN
Changes since 1.6: +14 -2 lines
Diff to previous 1.6 (colored)

Applied supplied patches from pr port-next68k/6709
add bus_space support for mono framebuffer

Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 11 06:41:28 1998 UTC (25 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.5: +4 -1 lines
Diff to previous 1.5 (colored)

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.5 / (download) - annotate - [select for diffs], Tue Nov 10 22:45:44 1998 UTC (25 years, 3 months ago) by dbj
Branch: MAIN
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 (colored)

Sync'ed more files and routines with mvme port in prepartion for UVM.
Now use generic m68k cachops everywhere rather than defining them in locore.s

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 31 21:21:10 1998 UTC (25 years, 6 months ago) by dbj
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Fixed typo in printf bitfields for intrstat register.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Aug 28 22:53:47 1998 UTC (25 years, 6 months ago) by dbj
Branch: MAIN
Changes since 1.2: +5 -1 lines
Diff to previous 1.2 (colored)

added a flag to disable the NEXT_SLOT_ID_BMAP for testing the turbo machines

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jul 5 07:53:45 1998 UTC (25 years, 7 months ago) by dbj
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Started the esp scsi driver.
Fixed bus_space_handle_t in nextdma device.
Fixed scsi interrupt define.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Tue Jun 9 07:53:05 1998 UTC (25 years, 8 months ago) by dbj
Branch: DBJ
CVS Tags: next68k-import-19980609
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Initial import of NetBSD/next68k.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jun 9 07:53:05 1998 UTC (25 years, 8 months ago) by dbj
Branch: MAIN

Initial revision

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




CVSweb <webmaster@jp.NetBSD.org>