The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.175.4.1: download - view: text, markup, annotated - select for diffs
Thu Sep 12 19:56:08 2024 UTC (4 months ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE
Diff to: previous 1.175: preferred, colored; next MAIN 1.176: preferred, colored
Changes since revision 1.175: +3 -3 lines
Pull up following revision(s) (requested by rin in ticket #847):

	sys/arch/macppc/macppc/machdep.c: revision 1.177

macppc/machdep: Correctly disable have_backlight for ofw_quiesce
instead of have_palette (copy-paste bug by myself).

Revision 1.177: download - view: text, markup, annotated - select for diffs
Tue Jun 11 04:47:04 2024 UTC (7 months, 1 week ago) by rin
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +3 -3 lines
macppc/machdep: Correctly disable have_backlight for ofw_quiesce

instead of have_palette (copy-paste bug by myself).

Revision 1.176: download - view: text, markup, annotated - select for diffs
Tue Mar 5 14:15:33 2024 UTC (10 months, 2 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +2 -3 lines
Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

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

Revision 1.175: download - view: text, markup, annotated - select for diffs
Sun Jun 26 09:23:32 2022 UTC (2 years, 6 months ago) by martin
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +3 -3 lines
cpu_reboot: use cpu_halt_others() instead of a (simple) open coded
version of it.

Revision 1.171.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:30 2021 UTC (3 years, 9 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.171: preferred, colored; next MAIN 1.172: preferred, colored
Changes since revision 1.171: +64 -14 lines
Sync with HEAD.

Revision 1.174: download - view: text, markup, annotated - select for diffs
Wed Mar 10 19:45:41 2021 UTC (3 years, 10 months ago) by macallan
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-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +11 -3 lines
switch G5 iMacs to full speed

Revision 1.173: download - view: text, markup, annotated - select for diffs
Sat Feb 27 02:52:48 2021 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +50 -8 lines
Un-do a bunch of misguided code sharing.  It's not really shared if it's
full of platform-specific #ifdefs:
- ofwoea_batinit() is gone; just do what's needed early in macppc / ofppc
  initppc() functions.
- Get a bunch of Mac-specific stuff out of ofwoea_initppc().

Revision 1.172: download - view: text, markup, annotated - select for diffs
Tue Jan 26 14:49:41 2021 UTC (3 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +7 -7 lines
There is not much point in of_compatible() returning -1 for "no match"
and >= 0 for "match".  Just make it return 0 for "no match" and >0 for
"match" so it can be treated like a boolean expression.

As such of_match_compatible() (a wrapper around of_compatible()) is now
obsolete, and will be removed once all call sites are converted to an
appropriate replacement.

Revision 1.171: download - view: text, markup, annotated - select for diffs
Tue Jul 14 08:55:07 2020 UTC (4 years, 6 months ago) by martin
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +4 -4 lines
Adapt to new proplib API

Revision 1.170: download - view: text, markup, annotated - select for diffs
Tue Jul 7 02:33:54 2020 UTC (4 years, 6 months ago) by rin
Branches: MAIN
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +16 -6 lines
It turned out that using some Open Firmware routines causes the system
freeze after calling OF_quiesce().

This is why setting color palette crash the system for some Power Mac G5
models, like PowerMac11,2.

Therefore, stop using color-palette and backlight callbacks for genfb(4)
in this case.

Also, postpone OF_quiesce() after rascons_init_rasops(), and initialize
color palette there if OF is going to be quiesced and color depth is 8.

Now, color palette for wscons is initialized correctly for PowerMac11,2.

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

Revision 1.169: download - view: text, markup, annotated - select for diffs
Mon Jan 28 02:25:01 2019 UTC (5 years, 11 months ago) by sevan
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, 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, 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.168: preferred, colored
Changes since revision 1.168: +11 -2 lines
Fake the EDID info for the clamshell iBook G3 so X11 works out of the box.
Obtained from the 2nd (firewire) revision iBook, but it's applied to 1st gen
also.

[    93.906] (II) R128(0): I2C bus "VGA-0" initialized.
[    93.907] (II) got 128 bytes worth of EDID from wsdisplay
[    93.908] (II) R128(0): EDID for output LVDS
[    93.908] (II) R128(0): Manufacturer: APP  Model: 9c05  Serial#: 16843009
[    93.908] (II) R128(0): Year: 1999  Week: 9
[    93.908] (II) R128(0): EDID Version: 1.1
[    93.908] (II) R128(0): Digital Display Input
[    93.908] (II) R128(0): Max Image Size [cm]: horiz.: 24  vert.: 18
[    93.908] (II) R128(0): Gamma: 2.28
[    93.908] (II) R128(0): DPMS capabilities: StandBy Suspend Off
[    93.909] (II) R128(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[    93.909] (II) R128(0): redX: 0.594 redY: 0.345   greenX: 0.317 greenY: 0.494
[    93.909] (II) R128(0): blueX: 0.155 blueY: 0.146   whiteX: 0.312 whiteY: 0.328
[    93.909] (II) R128(0): Supported established timings:
[    93.909] (II) R128(0): 800x600@60Hz
[    93.909] (II) R128(0): Manufacturer's mask: 0
[    93.910] (II) R128(0): Supported detailed timing:
[    93.910] (II) R128(0): clock: 60.0 MHz   Image Size:  275 x 199 mm
[    93.910] (II) R128(0): h_active: 800  h_sync: 840  h_sync_end 968 h_blank_end 1056 h_border: 0
[    93.910] (II) R128(0): v_active: 600  v_sync: 601  v_sync_end 605 v_blanking: 628 v_border: 0
[    93.910] (II) R128(0):  LT121SU-121
[    93.910] (II) R128(0):  LT121SU-121
[    93.910] (II) R128(0): Monitor name: Color LCD
[    93.910] (II) R128(0): EDID (in hex):
[    93.910] (II) R128(0):      00ffffffffffff000610059c01010101
[    93.910] (II) R128(0):      09090101a8181280e816e09858517e27
[    93.910] (II) R128(0):      25505401000001010101010101010101
[    93.911] (II) R128(0):      0101010101017017200031581c202880
[    93.911] (II) R128(0):      140013c710000018000000fe004c5431
[    93.911] (II) R128(0):      323153552d3132310a20000000fe004c
[    93.911] (II) R128(0):      5431323153552d3132310a20000000fc
[    93.911] (II) R128(0):      00436f6c6f72204c43440a2020200037
[    93.912] (II) R128(0): I2C device "VGA-0:ddc2" registered at address 0xA0.

Revision 1.167.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:37 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.167: preferred, colored; next MAIN 1.168: preferred, colored
Changes since revision 1.167: +2 -7 lines
Sync with HEAD

Revision 1.168: download - view: text, markup, annotated - select for diffs
Sun Jul 15 05:16:43 2018 UTC (6 years, 6 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +2 -7 lines
Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos

Revision 1.163.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:25 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.163.2.1: preferred, colored; branchpoint 1.163: preferred, colored; next MAIN 1.164: preferred, colored
Changes since revision 1.163.2.1: +28 -7 lines
update from HEAD

Revision 1.167: download - view: text, markup, annotated - select for diffs
Wed Sep 6 03:10:09 2017 UTC (7 years, 4 months ago) by macallan
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +5 -5 lines
downgrade some debug spam to aprint_debug() where it belongs

Revision 1.164.14.1: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:44 2017 UTC (7 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.164: preferred, colored; next MAIN 1.165: preferred, colored
Changes since revision 1.164: +25 -4 lines
Sync with HEAD

Revision 1.166: download - view: text, markup, annotated - select for diffs
Fri Aug 11 22:55:49 2017 UTC (7 years, 5 months ago) by macallan
Branches: MAIN
CVS tags: nick-nhusb-base-20170825
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +12 -2 lines
set properties to signal Mac Mini video output wiring to radeonfb

Revision 1.165.2.2: download - view: text, markup, annotated - select for diffs
Fri Jul 14 21:36:20 2017 UTC (7 years, 6 months ago) by macallan
Branches: perseant-stdc-iso10646
Diff to: previous 1.165.2.1: preferred, colored; branchpoint 1.165: preferred, colored; next MAIN 1.166: preferred, colored
Changes since revision 1.165.2.1: +489 -0 lines
2551550

Revision 1.165.2.1
Fri Jul 14 21:36:19 2017 UTC (7 years, 6 months ago) by macallan
Branches: perseant-stdc-iso10646
FILE REMOVED
Changes since revision 1.165: +0 -489 lines
file machdep.c was added on branch perseant-stdc-iso10646 on 2017-07-14 21:36:20 +0000

Revision 1.165: download - view: text, markup, annotated - select for diffs
Fri Jul 14 21:36:19 2017 UTC (7 years, 6 months ago) by macallan
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base
Branch point for: perseant-stdc-iso10646
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +13 -2 lines
- use smu for shutdown and reboot
- disable pallet control on G5, for some reason we crash in OF_call_method_1

Revision 1.163.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:28:51 2013 UTC (11 years, 10 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +25 -7 lines
resync with head

Revision 1.162.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:33:00 2013 UTC (12 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.162.2.1: preferred, colored; branchpoint 1.162: preferred, colored; next MAIN 1.163: preferred, colored
Changes since revision 1.162.2.1: +25 -7 lines
sync with (a bit old) head

Revision 1.164: download - view: text, markup, annotated - select for diffs
Tue Dec 11 03:00:00 2012 UTC (12 years, 1 month ago) by macallan
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, 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, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, khorben-n900, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Branch point for: nick-nhusb
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +25 -7 lines
work around a bug in some (all?) nvidia OF ROMs:
the color! method always changes only the palette registers associated with the
first, usually analog head, even if the monitor in use is on port 2, usually
DVI or ADC.
Don't enable cmap_callback when we find out we're on port 2 of an nvidia card,
that way genfb won't try to use R3G3B2 colours and assume something resembling
an ANSI palette which will at least gives us something usable, as opposed to
black on mostly black.

Revision 1.162.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:38 2012 UTC (12 years, 9 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +2 -3 lines
sync with head

Revision 1.162.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 5 21:33:17 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.162: preferred, colored; next MAIN 1.163: preferred, colored
Changes since revision 1.162: +2 -3 lines
sync to latest -current.

Revision 1.163: download - view: text, markup, annotated - select for diffs
Tue Mar 13 17:26:05 2012 UTC (12 years, 10 months ago) by macallan
Branches: MAIN
CVS tags: yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +2 -3 lines
we don't need malloc.h here

Revision 1.162: download - view: text, markup, annotated - select for diffs
Thu Jul 28 15:29:52 2011 UTC (13 years, 5 months ago) by macallan
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +4 -4 lines
appease gcc 4.5

Revision 1.161: download - view: text, markup, annotated - select for diffs
Wed Jul 13 22:54:33 2011 UTC (13 years, 6 months ago) by macallan
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +11 -0 lines
provide EDID blocks for hardware where we know the parameters but neither the
firmware nor DDC provide any. So far there's only a parameter block for the
PowerBook Pismo's built-in TFT, now Xorg works out of the box without config.
The same parameter block will probably do the right thing on Lombard, PDQ and
TFT-equipped Wallstreet PowerBooks.

Revision 1.160: download - view: text, markup, annotated - select for diffs
Wed Jul 13 22:50:11 2011 UTC (13 years, 6 months ago) by macallan
Branches: MAIN
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +85 -33 lines
follow genfb changes in backlight control

Revision 1.159: download - view: text, markup, annotated - select for diffs
Thu Jul 7 01:26:16 2011 UTC (13 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +4 -4 lines
add some (uintptr_t) between pointer and uint64_t casts

Revision 1.155.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:21 2011 UTC (13 years, 7 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.155: preferred, colored; next MAIN 1.156: preferred, colored
Changes since revision 1.155: +19 -20 lines
Catchup with rmind-uvmplock merge.

Revision 1.158: download - view: text, markup, annotated - select for diffs
Mon Jun 20 07:18:06 2011 UTC (13 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +17 -18 lines
Cleanup includes.  (<net/netisr.h> is handled by softints, not MD anymore,
so this can be nuked).

Revision 1.157: download - view: text, markup, annotated - select for diffs
Sat Jun 18 08:08:28 2011 UTC (13 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +3 -3 lines
struct device * -> device_t
struct cfdata * -> cfdata_t
use device accessors, use device_private.
some softc/device_t splits (macppc needs a bunch more)
aprint*_dev used considerably more

Revision 1.153.4.2: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:24:01 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.153.4.1: preferred, colored; branchpoint 1.153: preferred, colored; next MAIN 1.154: preferred, colored
Changes since revision 1.153.4.1: +1 -1 lines
sync with head

Revision 1.155.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:06:00 2011 UTC (13 years, 7 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.155: preferred, colored; next MAIN 1.156: preferred, colored
Changes since revision 1.155: +3 -3 lines
Sync with HEAD.

Revision 1.156: download - view: text, markup, annotated - select for diffs
Sun Jun 5 16:52:24 2011 UTC (13 years, 7 months ago) by matt
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +3 -3 lines
Remove <machine/atomic.h>; use <sys/atomic.h> instead.
Add <powerpc/cpuset.h> (for mpc85xx pmap).
Add some initial MP code for mpc85xx
Rework ipi code to be common across all ppcs
Change PPC to keep curlwp in %r13 while in the kernel.
Move astpending from cpu_info to mdlwp
Improve cpu_need_resched to be more MP friendly.

Revision 1.153.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:50:59 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +60 -5 lines
sync with head

Revision 1.155: download - view: text, markup, annotated - select for diffs
Mon Dec 20 00:25:37 2010 UTC (14 years, 1 month ago) by matt
Branches: MAIN
CVS tags: uebayasi-xip-base7, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr, cherry-xenmp
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +2 -4 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.153.2.1: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:21:25 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.153: preferred, colored; next MAIN 1.154: preferred, colored
Changes since revision 1.153: +60 -3 lines
Sync with HEAD (-D20101022).

Revision 1.150.18.3: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:31:50 2010 UTC (14 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.150.18.2: preferred, colored; branchpoint 1.150: preferred, colored; next MAIN 1.151: preferred, colored
Changes since revision 1.150.18.2: +60 -3 lines
sync with head

Revision 1.154: download - view: text, markup, annotated - select for diffs
Wed Oct 6 02:27:25 2010 UTC (14 years, 3 months ago) by macallan
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +60 -3 lines
add support for backlight control with genfb via OF
Tested on a PowerBook Pismo only so far, it should work on all OF3 *Books
though. Support for older PowerBooks is trickier since they control their
backlight using PMU commands which have no OF equivalent.

Revision 1.150.18.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:37 2010 UTC (14 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.150.18.1: preferred, colored; branchpoint 1.150: preferred, colored
Changes since revision 1.150.18.1: +2 -3 lines
sync with head

Revision 1.153: download - view: text, markup, annotated - select for diffs
Fri Nov 27 03:23:11 2009 UTC (15 years, 1 month ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +2 -3 lines
- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places.  Reduce sys/user.h inclusions.

Revision 1.150.18.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:11:29 2009 UTC (15 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +5 -3 lines
sync with head.

Revision 1.151.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:16:26 2009 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.151: preferred, colored; next MAIN 1.152: preferred, colored
Changes since revision 1.151: +5 -2 lines
Sync with HEAD.

Revision 1.150.14.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:14 2009 UTC (16 years ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.150.14.1: preferred, colored; branchpoint 1.150: preferred, colored; next MAIN 1.151: preferred, colored
Changes since revision 1.150.14.1: +3 -0 lines
Sync with HEAD.

Revision 1.150.24.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:17 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.150.24.1: preferred, colored; branchpoint 1.150: preferred, colored; next MAIN 1.151: preferred, colored
Changes since revision 1.150.24.1: +5 -2 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.152: download - view: text, markup, annotated - select for diffs
Tue Nov 11 06:46:43 2008 UTC (16 years, 2 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +5 -2 lines
It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled.  So I have made two changes:

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

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

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

Revision 1.150.24.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:15:52 2008 UTC (16 years, 3 months ago) by haad
Branches: haad-dm
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +2 -3 lines
Sync with HEAD.

Revision 1.150.20.3: download - view: text, markup, annotated - select for diffs
Fri Oct 10 22:29:05 2008 UTC (16 years, 3 months ago) by skrll
Branches: wrstuden-revivesa
Diff to: previous 1.150.20.2: preferred, colored; branchpoint 1.150: preferred, colored; next MAIN 1.151: preferred, colored
Changes since revision 1.150.20.2: +2 -3 lines
Sync with HEAD.

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

Revision 1.151: download - view: text, markup, annotated - select for diffs
Fri Sep 26 03:39:59 2008 UTC (16 years, 3 months ago) by macallan
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-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-dm-base1
Branch point for: nick-hppapmap
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +2 -3 lines
get rid of heathrow_FCR

Revision 1.150.20.2: download - view: text, markup, annotated - select for diffs
Wed May 14 01:34:59 2008 UTC (16 years, 8 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.150.20.1: preferred, colored; branchpoint 1.150: preferred, colored
Changes since revision 1.150.20.1: +2 -3 lines
Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

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

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

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

I think this reduction is very good thing.

Revision 1.150.20.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:44 2008 UTC (16 years, 8 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +3 -2 lines
Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

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

Revision 1.148.10.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:47:11 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.148.10.1: preferred, colored; branchpoint 1.148: preferred, colored; next MAIN 1.149: preferred, colored
Changes since revision 1.148.10.1: +106 -2 lines
sync with HEAD

Revision 1.149.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:17:22 2007 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149: +106 -2 lines
Sync with HEAD.

Revision 1.135.2.5: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:25:18 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.135.2.4: preferred, colored; branchpoint 1.135: preferred, colored; next MAIN 1.136: preferred, colored
Changes since revision 1.135.2.4: +106 -2 lines
sync with head

Revision 1.147.6.4: download - view: text, markup, annotated - select for diffs
Mon Dec 3 19:03:36 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.147.6.3: preferred, colored; branchpoint 1.147: preferred, colored; next MAIN 1.148: preferred, colored
Changes since revision 1.147.6.3: +2 -94 lines
Sync with HEAD.

Revision 1.147.6.3: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:37:24 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.147.6.2: preferred, colored; branchpoint 1.147: preferred, colored
Changes since revision 1.147.6.2: +198 -2 lines
Sync with HEAD.

Revision 1.148.8.2: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:35:44 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.148.8.1: preferred, colored; branchpoint 1.148: preferred, colored; next MAIN 1.149: preferred, colored
Changes since revision 1.148.8.1: +106 -2 lines
Sync with HEAD. amd64 Xen support needs testing.

Revision 1.150: download - view: text, markup, annotated - select for diffs
Mon Nov 26 19:58:30 2007 UTC (17 years, 1 month ago) by garbled
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-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, 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, 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, mjf-devfs2, haad-dm
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +106 -2 lines
Apply a set of patches from Frank Wille to make the genfb attachment work
better on ofppc.  In doing so, we also move a few functions around in
macppc and the generic ofw powerpc stuff to allow better sharing of code.
Also, introduce a model_init function.

move ofb_cons.c from macppc/dev to powerpc/oea and rename it to rascons.
This gets rid of some naming confusion, and makes it OFW-MI rather than
macppc specific.

Revision 1.148.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:18:49 2007 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +17 -694 lines
sync with HEAD

Revision 1.135.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:27:10 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.135.2.3: preferred, colored; branchpoint 1.135: preferred, colored
Changes since revision 1.135.2.3: +17 -694 lines
sync with head.

Revision 1.148.8.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:42:52 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +17 -694 lines
Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.148.14.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:36:06 2007 UTC (17 years, 2 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.148: preferred, colored; next MAIN 1.149: preferred, colored
Changes since revision 1.148: +17 -694 lines
Sync with HEAD.

Revision 1.147.6.2: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:13:27 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.147.6.1: preferred, colored; branchpoint 1.147: preferred, colored
Changes since revision 1.147.6.1: +17 -694 lines
Sync with head.

Revision 1.148.12.1: download - view: text, markup, annotated - select for diffs
Thu Oct 18 08:32:13 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.148: preferred, colored; next MAIN 1.149: preferred, colored
Changes since revision 1.148: +17 -694 lines
sync with head.

Revision 1.149: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:55:33 2007 UTC (17 years, 3 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.148: preferred, colored
Changes since revision 1.148: +17 -694 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.147.14.11: download - view: text, markup, annotated - select for diffs
Thu Oct 11 18:51:52 2007 UTC (17 years, 3 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.147.14.10: preferred, colored; branchpoint 1.147: preferred, colored; next MAIN 1.148: preferred, colored
Changes since revision 1.147.14.10: +2 -86 lines
Move a bunch of the macppc SMP code out of macppc, and down into the
generic OEA code.  Add a set of md callbacks into these shared routines,
that any oeappc SMP machine needs to provide.  This allows for generally
shared SMP startup code, but still allows for machine-specific
differences in the setup and kicking of the new CPU.

Convert macppc to this new layout.  Tested by Macallan.

Add an initial attempt at SMP to prep.  Tested on UP machine only,
untested on SMP yet.

Revision 1.147.14.10: download - view: text, markup, annotated - select for diffs
Thu Oct 11 00:17:20 2007 UTC (17 years, 3 months ago) by macallan
Branches: ppcoea-renovation
Diff to: previous 1.147.14.9: preferred, colored; branchpoint 1.147: preferred, colored
Changes since revision 1.147.14.9: +5 -6 lines
ipiops.ppc_send_ipi -> ppc_send_ipi

Revision 1.147.14.9: download - view: text, markup, annotated - select for diffs
Wed Oct 10 18:41:33 2007 UTC (17 years, 3 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.147.14.8: preferred, colored; branchpoint 1.147: preferred, colored
Changes since revision 1.147.14.8: +11 -6 lines
New ppcoea-MI IPI infrastructure.  This is similar to the PIC
infrastructure, but simplified greatly.

Also, convert macppc (the only port currently using IPI's) over to this new
infrastructure.  Still some minor work left to do here.

Revision 1.147.14.8: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:24:18 2007 UTC (17 years, 3 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.147.14.7: preferred, colored; branchpoint 1.147: preferred, colored
Changes since revision 1.147.14.7: +0 -0 lines
Sync with HEAD

Revision 1.135.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:27:41 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.135.2.2: preferred, colored; branchpoint 1.135: preferred, colored
Changes since revision 1.135.2.2: +2 -21 lines
sync with head.

Revision 1.147.14.7: download - view: text, markup, annotated - select for diffs
Thu Aug 2 05:34:36 2007 UTC (17 years, 5 months ago) by macallan
Branches: ppcoea-renovation
Diff to: previous 1.147.14.6: preferred, colored; branchpoint 1.147: preferred, colored
Changes since revision 1.147.14.6: +2 -2 lines
sync with HEAD

Revision 1.147.6.1: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:16:25 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +2 -21 lines
Sync with head.

Revision 1.148: download - view: text, markup, annotated - select for diffs
Sat Jul 14 21:48:21 2007 UTC (17 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +2 -21 lines
Generic soft interrupts are mandatory.

Revision 1.147.14.6: download - view: text, markup, annotated - select for diffs
Thu Jun 7 20:30:46 2007 UTC (17 years, 7 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.147.14.5: preferred, colored; branchpoint 1.147: preferred, colored
Changes since revision 1.147.14.5: +13 -587 lines
Convert macppc to powerpc bus_space.  Lots of work here from Matt Thomas,
as well as the common ofwoea code from myself.  Compile tested only,
still probably needs some fine tuning.

Also in this commit:
Convert macppc to new shared ofwoea routines.
Lots of KNF.

Revision 1.147.14.5: download - view: text, markup, annotated - select for diffs
Thu May 10 16:23:37 2007 UTC (17 years, 8 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.147.14.4: preferred, colored; branchpoint 1.147: preferred, colored
Changes since revision 1.147.14.4: +2 -7 lines
HAVE_GENERIC_SOFTINTRS is no longer optional.  Delete ifndef'd code from
oea_machdep.c, and move softintr__init() to oea_startup().  Remove
softintr__init from every port's cpu_startup().

Revision 1.147.14.4: download - view: text, markup, annotated - select for diffs
Thu May 10 15:25:37 2007 UTC (17 years, 8 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.147.14.3: preferred, colored; branchpoint 1.147: preferred, colored
Changes since revision 1.147.14.3: +2 -22 lines
More cleanup:
1) Remove lcsplx, strayintr, and foosoft from all the converted ports.
None of this stuff is needed anymore.
2) because lcsplx is just "return spllower", just call spllower from
locore_subr.S instead.
3) Every port (except macppc) had a pretty similar cpu_configure(), so
take the common parts out and make a genppc_cpu_configure() in an attempt
to stop using imask[] outside of intr.c

Revision 1.147.14.3: download - view: text, markup, annotated - select for diffs
Wed May 9 03:56:02 2007 UTC (17 years, 8 months ago) by macallan
Branches: ppcoea-renovation
Diff to: previous 1.147.14.2: preferred, colored; branchpoint 1.147: preferred, colored
Changes since revision 1.147.14.2: +3 -21 lines
nuke #if(n)def __HAVE_GENERIC_SOFT_INTERRUPTS - we have them and they're not going
to disappear

Revision 1.147.14.2: download - view: text, markup, annotated - select for diffs
Sun May 6 22:50:49 2007 UTC (17 years, 8 months ago) by macallan
Branches: ppcoea-renovation
Diff to: previous 1.147.14.1: preferred, colored; branchpoint 1.147: preferred, colored
Changes since revision 1.147.14.1: +3 -3 lines
ansify, sprinkle static

Revision 1.147.14.1: download - view: text, markup, annotated - select for diffs
Wed May 2 03:02:34 2007 UTC (17 years, 8 months ago) by macallan
Branches: ppcoea-renovation
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +4 -3 lines
use generic interrupt handling, so far only ohare-based machines are supported

Revision 1.142.2.2: download - view: text, markup, annotated - select for diffs
Sun Mar 4 12:29:43 2007 UTC (17 years, 10 months ago) by bouyer
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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.142.2.1: preferred, colored; branchpoint 1.142: preferred, colored; next MAIN 1.143: preferred, colored
Changes since revision 1.142.2.1: +41 -9 lines
Pull up following revision(s) (requested by macallan in ticket #474):
	sys/arch/macppc/macppc/autoconf.c: revision 1.50
	sys/arch/macppc/macppc/machdep.c: revision 1.144
use properties to pass additional data to the console device,
like static EDID, framebuffer parameters etc.

Revision 1.135.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:07:23 2007 UTC (17 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.135.2.1: preferred, colored; branchpoint 1.135: preferred, colored
Changes since revision 1.135.2.1: +48 -13 lines
sync with head.

Revision 1.147: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:06 2007 UTC (17 years, 11 months ago) by ad
Branches: MAIN
CVS tags: yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, mjf-ufs-trans-base, mjf-ufs-trans, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, ppcoea-renovation
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +2 -3 lines
Merge newlock2 to head.

Revision 1.138.2.4: download - view: text, markup, annotated - select for diffs
Thu Feb 1 08:48:09 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.138.2.3: preferred, colored; branchpoint 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138.2.3: +48 -12 lines
Sync with head.

Revision 1.138.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:49:35 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.138.2.2: preferred, colored; branchpoint 1.138: preferred, colored
Changes since revision 1.138.2.2: +2 -3 lines
Remove support for SA. Ok core@.

Revision 1.146: download - view: text, markup, annotated - select for diffs
Wed Jan 24 13:08:11 2007 UTC (17 years, 11 months ago) by hubertf
Branches: MAIN
CVS tags: newlock2-nbase, newlock2-base
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +2 -3 lines
Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

To verify that no nasty side effects of duplicate includes (or their
removal) have an effect here, I've compiled an i386/ALL kernel with
and without the patch, and the only difference in the resulting .o
files was in shifted line numbers in some assert() calls.
The comparison of the .o files was based on the output of "objdump -D".

Thanks to martin@ for the input on testing.

Revision 1.145: download - view: text, markup, annotated - select for diffs
Wed Jan 17 23:27:59 2007 UTC (18 years ago) by macallan
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +7 -2 lines
use pmu and cuda for reset, shutdown etc. when appropriate
also deal with adbkbd vs. akbd

Revision 1.144: download - view: text, markup, annotated - select for diffs
Wed Jan 17 23:00:31 2007 UTC (18 years ago) by macallan
Branches: MAIN
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +43 -11 lines
use properties to pass additional data to the console device,
like static EDID, framebuffer parameters etc.

Revision 1.142.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 12 23:48:40 2007 UTC (18 years ago) by bouyer
Branches: netbsd-4
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +5 -2 lines
Pull up following revision(s) (requested by macallan in ticket #353):
	sys/arch/macppc/dev/ofb_cons.c: revision 1.3
	sys/arch/macppc/macppc/machdep.c: revision 1.143
make this compile without wsdisplay

Revision 1.138.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:00:53 2007 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.138.2.1: preferred, colored; branchpoint 1.138: preferred, colored
Changes since revision 1.138.2.1: +13 -9 lines
Sync with head.

Revision 1.135.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:46:30 2006 UTC (18 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +184 -47 lines
sync with head.

Revision 1.138.4.3: download - view: text, markup, annotated - select for diffs
Mon Dec 18 11:42:05 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.138.4.2: preferred, colored; branchpoint 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138.4.2: +5 -2 lines
sync with head.

Revision 1.143: download - view: text, markup, annotated - select for diffs
Sat Dec 16 05:05:50 2006 UTC (18 years, 1 month ago) by macallan
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +5 -2 lines
make this compile without wsdisplay

Revision 1.138.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:26 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.138.4.1: preferred, colored; branchpoint 1.138: preferred, colored
Changes since revision 1.138.4.1: +11 -10 lines
sync with head.

Revision 1.142: download - view: text, markup, annotated - select for diffs
Wed Nov 29 16:31:19 2006 UTC (18 years, 1 month ago) by tsutsui
Branches: MAIN
CVS tags: yamt-splraiseipl-base3, netbsd-4-base
Branch point for: netbsd-4
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +10 -9 lines
Get info of kernel symbol table from bootloader before calling consinit().
consinit() was moved before oea_init() in rev 1.136, but startsym and
endsym are not initialized at that point.
Now kernel symbols are usable (on ddb(4), ksyms(4) etc.) again on macppc.

Revision 1.138.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:24 2006 UTC (18 years, 2 months ago) by ad
Branches: newlock2
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +64 -3 lines
Sync with head.

Revision 1.141: download - view: text, markup, annotated - select for diffs
Tue Oct 24 02:47:40 2006 UTC (18 years, 3 months ago) by mrg
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +3 -3 lines
move a label such that it is only visible in the scopes it is used in.

Revision 1.138.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:04:50 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +63 -2 lines
sync with head

Revision 1.140: download - view: text, markup, annotated - select for diffs
Sun Oct 1 20:38:35 2006 UTC (18 years, 3 months ago) by macallan
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +6 -5 lines
Let everyone use the same ticks_per_intr. Doh.

Revision 1.139: download - view: text, markup, annotated - select for diffs
Fri Sep 29 22:20:08 2006 UTC (18 years, 3 months ago) by macallan
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +62 -2 lines
add timecounter support, mostly from prep.

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

Revision 1.136.8.2: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:21 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.136.8.1: preferred, colored; branchpoint 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136.8.1: +3 -3 lines
sync with head.

Revision 1.138: download - view: text, markup, annotated - select for diffs
Fri Sep 1 03:24:50 2006 UTC (18 years, 4 months ago) by matt
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +3 -3 lines
Move a variable to prevent a "unused" variable warning.

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

Revision 1.137: download - view: text, markup, annotated - select for diffs
Sat Aug 5 21:26:48 2006 UTC (18 years, 5 months ago) by sanjayl
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +111 -39 lines
1st cut of Powermac G5 support (uses bridge mode).

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

Revision 1.127.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:57:27 2005 UTC (19 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.127.2.4: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127.2.4: +5 -5 lines
Sync with HEAD. Here we go again...

Revision 1.135: download - view: text, markup, annotated - select for diffs
Fri Jun 3 18:19:11 2005 UTC (19 years, 7 months ago) by matt
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +5 -5 lines
Cleanup new warnings...

Revision 1.133.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:15 2005 UTC (19 years, 8 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.133: preferred, colored; next MAIN 1.134: preferred, colored
Changes since revision 1.133: +8 -2 lines
sync with -current

Revision 1.127.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 24 08:34:13 2005 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.127.2.3: preferred, colored
Changes since revision 1.127.2.3: +8 -2 lines
Sync with HEAD.

Revision 1.134: download - view: text, markup, annotated - select for diffs
Sun Jan 23 19:10:23 2005 UTC (20 years ago) by chs
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +8 -2 lines
turn interrupts on in cpu_reboot(), in case someone reboots from
a strange context via ddb.

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

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

Revision 1.127.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:37:31 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +53 -15 lines
Sync with HEAD

Revision 1.130.2.3: download - view: text, markup, annotated - select for diffs
Sun Jul 4 12:43:49 2004 UTC (20 years, 6 months ago) by he
Branches: netbsd-2-0
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Diff to: previous 1.130.2.2: preferred, colored; branchpoint 1.130: preferred, colored; next MAIN 1.131: preferred, colored
Changes since revision 1.130.2.2: +4 -8 lines
Pull up revision 1.133 (requested by manu in ticket #587):
  When the keyboard type is unknown, don't attach both ADB
  and USB, but instead assume ADB.  This because the kernel
  will panic if an USB keyboard is plugged in later.  May
  cause a problem on a desktop machine with an USB attached
  keyboard.

Revision 1.133: download - view: text, markup, annotated - select for diffs
Sat Jul 3 16:24:57 2004 UTC (20 years, 6 months ago) by manu
Branches: MAIN
CVS tags: kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: kent-audio2
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +4 -8 lines
When the keyboard type is unknwon, don't attach both ADB and USB, as the
kernel will panic if an USB keyboard is plugged later.

Of course there will be a problem on a desktop machine with an USB attached
keyboard, but that cannot be fixed without access to such a machine..

Revision 1.130.2.2: download - view: text, markup, annotated - select for diffs
Tue Jun 22 09:27:31 2004 UTC (20 years, 7 months ago) by tron
Branches: netbsd-2-0
Diff to: previous 1.130.2.1: preferred, colored; branchpoint 1.130: preferred, colored
Changes since revision 1.130.2.1: +46 -15 lines
Pull up revision 1.132 (requested by manu in ticket #534):
We used to look in psuedo-hid (with a typo) device for the keyboard. On
newer machines (iBook G4), it is in pseudo-hid (without typo), and there
are no `adb-kbd-ihandle or `usb-kbd-ihandles methods. In that situation,
just try to attach anything we can.
This patch fixes spurious inputs on iBook G4.

Revision 1.132: download - view: text, markup, annotated - select for diffs
Sun Jun 20 21:02:07 2004 UTC (20 years, 7 months ago) by manu
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +46 -15 lines
We used to look in psuedo-hid (with a typo) device for the keyboard. On
newer machines (iBook G4), it is in pseudo-hid (without typo), and there
are no `adb-kbd-ihandle or `usb-kbd-ihandles methods. In that situation,
just try to attach anything we can.

This patch fixes spurious inputs on iBook G4.

Revision 1.130.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 1 23:31:53 2004 UTC (20 years, 9 months ago) by jmc
Branches: netbsd-2-0
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +8 -2 lines
Pullup rev 1.131 (requested by matt in ticket #44)

Move to softintr__init to cpu_startup and remove softintr__init call for oea.

Revision 1.131: download - view: text, markup, annotated - select for diffs
Thu Apr 1 16:57:45 2004 UTC (20 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +8 -2 lines
Move to softintr__init to cpu_startup.

Revision 1.130: download - view: text, markup, annotated - select for diffs
Wed Mar 24 19:44:20 2004 UTC (20 years, 10 months ago) by matt
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +4 -2 lines
Add latent generic soft interrupt support.

Revision 1.129: download - view: text, markup, annotated - select for diffs
Mon Oct 20 00:12:10 2003 UTC (21 years, 3 months ago) by matt
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +3 -3 lines
Reorganize the way powerpc port install machine specific headers.
Use <powerpc/oea/bat.h> exclusively and remove <machine/bat.h> and
<powerpc/bat.h>.  Remove unneeded <machine/cpufunc.h>.  To insure
1:1 correspondence of <powerpc/FOO.h> to <machine/FOO.h> include
"../../powerpc/include/Makefile" in "arch/FOO/include/Makefile".
Incororpate <byte_swap.h> into <bswap.h> and then byte_swap.h

Revision 1.128: download - view: text, markup, annotated - select for diffs
Tue Jul 15 02:43:32 2003 UTC (21 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +4 -1 lines
__KERNEL_RCSID()

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

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

Revision 1.125: download - view: text, markup, annotated - select for diffs
Sun Mar 9 13:59:56 2003 UTC (21 years, 10 months ago) by he
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +2 -16 lines
Remove remnants of support for console on ite, since the ite device
driver is no more.

Revision 1.124: download - view: text, markup, annotated - select for diffs
Mon Feb 3 17:09:57 2003 UTC (21 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +4 -4 lines
Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).

Revision 1.123: download - view: text, markup, annotated - select for diffs
Wed Jan 22 21:55:15 2003 UTC (22 years ago) by kleink
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +2 -2 lines
G/c the pmap_bootstrap() segtab interface again.  Silly me.

Revision 1.122: download - view: text, markup, annotated - select for diffs
Fri Jan 17 23:23:09 2003 UTC (22 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +13 -12 lines
Merge the nathanw_sa branch.

Revision 1.104.4.13: download - view: text, markup, annotated - select for diffs
Fri Oct 18 19:13:37 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.104.4.12: preferred, colored; branchpoint 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.4.12: +5 -5 lines
LWPify a little. Patches from Bill Studenmund.
macppc GENERIC.MP builds now.

Revision 1.104.4.12: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:38:38 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.104.4.11: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.4.11: +1 -39 lines
Catch up to -current.

Revision 1.101.2.7: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:34:01 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.101.2.6: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.2.6: +1 -39 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.121: download - view: text, markup, annotated - select for diffs
Wed Sep 25 22:21:12 2002 UTC (22 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +1 -2 lines
Don't include <sys/map.h>.

Revision 1.120: download - view: text, markup, annotated - select for diffs
Sun Sep 22 03:04:31 2002 UTC (22 years, 4 months ago) by dbj
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +1 -38 lines
move bootpath alias expansion from initppc() into canonicalize_bootpath()

Revision 1.101.2.6: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:37:15 2002 UTC (22 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.101.2.5: preferred, colored
Changes since revision 1.101.2.5: +81 -409 lines
sync kqueue branch with HEAD

Revision 1.113.2.2: download - view: text, markup, annotated - select for diffs
Sat Aug 31 13:45:11 2002 UTC (22 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.113.2.1: preferred, colored; branchpoint 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.2.1: +70 -20 lines
catch up with -current.

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

Revision 1.119: download - view: text, markup, annotated - select for diffs
Tue Aug 13 09:46:21 2002 UTC (22 years, 5 months ago) by manu
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +3 -1 lines
Guard a variable declaration by #if so that it is not declared if it is not
used.

Revision 1.104.4.10: download - view: text, markup, annotated - select for diffs
Tue Aug 6 22:47:07 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.104.4.9: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.4.9: +7 -1 lines
Catch up with powerpc rototilling.

Revision 1.118: download - view: text, markup, annotated - select for diffs
Tue Aug 6 06:16:04 2002 UTC (22 years, 5 months ago) by chs
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +7 -1 lines
avoid races in mp_save_{fpu,vec}_proc() where the other CPU
dumps the state out from under us.

Revision 1.104.4.9: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:42:28 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.104.4.8: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.4.8: +75 -411 lines
Catch up to -current.

Revision 1.117: download - view: text, markup, annotated - select for diffs
Sun Jul 28 07:07:46 2002 UTC (22 years, 5 months ago) by chs
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +64 -22 lines
restructure the FPU and AltiVEC code so that it works for MP.

Revision 1.113.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 16 08:48:23 2002 UTC (22 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +12 -390 lines
catch up with -current.

Revision 1.116: download - view: text, markup, annotated - select for diffs
Tue Jul 9 19:21:03 2002 UTC (22 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +4 -1 lines
Common OFW code has been moved to powerpc/mpc6xx/ofw_subr.S.  Now use it.

Revision 1.113.4.2: download - view: text, markup, annotated - select for diffs
Sat Jul 6 14:05:49 2002 UTC (22 years, 6 months ago) by lukem
Branches: netbsd-1-6
CVS tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Diff to: previous 1.113.4.1: preferred, colored; branchpoint 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.4.1: +4 -4 lines
Apply patch (supplied by aymeric in ticket #438):
	Make new iBooks, TiBooks and eMacs boot correctly; OF_call_method()
	can return negative values different from -1 to indicate failure.
(The change is also part of rev 1.115, which contains more changes than
we're willing to pull up for 1.6)

Revision 1.115: download - view: text, markup, annotated - select for diffs
Fri Jul 5 18:45:18 2002 UTC (22 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +9 -391 lines
Peform a rototill over the powerpc-based ports.

Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c
Also move softnet, install_extintr, mapiodev, kvtop.  Add common BAT
initialization code.

Add user Altivec support.

Fix calls to OF_call_method in macppc/macppc/machdep.c.

Use ci_fpuproc in cpu_info instead of separate fpuproc.

Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.

Revision 1.101.2.5: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:37:56 2002 UTC (22 years, 7 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.101.2.4: preferred, colored
Changes since revision 1.101.2.4: +5 -4 lines
catch up with -current on kqueue branch

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

Revision 1.113.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 20 02:49:00 2002 UTC (22 years, 7 months ago) by lukem
Branches: netbsd-1-6
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +2 -1 lines
Pull up revision 1.114 (requested by wrstuden in ticket #322):
Fix recent bugs seen on Performa 4400 macppc's by
Makoto Fujiwara <makoto@ki.nu> and Manuel Bouyer <bouyer@netbsd.org>.
Help from Allen Briggs, Jason Thorpe, and Matt Thomas.
We need to call cpu_cache_probe() early in boot (machdep.c).
Add 603 info for completeness, and use NBPG not PAGESIZE, as the
latter relies on uvm being setup (cpu_subr.c).
Let uvm_page_recolor() be called before uvm has been set up; just
note the page coloring value (uvm_page.c).

Revision 1.114: download - view: text, markup, annotated - select for diffs
Wed Jun 19 17:01:20 2002 UTC (22 years, 7 months ago) by wrstuden
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +2 -1 lines
Fix recent bugs seen on Performa 4400 macppc's by
Makoto Fujiwara <makoto@ki.nu> and Manuel Bouyer <bouyer@netbsd.org>.
Help from Allen Briggs, Jason Thorpe, and Matt Thomas.

We need to call cpu_cache_probe() early in boot (machdep.c).
Add 603 info for completeness, and use NBPG not PAGESIZE, as the
latter relies on uvm being setup (cpu_subr.c).
Let uvm_page_recolor() be called before uvm has been set up; just
note the page coloring value (uvm_page.c).

Revision 1.104.4.7: download - view: text, markup, annotated - select for diffs
Wed May 29 21:31:48 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.104.4.6: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.4.6: +2 -1 lines
#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.

(Behold the Power of Ed)

Revision 1.113: download - view: text, markup, annotated - select for diffs
Mon May 13 06:05:33 2002 UTC (22 years, 8 months ago) by matt
Branches: MAIN
CVS tags: netbsd-1-6-base
Branch point for: netbsd-1-6, gehenna-devsw
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +1 -3 lines
Eliminate commons.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Thu Apr 25 19:32:59 2002 UTC (22 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +4 -1 lines
Use BAT1 to map the primary I/O segment at 0x80000000 so we don't have to
bat-flip for those accesses.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Tue Apr 23 12:41:05 2002 UTC (22 years, 9 months ago) by kleink
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +2 -2 lines
Add a third argument to pmap_bootstrap() which platform-specific
initialization can use to specify additional segment registers to be set
up in the kernel pmap.

Revision 1.104.4.6: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:40:55 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.104.4.5: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.4.5: +6 -6 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.101.2.4: download - view: text, markup, annotated - select for diffs
Sat Mar 16 15:58:32 2002 UTC (22 years, 10 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.101.2.3: preferred, colored
Changes since revision 1.101.2.3: +11 -10 lines
Catch up with -current.

Revision 1.74.2.2: download - view: text, markup, annotated - select for diffs
Thu Mar 7 17:49:04 2002 UTC (22 years, 10 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.74.2.1: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.2.1: +5 -5 lines
Pull up revision 1.110 (via patch, requested by billc):
  Make sure I/O BATs are set to be guarded and cache-inhibited, so
  as to disallow speculative loads within them.  This dould otherwise
  cause random Machine Checks on 7450 (G4) based machines.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Sat Mar 2 00:44:08 2002 UTC (22 years, 10 months ago) by matt
Branches: MAIN
CVS tags: newlock-base, newlock, eeh-devprop-base, eeh-devprop
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +6 -6 lines
Make sure I/O bats are set to BAT_I|BAT_G (guarded, cache-inhibited) as to
not allow speculative loads to occur within them.  This is the cause of the
random MCHKs on 7450 based Mac's.

Revision 1.104.4.5: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:10:41 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.104.4.4: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.4.4: +6 -5 lines
Catch up to -current.

Revision 1.109: download - view: text, markup, annotated - select for diffs
Sat Feb 16 08:30:27 2002 UTC (22 years, 11 months ago) by mycroft
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +6 -5 lines
Make this build without akbd (again).

Revision 1.104.4.4: download - view: text, markup, annotated - select for diffs
Fri Jan 11 23:38:37 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.104.4.3: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.4.3: +48 -23 lines
More catchup.

Revision 1.101.2.3: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:45:52 2002 UTC (23 years ago) by thorpej
Branches: kqueue
Diff to: previous 1.101.2.2: preferred, colored
Changes since revision 1.101.2.2: +95 -25 lines
Sync kqueue branch with -current.

Revision 1.104.4.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:26:12 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.104.4.2: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.4.2: +48 -3 lines
Catch up to -current.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Sun Jan 6 00:35:12 2002 UTC (23 years ago) by dbj
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +48 -23 lines
add support for kgdb over zs

Revision 1.107: download - view: text, markup, annotated - select for diffs
Mon Dec 10 02:46:05 2001 UTC (23 years, 1 month ago) by augustss
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +10 -3 lines
When looking for a console keyboard if usb-kbd-ihandles can't be found
then try the old name usb-kbd-ihandle.  This way my old iMac gets the
USB keyboard as console instead on the (non-existent) ADB keyboard.
Suggested by Gabriel Rosenkoetter.

Revision 1.106: download - view: text, markup, annotated - select for diffs
Wed Dec 5 05:02:11 2001 UTC (23 years, 1 month ago) by chs
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +2 -1 lines
fix macppc MULTIPROCESSOR compilation.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Mon Nov 19 23:22:49 2001 UTC (23 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +38 -1 lines
Fix boot device selection when booting from an alias.  If the bootpath
isn't an OFW device, look it up in /aliases and substitute the bootpath
found into the string.  This allow device_register to do it's thing.
Key off the drive number, not the channel, in autoconf.c.  Closes PR#13756.

Revision 1.104.4.2: download - view: text, markup, annotated - select for diffs
Mon Nov 5 19:46:14 2001 UTC (23 years, 2 months ago) by briggs
Branches: nathanw_sa
Diff to: previous 1.104.4.1: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.4.1: +1021 -0 lines
Initial SA support for ppc.  Test-booted on sandpoint, macppc, & walnut.
mcontext and cpu_getmcontext()/cpu_setmcontext() from Klaus Klein
<kleink@netbsd.org>.

Revision 1.103.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:40:41 2001 UTC (23 years, 3 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103: +4 -4 lines
Catch up with -current.

Revision 1.101.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:13:59 2001 UTC (23 years, 4 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.101.2.1: preferred, colored
Changes since revision 1.101.2.1: +5 -6 lines
Update the kqueue branch to HEAD.

Revision 1.104.4.1
Mon Sep 10 21:19:17 2001 UTC (23 years, 4 months ago) by briggs
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.104: +0 -1021 lines
file machdep.c was added on branch nathanw_sa on 2001-11-05 19:46:14 +0000

Revision 1.104: download - view: text, markup, annotated - select for diffs
Mon Sep 10 21:19:17 2001 UTC (23 years, 4 months ago) by chris
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: nathanw_sa
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +4 -4 lines
Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

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

Reviewed by Jason.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Sun Aug 26 02:47:37 2001 UTC (23 years, 4 months ago) by matt
Branches: MAIN
CVS tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +2 -3 lines
Make all powerpc ports use a common Makefile.powerpc (except walnut)
Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports.
Split out macppc cpu support and make common to mpc6xx ports.  Make
other mpc6xx ports use it.  Add evcnts for mpc6xx traps.

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

Revision 1.102: download - view: text, markup, annotated - select for diffs
Sun Jul 22 11:29:47 2001 UTC (23 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +19 -19 lines
bcopy -> memcpy, bzero -> memset, bcmp -> memcmp.
Reviewed by Matt Thomas, ok'd by Tsubai Masanari.

Revision 1.90.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:27:49 2001 UTC (23 years, 7 months ago) by nathanw
Diff to: previous 1.90.2.1: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.2.1: +52 -30 lines
Catch up to -current.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Tue Jun 12 16:32:00 2001 UTC (23 years, 7 months ago) by tsubai
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +3 -1 lines
One more.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Tue Jun 12 16:29:07 2001 UTC (23 years, 7 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +8 -4 lines
Make this compile w/o akbd or ukbd.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Sun Jun 10 15:32:57 2001 UTC (23 years, 7 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +2 -2 lines
Use machine/bat.h rather than powerpc/mpc6xx/bat.h.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Fri Jun 8 00:32:03 2001 UTC (23 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +24 -16 lines
Make macppc compile by default with -Wall -Wmissing-prototype in addition
to its currently enabled warnings.  For the lack of a better place, most
global function prototype wound up in <machine/autoconf.h> unless there
was a better place for them.  ofb_* structs renamed to offb_* to avoid
conflict with ofb_softc in <dev/ofw/openfirm.h>

Revision 1.97: download - view: text, markup, annotated - select for diffs
Wed Jun 6 17:50:16 2001 UTC (23 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +15 -10 lines
Changes new pmap, common param.h, vmparam.h, and moved includes.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Sat Jun 2 18:09:15 2001 UTC (23 years, 7 months ago) by chs
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +4 -4 lines
replace vm_map{,_entry}_t with struct vm_map{,_entry} *.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Tue Apr 24 04:31:02 2001 UTC (23 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_beforemerge
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +4 -1 lines
Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).

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

Revision 1.57.2.6: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:54:00 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.57.2.5: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.5: +11 -1 lines
Sync with HEAD

Revision 1.90.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:53:54 2001 UTC (23 years, 9 months ago) by nathanw
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +69 -3 lines
Catch up with -current.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Sun Apr 8 08:53:31 2001 UTC (23 years, 9 months ago) by tsubai
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +3 -1 lines
Make this compile w/o ukbd.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Thu Apr 5 10:10:26 2001 UTC (23 years, 9 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +9 -1 lines
Assume USB keyboard when `usb-kbd-ihandles is not found.

Revision 1.57.2.5: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:31:10 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.57.2.4: preferred, colored
Changes since revision 1.57.2.4: +59 -3 lines
Sync with HEAD.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Thu Mar 22 04:11:47 2001 UTC (23 years, 10 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +58 -2 lines
Merge my MP tree.  At this point, Daystar dual 604 card (i.e. Power Macintosh
9500/180MP and 9600/200MP) runs at least into single-user mode, possibly
multi-user mode (not stable yet).

Revision 1.91: download - view: text, markup, annotated - select for diffs
Thu Mar 15 06:10:42 2001 UTC (23 years, 10 months ago) by chs
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -2 lines
eliminate the KERN_* error codes in favor of the traditional E* codes.
the mapping is:

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

Revision 1.57.2.4: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:29:02 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.57.2.3: preferred, colored
Changes since revision 1.57.2.3: +1 -76 lines
Sync with HEAD.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Sat Feb 24 22:39:18 2001 UTC (23 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +1 -29 lines
Move cpu_sysct and dump{mag,lo,siz} & cpu_dumpconf to powerpc_machdep.c.
dumpsys is still port-specific for now.  XXX dumpsys is still a stub
on all powerpc ports.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat Feb 24 04:35:33 2001 UTC (23 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +1 -48 lines
Remove setregs since it now lives in powerpc/powerpc/powerpc_machdep.c

Revision 1.57.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:34:41 2001 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.57.2.2: preferred, colored
Changes since revision 1.57.2.2: +0 -2 lines
Sync with HEAD

Revision 1.88: download - view: text, markup, annotated - select for diffs
Sun Dec 17 23:24:26 2000 UTC (24 years, 1 month ago) by tsubai
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +1 -3 lines
Clean up unused variables.

Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:00:41 2000 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.57.2.1: preferred, colored
Changes since revision 1.57.2.1: +135 -140 lines
Sync with HEAD.

Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:13:02 2000 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +142 -341 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.87: download - view: text, markup, annotated - select for diffs
Mon Nov 6 12:35:21 2000 UTC (24 years, 2 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -1 lines
Enter ddb after ddb_init() if -d is specified.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Mon Nov 6 12:33:07 2000 UTC (24 years, 2 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +133 -140 lines
Rearrange console selection code.
Now usb keyboard is preferred to adb.

Revision 1.74.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 1 16:13:48 2000 UTC (24 years, 2 months ago) by tv
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +8 -10 lines
Pullup 1.82 [tsubai, mycroft]:
Enable console in initppc().

Revision 1.85: download - view: text, markup, annotated - select for diffs
Sun Sep 24 16:16:37 2000 UTC (24 years, 4 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +3 -2 lines
Fix a bug introduced in BOOT_FLAG change.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Sep 24 12:32:36 2000 UTC (24 years, 4 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +4 -15 lines
add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate

as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro

for hpcmips, use new bootverbose instead of it's own hpcmips_verbose

Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Wed Sep 13 15:00:20 2000 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +2 -2 lines
Add an align argument to uvm_map() and some callers of that
routine.  Works similarly fto pmap_prefer(), but allows callers
to specify a minimum power-of-two alignment of the region.
How we ever got along without this for so long is beyond me.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Tue Jul 25 05:44:27 2000 UTC (24 years, 6 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +8 -10 lines
Enable console in initppc().

Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Jul 25 05:41:30 2000 UTC (24 years, 6 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +48 -39 lines
Allocate temporary buffer to copy OF page table dynamically
rather than static variable.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Jul 6 23:27:29 2000 UTC (24 years, 6 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -2 lines
include "opt_multiprocessor.h".

Revision 1.79: download - view: text, markup, annotated - select for diffs
Thu Jul 6 22:56:24 2000 UTC (24 years, 6 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +3 -4 lines
Make it compile with "options MULTIPROCESSOR".

Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Jul 5 16:02:39 2000 UTC (24 years, 6 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +2 -52 lines
First attempt to spin up the secondary processor on 180MP and 200MP.
XXX Need more work.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Jul 2 04:40:39 2000 UTC (24 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +1 -22 lines
Kwality control:
* put #includes of opt headers and headers to get protos used by
  net/netisr_dispatch.h in net/netisr.h (if !defined(_LOCORE)) (rather than
  in netisr_dispatch.h itself, and potentially nowhere, respectively).
* require netisr.h to be included before netisr_dispatch.h.
* minor additional cleanup of both netisr.h and netisr_dispatch.h.
* clean up uses to remove now-unnecessary header file inclusions, and
  local prototypes of the fns.
* convert netisr dispatch implementations which didn't use
  netisr_dispatch.h (pc532) to use it.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Thu Jun 29 08:10:45 2000 UTC (24 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +1 -3 lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.75: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:20:48 2000 UTC (24 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +1 -2 lines
remove/move more mach vm header files:

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

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

Revision 1.73.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:01:24 2000 UTC (24 years, 7 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +27 -9 lines
Sync w/ netbsd-1-5-base.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri Jun 9 10:54:48 2000 UTC (24 years, 7 months ago) by tsubai
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +27 -9 lines
Add all RAM regions to battable.
This should support > 512MB memory.  (untested, though)

Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri May 26 21:19:54 2000 UTC (24 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +4 -1 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.72: download - view: text, markup, annotated - select for diffs
Sun Mar 26 20:42:30 2000 UTC (24 years, 10 months ago) by kleink
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -2 lines
Merge parts of chs-ubc2 into the trunk:
* Remove the casts to vaddr_t from the round_page() and trunc_page() macros to
  make them type-generic, which is necessary i.e. to operate on file offsets
  without truncating them.
* In due course, cast pointer arguments to these macros to an appropriate
  integral type (paddr_t, vaddr_t).

Originally done by Chuck Silvers, updated by myself.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Mar 24 17:05:33 2000 UTC (24 years, 10 months ago) by ws
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +6 -6 lines
Update several ports to at least work again without IPKDB
after the update of that.
Sorry for breaking this with my last changes :-(.
Fixes PR#9671 by Lennart Augustsson.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Mar 9 18:59:27 2000 UTC (24 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -2 lines
Correct the number of arguments to wsdisplay_set_cons_kbd(), for the
changes I made for cnbell().

Revision 1.69: download - view: text, markup, annotated - select for diffs
Mon Feb 21 20:38:49 2000 UTC (24 years, 11 months ago) by erh
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +10 -43 lines
Define the DONETISR macro and use netisr_dispatch.h.  This is to cut down on code duplication and to standardize the available NETISRs across all ports.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Wed Feb 9 05:48:31 2000 UTC (24 years, 11 months ago) by shin
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -2 lines
fix include file.

	<netinet6/ip6.h>	->	<netinet/ip6.h>

Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Feb 8 12:57:11 2000 UTC (24 years, 11 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +10 -2 lines
Flush cache before rebooting to preserve msgbuf.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Jan 21 18:49:52 2000 UTC (25 years ago) by tsubai
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +4 -1 lines
Recognize MPC7400.

Revision 1.38.2.6: download - view: text, markup, annotated - select for diffs
Thu Jan 20 21:24:21 2000 UTC (25 years ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Diff to: previous 1.38.2.5: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.2.5: +5 -1 lines
Pull up revision 1.64 (requested by danw):
  Add (the beginnings of) an unaligned access handler for the
  powerpc, to get around the fact that gcc currently generates bad
  floating point copies sometimes, which breaks various things,

Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed Jan 19 20:05:43 2000 UTC (25 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +1 -9 lines
Move callout initialization to a single location; no need to duplicate
that code all over the place.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Wed Jan 19 03:28:21 2000 UTC (25 years ago) by danw
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +5 -1 lines
Add a special trap handler for EXC_ALI that saves dsisr and dar

Revision 1.38.2.5: download - view: text, markup, annotated - select for diffs
Sat Jan 15 17:04:53 2000 UTC (25 years ago) by he
Branches: netbsd-1-4
Diff to: previous 1.38.2.4: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.2.4: +9 -1 lines
Apply patch (requested by tsubai):
  Apply last part of fix for "panic: startup: cannot allocate VM
  for buffers" when RAM is > approx. 128MB.

Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:32:43 1999 UTC (25 years ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +45 -156 lines
Pull up to last week's -current.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Dec 18 01:37:00 1999 UTC (25 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +13 -11 lines
Update for BATU()/BATL() changes.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sat Dec 4 21:20:47 1999 UTC (25 years, 1 month ago) by ragge
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3 lines
CL* discarding.

Revision 1.38.2.2.4.2: download - view: text, markup, annotated - select for diffs
Tue Nov 30 13:32:42 1999 UTC (25 years, 1 month ago) by itojun
Branches: kame
CVS tags: kame_141_19991130
Diff to: previous 1.38.2.2.4.1: preferred, colored; branchpoint 1.38.2.2: preferred, colored; next MAIN 1.38.2.3: preferred, colored
Changes since revision 1.38.2.2.4.1: +71 -158 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.61: download - view: text, markup, annotated - select for diffs
Mon Nov 22 13:31:44 1999 UTC (25 years, 2 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +1 -7 lines
Remove D-I cache synchronization code in setregs().  MI part has it now.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Nov 17 14:56:10 1999 UTC (25 years, 2 months ago) by kleink
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +1 -121 lines
Move signal management code common to all PowerPC platforms (sendsig(),
sigreturn(), sigcode) to a single place in the shared powerpc directory.
(The struct sigcontext etc. definitions were already being shared.)

Revision 1.57.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:38:36 1999 UTC (25 years, 2 months ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +19 -12 lines
Sync with -current

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Nov 13 00:30:38 1999 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: fvdl-softdep-base
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +5 -5 lines
Update for pmap_enter() API change.  No functional difference.

Revision 1.58.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 10 05:23:19 1999 UTC (25 years, 2 months ago) by mycroft
Branches: comdex-fall-1999
Diff to: previous 1.58.2.1: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.2.1: +1222 -0 lines
Deal with /psuedo-hid in the following atrocious way:
* If only one of ukbd or akbd is configured, use the node for that device.
* If both are configured, use ukbd.
Ultimately, the right way to deal with this is probably so simulate the effect
of /psuedo-hid using wsmux.  But not today.

Revision 1.58.2.1
Wed Nov 10 05:23:18 1999 UTC (25 years, 2 months ago) by mycroft
Branches: comdex-fall-1999
FILE REMOVED
Changes since revision 1.58: +0 -1222 lines
file machdep.c was added on branch comdex-fall-1999 on 1999-11-10 05:23:19 +0000

Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed Nov 10 05:23:18 1999 UTC (25 years, 2 months ago) by mycroft
Branches: MAIN
CVS tags: comdex-fall-1999-base
Branch point for: comdex-fall-1999
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +15 -8 lines
Deal with /psuedo-hid in the following atrocious way:
* If only one of ukbd or akbd is configured, use the node for that device.
* If both are configured, use ukbd.
Ultimately, the right way to deal with this is probably so simulate the effect
of /psuedo-hid using wsmux.  But not today.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Oct 15 12:24:36 1999 UTC (25 years, 3 months ago) by tsubai
Branches: MAIN
Branch point for: thorpej_scsipi, fvdl-softdep
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -1 lines
Support com* at pcmcia.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Oct 13 03:51:33 1999 UTC (25 years, 3 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +8 -7 lines
Use battable to map obio space rather than using bat1 registers statically.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Oct 13 03:27:48 1999 UTC (25 years, 3 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +4 -3 lines
Change char *bootpath to char bootpath[].

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Sep 21 12:36:32 1999 UTC (25 years, 4 months ago) by tsubai
Branches: MAIN
Branch point for: wrstuden-devbsize
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -4 lines
lcsplx() should return old cpl...

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

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Aug 15 12:47:15 1999 UTC (25 years, 5 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -10 lines
My last change was wrong.  Revert.

Revision 1.38.2.2.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 2 19:55:13 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.38.2.2.2.2: preferred, colored; branchpoint 1.38.2.2: preferred, colored; next MAIN 1.38.2.3: preferred, colored
Changes since revision 1.38.2.2.2.2: +16 -14 lines
Update from trunk.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Jul 20 17:31:59 1999 UTC (25 years, 6 months ago) by tsubai
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +10 -9 lines
grackle uses different I/O address.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Jul 8 18:08:55 1999 UTC (25 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +7 -6 lines
Change the pmap_extract() interface to:
	boolean_t pmap_extract(pmap_t, vaddr_t, paddr_t *);
This makes it possible for the pmap to map physical address 0.

Revision 1.38.2.2.4.1: download - view: text, markup, annotated - select for diffs
Tue Jul 6 11:02:35 1999 UTC (25 years, 6 months ago) by itojun
Branches: kame
CVS tags: kame_14_19990705
Diff to: previous 1.38.2.2: preferred, colored
Changes since revision 1.38.2.2: +13 -1 lines
KAME/NetBSD 1.4, SNAP kit 1999/07/05.
NOTE: this branch is just for reference purposes (i.e. for taking cvs diff).
do not touch anything on the branch.  actual work must be done on HEAD branch.

Revision 1.38.2.2.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 1 23:12:06 1999 UTC (25 years, 6 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.38.2.2.2.1: preferred, colored; branchpoint 1.38.2.2: preferred, colored
Changes since revision 1.38.2.2.2.1: +13 -1 lines
Sync w/ -current.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Jun 28 08:20:45 1999 UTC (25 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +13 -1 lines
- Call ip6intr if INET6 is defined.
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
  and conflicts with IPsec ESP header.

This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.

Revision 1.38.2.4: download - view: text, markup, annotated - select for diffs
Thu Jun 24 16:35:14 1999 UTC (25 years, 7 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH001
Diff to: previous 1.38.2.3: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.2.3: +70 -157 lines
pullup 1.44->1.45 (tsubai)

Revision 1.38.2.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 00:51:41 1999 UTC (25 years, 7 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.38.2.2: preferred, colored
Changes since revision 1.38.2.2: +121 -269 lines
Sync w/ -current.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Jun 14 06:22:50 1999 UTC (25 years, 7 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +16 -1 lines
Consider "have /psuedo-hid and only ADB keyboard" case to make the
new PowerBook G3 happy.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed May 26 19:16:32 1999 UTC (25 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
Change the vm_map's "entries_pageable" member to a r/o flags member, which
has PAGEABLE and INTRSAFE flags.  PAGEABLE now really means "pageable",
not "allocate vm_map_entry's from non-static pool", so update all map
creations to reflect that.  INTRSAFE maps are maps that are used in
interrupt context (e.g. kmem_map, mb_map), and thus use the static
map entry pool (XXX as does kernel_map, for now).  This will eventually
change now these maps are locked, as well.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu May 20 08:21:45 1999 UTC (25 years, 8 months ago) by lukem
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +13 -101 lines
* convert to using MI allocsys(). most ports were using an MD allocsys(),
  although a couple still used the old pre-4.4-lite (?) mechanism.
* use format_bytes() to format the various printf()s that print out memory sizes

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu May 13 23:37:19 1999 UTC (25 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +70 -157 lines
Rewrite the USB keyboard console attachment (again).  Grumble, Macintosh
firmware sets the "stdin" property of /chosen to be a pseudo-hid (yes, they
even spell it incorrectly) that merges all keyboard input into one stream,
so we can't find the USB controller we're attached to.  Instead, just give
it to the first USB keyboard found during autoconfiguration.  So that we
have SOMETHING available early on, use OpenFirmware i/o to do keyboard
input to the console wsdisplay until the USB code attaches the keyboard.

From Jason Thorpe <thorpej@nas.nasa.gov>

Revision 1.38.2.3: download - view: text, markup, annotated - select for diffs
Fri May 7 22:39:05 1999 UTC (25 years, 8 months ago) by perry
Branches: netbsd-1-4
Diff to: previous 1.38.2.2: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.2.2: +8 -8 lines
pullup 1.43->1.44 (thorpej)

Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri May 7 22:20:38 1999 UTC (25 years, 8 months ago) by wrstuden
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +8 -8 lines
For whatever reason, we just can't call pci_init() that early on Bandit
systems.  Why?  Who knows.  Firmware bugs, maybe.  In any case, moving
the call out of the ADB path works.  "Good enough for me."

Revision 1.38.2.2: download - view: text, markup, annotated - select for diffs
Thu May 6 19:41:25 1999 UTC (25 years, 8 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-RELEASE, kame_14_19990628
Branch point for: kame, chs-ubc2
Diff to: previous 1.38.2.1: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.2.1: +217 -7 lines
pullup 1.42->1.43 (thorpej)

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu May 6 19:24:47 1999 UTC (25 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +217 -7 lines
Completely rewrite how cninit() determines which keyboard to use with
the console.  New algorithm:

* if stdin == keyboard, and parent of keyboard == adb, use ADB.
* else, must be a USB keyboard.  Search backwards though the parents
until the USB controller is located.  Determine its location in the PCI
domain, and which type of controller it is, and tell that controller that
it has the console input device.  The USB code will then attach the first
USB keyboard as the console input device during autoconfiguration.

The iMac and Blue and White G3 consoles are fully functional now!

Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Apr 29 05:15:30 1999 UTC (25 years, 8 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +13 -3 lines
Now we can use symbols in DDB. :-)

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Apr 17 21:16:46 1999 UTC (25 years, 9 months ago) by ws
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +10 -8 lines
Modify syncicache on PowerPC from an inline to a real function.
Support different cache line sizes with the same object code in userland.
While here, move the function to implementation name space.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Apr 16 21:47:12 1999 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -4 lines
Now that we have direct-mapped pool pages, we can garbage-collect VM_MBUF_SIZE
and don't need to allocate mb_map.

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 16 16:19:28 1999 UTC (25 years, 9 months ago) by chs
Branches: netbsd-1-4
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2 lines
pull up 1.38 -> 1.39:
add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Apr 11 04:04:08 1999 UTC (25 years, 9 months ago) by chs
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2 lines
add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Apr 1 00:17:47 1999 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -16 lines
Don't call configure() from cpu_startup().

Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Mar 26 23:41:31 1999 UTC (25 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +6 -4 lines
Changes for modified pmap_enter() API:
* Map the message buffer with access_type = VM_PROT_READ|VM_PROT_WRITE `just
  because'.
* Map the file system buffers with access_type = VM_PROT_READ|VM_PROT_WRITE to
  avoid possible problems with pagemove().
* Do not use VM_PROT_EXEC with either of the above.
* Map pages for /dev/mem with access_type = prot.  Also, DO NOT use
  pmap_kenter() for this, as we DO NOT want to lose modification information.
* Map pages in dumpsys() with VM_PROT_READ.
* Map pages in m68k mappedcopyin()/mappedcopyout() and writeback() with
  access_type = prot.
* For now, bus_dma*(), pmap_map(), vmapbuf(), and similar functions still use
  access_type = 0.  This should probably be revisited.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Mar 24 05:51:04 1999 UTC (25 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +1 -61 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.35: download - view: text, markup, annotated - select for diffs
Mon Mar 1 21:32:24 1999 UTC (25 years, 10 months ago) by scottr
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +29 -5 lines
Implement the BUFCACHE kernel config option.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Feb 27 06:39:36 1999 UTC (25 years, 10 months ago) by scottr
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -1 lines
defopt BUFCACHE and BUFPAGES.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Feb 26 18:36:15 1999 UTC (25 years, 10 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +24 -23 lines
Initialize BAT registers in the first place.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Feb 19 14:11:35 1999 UTC (25 years, 11 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +7 -2 lines
Ensure msgbuf_paddr is accessible (by bat).

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Feb 2 16:47:08 1999 UTC (25 years, 11 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +69 -39 lines
Use private (its own) segment registers in Open Firmware call,
instead of BAT register.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Jan 27 14:46:28 1999 UTC (25 years, 11 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -1 lines
ofmsr[IP] = 0.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Jan 24 15:07:51 1999 UTC (26 years ago) by tsubai
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +6 -1 lines
syncicache(sigcode, sigcodesize) before exec.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Jan 12 15:12:44 1999 UTC (26 years ago) by tsubai
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -1 lines
Add ``#include "akbd.h"''.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Jan 12 10:51:41 1999 UTC (26 years ago) by tsubai
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -7 lines
Move MSGBUFSIZE from machdep.c to param.h
Use the last page for msgbuf instead of fixed MSGBUFADDR.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Jan 9 22:10:19 1999 UTC (26 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3 lines
Garbage-collect `mbutl'.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Dec 29 06:27:59 1998 UTC (26 years ago) by tsubai
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +19 -5 lines
iMac support (not complete yet).

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Dec 21 21:58:19 1998 UTC (26 years, 1 month ago) by tsubai
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -2 lines
Wait one second before powerdown.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Dec 4 20:22:37 1998 UTC (26 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
Pass the symbol table size, like a.out.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Oct 19 22:09:20 1998 UTC (26 years, 3 months ago) by tron
Branches: MAIN
CVS tags: chs-ubc-base, chs-ubc
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -1 lines
Defopt SYSVMSG, SYSVSEM and SYSVSHM.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Oct 14 12:28:54 1998 UTC (26 years, 3 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +10 -2 lines
Add wsdisplay/wskbd.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Oct 7 06:24:58 1998 UTC (26 years, 3 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -7 lines
Enable interrupt AFTER autoconfiguration.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Sep 21 17:16:27 1998 UTC (26 years, 4 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +16 -32 lines
Correct battable[] usage.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Sep 13 11:58:00 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +7 -3 lines
Fix omission in previous; remember to record that we're on the signal stack.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Sep 13 09:15:51 1998 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +63 -29 lines
Make signal delivery work again.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Aug 21 16:13:29 1998 UTC (26 years, 5 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +19 -17 lines
vm_offset_t --> [pv]addr_t.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Jul 13 19:37:29 1998 UTC (26 years, 6 months ago) by tsubai
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +7 -38 lines
Add support for G3 Mac.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jul 5 22:48:06 1998 UTC (26 years, 6 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1 lines
defopt NATM.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Jul 5 06:49:06 1998 UTC (26 years, 6 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -1 lines
defopt NS, NSIP.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jul 5 04:37:37 1998 UTC (26 years, 6 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1 lines
defopt ISO TPIP.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Jul 5 02:12:25 1998 UTC (26 years, 6 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -1 lines
defopt CCITT.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Jul 5 00:51:11 1998 UTC (26 years, 6 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -1 lines
defopt INET, NETATALK.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Jul 4 22:18:30 1998 UTC (26 years, 6 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -1 lines
defopt DDB.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jul 2 18:46:28 1998 UTC (26 years, 6 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +19 -11 lines
Display/Keyboard console support (by calling Openfirmware)

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Jul 2 18:21:03 1998 UTC (26 years, 6 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +36 -38 lines
Use BAT to map Openfirmware work area.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Jun 26 14:18:08 1998 UTC (26 years, 7 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +16 -5 lines
Powerdown support.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jun 21 13:46:02 1998 UTC (26 years, 7 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +90 -28 lines
Stop using "options FIRMWORKSBUGS".

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Jun 12 20:58:57 1998 UTC (26 years, 7 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1 lines
Initialize "minaddr" to 0 in cpu_startup() when UVM is defined.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Jun 5 12:22:45 1998 UTC (26 years, 7 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +135 -2 lines
Add support for UVM and MACHINE_NEW_NONCONTIG.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat May 30 06:13:03 1998 UTC (26 years, 7 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -1 lines
Make configurable without adb.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri May 15 10:15:58 1998 UTC (26 years, 8 months ago) by tsubai
Branches: MAIN
Initial import of macppc port.

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>