The NetBSD Project

CVS log for src/sys/arch/x86/x86/x86_autoconf.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.89: download - view: text, markup, annotated - select for diffs
Fri Dec 6 10:53:41 2024 UTC (7 days, 7 hours ago) by bouyer
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -3 lines
Introduce vm_guest_is_pvh() and use it in place of
	(vm_guest == VM_GUEST_XENPVH || vm_guest == VM_GUEST_GENPVH)

Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Dec 2 13:31:33 2024 UTC (11 days, 4 hours ago) by bouyer
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +3 -3 lines
Add support for non-Xen PVH guests to amd64. Patch from
Emile 'iMil' Heitor in PR kern/57813, with some cosmetic tweaks by me.
Tested on bare metal, Xen PV and Xen PVH by me.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Mar 19 13:51:35 2022 UTC (2 years, 8 months ago) by hannken
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, 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, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +6 -4 lines
Fix locking after opendisk(), VOP_IOCTL() needs an unlocked vnode,
vn_rdwr() needs flag IO_NODELOCKED.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Sat Feb 12 03:24:35 2022 UTC (2 years, 10 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +3 -3 lines
sys: Fix various abuse of struct device internals.

Will help to make struct device opaque later.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Thu Oct 7 12:52:27 2021 UTC (3 years, 2 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +10 -10 lines
KNF. No functional change.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Thu Jul 9 22:45:54 2020 UTC (4 years, 5 months ago) by jdolecek
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +4 -4 lines
Adapt to proplib api changes

Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue Jul 7 16:14:23 2020 UTC (4 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +9 -9 lines
whitelist -> permitlist

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat May 2 16:44:36 2020 UTC (4 years, 7 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +10 -2 lines
Introduce Xen PVH support in GENERIC.
This is compiled in with
options XENPVHVM
x86 changes:
- add Xen section and xen pvh entry points to locore.S. Set vm_guest
  to VM_GUEST_XENPVH in this entry point.
  Most of the boot procedure (especially page table setup and switch to
  paged mode) is shared with native.
- change some x86_delay() to delay_func(), which points to x86_delay() for
  native/HVM, and xen_delay() for PVH

Xen changes:
- remove Xen bits from init_x86_64_ksyms() and init386_ksyms()
  and move to xen_init_ksyms(), used for both PV and PVH
- set ISA no-legacy-devices property for PVH
- factor out code from Xen's cpu_bootconf() to xen_bootconf()
  in xen_machdep.c
- set up a specific pvh_consinit() which starts with printk()
  (which uses a simple hypercall that is available early) and switch to
  xencons when we can use pmap_kenter_pa().

Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Apr 28 15:43:34 2020 UTC (4 years, 7 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -2 lines
Add xbd to the list of valid disks.
Remove hardcoded root on xbd0 for Xen PVHVM, now that the x86 findroot()
knowns about xbd disks.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sat Apr 25 15:26:18 2020 UTC (4 years, 7 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -3 lines
Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM
guests in GENERIC.
Xen support can be disabled at runtime with
boot -c
disable hypervisor

Revision 1.79.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 16 09:45:57 2020 UTC (4 years, 7 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79: +3 -3 lines
More #ifndef XEN -> #ifndef XENPV

Revision 1.77.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:12 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.77.2.1: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.2.1: +3 -6 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun Nov 10 21:16:34 2019 UTC (5 years, 1 month ago) by chs
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +3 -6 lines
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.

Revision 1.75.8.1: download - view: text, markup, annotated - select for diffs
Wed Jun 12 10:17:32 2019 UTC (5 years, 6 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +12 -2 lines
Pull up following revision(s) (requested by nonaka in ticket #1280):

	sys/arch/x86/x86/consinit.c: revision 1.29
	sys/dev/hyperv/vmbusvar.h: revision 1.2
	sys/dev/hyperv/genfb_vmbusvar.h: revision 1.1
	sys/arch/x86/x86/x86_autoconf.c: revision 1.78
	sys/arch/x86/x86/identcpu.c: revision 1.91
	sys/arch/x86/x86/hyperv.c: revision 1.2
	sys/arch/x86/x86/hyperv.c: revision 1.3
	sys/arch/x86/x86/hyperv.c: revision 1.4
	sys/arch/i386/conf/GENERIC: revision 1.1207
	sys/dev/wscons/wsconsio.h: revision 1.123
	sys/arch/x86/x86/hypervvar.h: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.528
	sys/dev/hyperv/files.hyperv: revision 1.2
	sys/arch/x86/include/autoconf.h: revision 1.6
	sys/dev/hyperv/hyperv_common.c: revision 1.2
	sys/arch/xen/x86/autoconf.c: revision 1.23
	sys/arch/x86/pci/pci_machdep.c: revision 1.86
	sys/dev/hyperv/hvkbd.c: revision 1.1
	sys/dev/hyperv/hypervvar.h: revision 1.2
	sys/dev/acpi/vmbus_acpi.c: revision 1.2
	sys/dev/hyperv/vmbus.c: revision 1.3
	sys/dev/hyperv/hvkbdvar.h: revision 1.1
	sys/dev/hyperv/genfb_vmbus.c: revision 1.1

Added drivers for Hyper-V Synthetic Keyboard and Video device.

Avoid undefined reference to `hyperv_guid_video' without vmbus(4).

Avoid undefined reference to `hyperv_is_gen1' without hyperv(4).

Use efi_probe().

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

Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri May 24 14:28:48 2019 UTC (5 years, 6 months ago) by nonaka
Branches: MAIN
CVS tags: 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
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +12 -2 lines
Added drivers for Hyper-V Synthetic Keyboard and Video device.

Revision 1.76.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:47 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +34 -2 lines
Sync with HEAD

Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu Jun 7 13:35:31 2018 UTC (6 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +34 -2 lines
In device_register(), if the device is an "iic" child of "imcsmb",
attach a I2C_PROP_INDIRECT_DEVICE_WHITELIST property that limits
the allowed devices to "spdmem" and "sdtemp".  Also set the
I2C_PROP_INDIRECT_PROBE_STRATEGY property to I2C_PROBE_STRATEGY_NONE,
since that controller can't issue any of the "quick" commands.

XXX It would be nice to be able to do this in the imcsmb driver
itself, but the way autoconfiguration works makes that infeasible.

Revision 1.65.2.4: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:51 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.65.2.3: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.2.3: +28 -11 lines
update from HEAD

Revision 1.76: download - view: text, markup, annotated - select for diffs
Thu Nov 9 01:02:56 2017 UTC (7 years, 1 month ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, pgoyette-compat-base, 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: pgoyette-compat
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +16 -9 lines
add a "booted_method" string to aid in debugging double boot matches.

Revision 1.74.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:06 2016 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74: +4 -2 lines
Sync with HEAD

Revision 1.72.2.2: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:37 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.72.2.1: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.1: +7 -5 lines
Sync with HEAD

Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Sep 21 00:00:07 2016 UTC (8 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +4 -2 lines
Set hw.acpi.sleep.vbios when a non-HW accelerated VGA driver attaches.
If the VGA_POST option is present in the kernel the default value is 2,
otherwise 1. PR kern/50781

Reviewed by:    agc, mrg

Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:04 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +14 -5 lines
Sync with HEAD

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sun May 10 22:21:38 2015 UTC (9 years, 7 months ago) by mlelstv
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +5 -3 lines
Don't report EINVAL errors when searching the bootwedge, this error
is most likely the result of reading beyond the end of the wrong disk.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun May 10 22:18:58 2015 UTC (9 years, 7 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +9 -2 lines
If BTINFO_ROOTDEVICE is set but isn't a device name, then treat it
as a root specification. This allows strings like wedge:wedgename.

Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 30 12:14:37 2014 UTC (10 years, 1 month ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +2 -3 lines
Pull up following revision(s) (requested by maxv in ticket #165):
	sys/arch/newsmips/stand/boot/netif_news.c: revision 1.9
	sys/arch/mvme68k/stand/installboot/installboot.c: revision 1.19
	sys/arch/arm/arm32/pmap.c: revision 1.300
	sys/arch/amiga/dev/siop2.c: revision 1.43
	sys/arch/amiga/amiga/disksubr.c: revision 1.62
	sys/arch/news68k/news68k/bus_space.c: revision 1.13
	sys/arch/amiga/dev/siop.c: revision 1.69
	sys/arch/x86/x86/x86_autoconf.c: revision 1.72
Remove dead code in various places under arch/.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Sun Sep 21 16:52:26 2014 UTC (10 years, 2 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -3 lines
remove stray continue.

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

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

Revision 1.71: download - view: text, markup, annotated - select for diffs
Tue Jun 10 22:01:40 2014 UTC (10 years, 6 months ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +13 -12 lines
centralize the double match warning.

Revision 1.62.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:14 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.62.2.2: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.2.2: +101 -76 lines
sync with head.

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

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

Revision 1.68.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:30 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68: +95 -73 lines
sync with head

Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Apr 3 15:21:52 2014 UTC (10 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Branch point for: tls-earlyentropy
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +12 -5 lines
- prevent matchbiosdisks from being called twice. This could happen
  via raid autoconf calling cpu_rootconf() once and then init main
  calling cpu_rootconf() a second time.
- separate booted_device setup into cpu_bootconf(), a new optional function.
  This function can be called before raid autoconfiguration to determine
  the booted device. This needs to be done before raid autoconfiguration,
  otherwise if we are using wedges, the raid will autoconfigure wedges,
  and we'll be unable to open the underlying devices later to determine
  the booted device.
- fix a debugging comment.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Apr 2 02:14:08 2014 UTC (10 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +86 -71 lines
- tidy up debugging

Revision 1.62.8.4: download - view: text, markup, annotated - select for diffs
Thu Nov 7 20:35:16 2013 UTC (11 years, 1 month ago) by snj
Branches: netbsd-6
Diff to: previous 1.62.8.3: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.8.3: +8 -5 lines
Pull up following revision(s) (requested by msaitoh in ticket #977):
	sys/arch/x86/x86/x86_autoconf.c: revision 1.67
If we have both wedge and partition info, use the partition info in the
wedge case too. From mlelstv.
XXX: pullup-6

Revision 1.65.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:14 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.65.2.1: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.2.1: +9 -6 lines
resync from head

Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu May 16 19:06:45 2013 UTC (11 years, 7 months ago) by christos
Branches: MAIN
CVS tags: 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
Branch point for: rmind-smpnet
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3 lines
Complete the dosparts -> mbrparts conversion. Only x86k new uses dosparts
because it also uses struct dos_partition.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Apr 28 14:32:55 2013 UTC (11 years, 7 months ago) by christos
Branches: MAIN
CVS tags: khorben-n900
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +8 -5 lines
If we have both wedge and partition info, use the partition info in the
wedge case too. From mlelstv.
XXX: pullup-6

Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:05 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3 lines
resync with head

Revision 1.62.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:00 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.62.2.1: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.1: +3 -3 lines
sync with head

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Dec 29 21:57:13 2012 UTC (11 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8, agc-symver-base, agc-symver
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3 lines
don't leak a vnode on error

Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:35 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +26 -28 lines
sync with head

Revision 1.62.8.3: download - view: text, markup, annotated - select for diffs
Wed Aug 8 15:51:08 2012 UTC (12 years, 4 months ago) by martin
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Diff to: previous 1.62.8.2: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.8.2: +3 -3 lines
Pull up following revision(s) (requested by mlelstv in ticket #466):
	sys/arch/amiga/amiga/autoconf.c: revision 1.113
	sys/arch/rs6000/rs6000/autoconf.c: revision 1.4
	sys/arch/emips/emips/autoconf.c: revision 1.6
	sys/arch/sandpoint/sandpoint/autoconf.c: revision 1.27
	sys/arch/evbmips/alchemy/autoconf.c: revision 1.18
	sys/arch/sgimips/sgimips/autoconf.c: revision 1.43
	sys/arch/atari/atari/autoconf.c: revision 1.63
	sys/arch/powerpc/oea/ofw_autoconf.c: revision 1.17
	sys/arch/mmeye/mmeye/autoconf.c: revision 1.9
	distrib/sets/lists/comp/mi: revision 1.1771
	sys/arch/mipsco/mipsco/autoconf.c: revision 1.25
	sys/arch/iyonix/iyonix/autoconf.c: revision 1.14
	sys/arch/hp300/hp300/autoconf.c: revision 1.100
	sys/kern/init_main.c: revision 1.445
	sys/arch/pmax/pmax/autoconf.c: revision 1.79
	sys/arch/netwinder/netwinder/autoconf.c: revision 1.11
	sys/arch/dreamcast/dreamcast/autoconf.c: revision 1.10
	sys/arch/ibmnws/ibmnws/autoconf.c: revision 1.12
	sys/arch/evbppc/ev64260/autoconf.c: revision 1.17
	sys/arch/evbmips/gdium/autoconf.c: revision 1.5
	sys/arch/algor/algor/autoconf.c: revision 1.21
	share/man/man9/Makefile: revision 1.367
	sys/arch/ews4800mips/ews4800mips/autoconf.c: revision 1.9
	sys/arch/amigappc/amigappc/autoconf.c: revision 1.5
	sys/arch/x86/x86/x86_autoconf.c: revision 1.65
	sys/arch/acorn26/acorn26/autoconf.c: revision 1.9
	sys/arch/mvmeppc/mvmeppc/autoconf.c: revision 1.13
	sys/arch/vax/vax/autoconf.c: revision 1.94
	sys/arch/usermode/dev/cpu.c: revision 1.72
	sys/arch/evbppc/virtex/autoconf.c: revision 1.5
	sys/arch/next68k/next68k/autoconf.c: revision 1.26
	sys/arch/mac68k/mac68k/autoconf.c: revision 1.73
	sys/arch/ia64/ia64/autoconf.c: revision 1.6
	sys/arch/evbppc/obs405/obs405_autoconf.c: revision 1.6
	share/man/man9/cpu_rootconf.9: revision 1.7
	sys/arch/landisk/landisk/autoconf.c: revision 1.6
	sys/arch/evbmips/malta/autoconf.c: revision 1.16
	sys/arch/sun3/sun3/autoconf.c: revision 1.76
	sys/arch/evbppc/explora/autoconf.c: revision 1.13
	sys/arch/sun3/sun3/autoconf.c: revision 1.77
	sys/arch/evbmips/loongson/autoconf.c: revision 1.3
	sys/arch/evbmips/atheros/autoconf.c: revision 1.11
	sys/arch/sparc64/sparc64/autoconf.c: revision 1.188
	sys/arch/acorn32/acorn32/autoconf.c: revision 1.18
	sys/arch/evbarm/evbarm/autoconf.c: revision 1.13
	sys/arch/cobalt/cobalt/autoconf.c: revision 1.30
	sys/arch/mvme68k/mvme68k/autoconf.c: revision 1.46
	sys/arch/hp700/hp700/autoconf.c: revision 1.48
	sys/arch/evbmips/adm5120/autoconf.c: revision 1.5
	sys/arch/hpcmips/hpcmips/autoconf.c: revision 1.25
	sys/arch/alpha/alpha/autoconf.c: revision 1.52
	sys/arch/sparc/sparc/autoconf.c: revision 1.244
	sys/arch/evbppc/pmppc/autoconf.c: revision 1.7
	sys/arch/bebox/bebox/autoconf.c: revision 1.25
	sys/arch/luna68k/luna68k/autoconf.c: revision 1.13
	sys/arch/hpcarm/hpcarm/autoconf.c: revision 1.20
	sys/arch/evbppc/walnut/autoconf.c: revision 1.21
	sys/arch/cesfic/cesfic/autoconf.c: revision 1.26
	sys/arch/cats/cats/autoconf.c: revision 1.17
	sys/arch/x68k/x68k/autoconf.c: revision 1.67
	sys/arch/news68k/news68k/autoconf.c: revision 1.21
	sys/arch/arc/arc/autoconf.c: revision 1.34
	sys/arch/evbsh3/evbsh3/autoconf.c: revision 1.11
	sys/sys/conf.h: revision 1.143
	sys/arch/evbmips/rasoc/autoconf.c: revision 1.3
	sys/arch/hpcsh/hpcsh/autoconf.c: revision 1.26
	sys/arch/sun68k/sun68k/autoconf.c: revision 1.29
	sys/arch/evbmips/rmixl/autoconf.c: revision 1.6
	sys/arch/zaurus/zaurus/autoconf.c: revision 1.12
	sys/arch/xen/x86/autoconf.c: revision 1.15
	sys/arch/evbppc/mpc85xx/autoconf.c: revision 1.6
	sys/arch/shark/shark/autoconf.c: revision 1.18
	sys/arch/prep/prep/autoconf.c: revision 1.25
	sys/arch/newsmips/newsmips/autoconf.c: revision 1.36
	sys/arch/sbmips/sbmips/autoconf.c: revision 1.8
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.
No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().
Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().
Make cpu_rootconf(9) describe the calling order.
add rootconf(9) as a link to cpu_rootconf(9)
make this compile again

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Jul 29 18:05:47 2012 UTC (12 years, 4 months ago) by mlelstv
Branches: MAIN
CVS tags: yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3 lines
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.

No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().

Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().

Make cpu_rootconf(9) describe the calling order.

Revision 1.62.8.2: download - view: text, markup, annotated - select for diffs
Fri Jul 20 23:57:38 2012 UTC (12 years, 4 months ago) by riz
Branches: netbsd-6
Diff to: previous 1.62.8.1: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.8.1: +11 -5 lines
Pull up following revision(s) (requested by mhitch in ticket #429):
	sys/arch/x86/x86/x86_autoconf.c: revision 1.64
fix the comparison to determine if a biosdev is a cdrom (from mhitch)

Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Jul 13 16:31:49 2012 UTC (12 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +11 -5 lines
fix the comparison to determine if a biosdev is a cdrom (from mhitch)

Revision 1.62.8.1: download - view: text, markup, annotated - select for diffs
Thu Jul 5 18:12:47 2012 UTC (12 years, 5 months ago) by riz
Branches: netbsd-6
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +17 -25 lines
Pull up following revision(s) (requested by mlelstv in ticket #402):
	sys/dev/vnd.c: revision 1.221
	sys/kern/init_main.c: revision 1.443
	sys/kern/init_main.c: revision 1.444
	sys/dev/dkwedge/dk.c: revision 1.64
	sys/arch/x86/x86/x86_autoconf.c: revision 1.63
	sys/arch/sparc64/sparc64/autoconf.c: revision 1.187
	sys/sys/device.h: revision 1.141
	sys/dev/dkwedge/dkwedge_bsdlabel.c: revision 1.17
	sys/kern/kern_subr.c: revision 1.213
	sys/arch/zaurus/zaurus/autoconf.c: revision 1.11
	sys/arch/xen/x86/autoconf.c: revision 1.14
	sys/sys/disk.h: revision 1.57
Use the label's packname to create wedge names instead of the classic
device names. Fall back to classic device names when the label has an
empty name or the default name 'fictitious'.
autodiscover wedges
Make detection of root on wedges (dk(4)) machine independent. Remove
MD code for x86, xen, sparc64.
Make detection of root on wedges (dk(4)) machine independent. Remove
MD code for zaurus.
Do not try to find the wedge we booted from if opendisk(booted_device)
failed.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Jun 10 17:05:18 2012 UTC (12 years, 6 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +17 -25 lines
Make detection of root on wedges (dk(4)) machine independent. Remove
MD code for x86, xen, sparc64.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Oct 18 23:43:36 2011 UTC (13 years, 1 month ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, netbsd-6
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +11 -261 lines
Factor device_isa_register() and device_pci_register() out of
device_register() and stick the new routines into isa_machdep.c and
pci_machdep.c, respectively.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Mon Sep 19 10:03:32 2011 UTC (13 years, 2 months ago) by gsutre
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -3 lines
PR/38356: Minoura Makoto: Use the device's unit (instead of autoconf's)
to match the bootinfo root device.

Fixes multiboot(8) root= option as well as GRUB knetbsd --root option.

Revision 1.35.8.5: download - view: text, markup, annotated - select for diffs
Sat Aug 27 15:37:31 2011 UTC (13 years, 3 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.35.8.4: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.8.4: +6 -5 lines
Sync with HEAD. Most notably: uvm/pmap work done by rmind@, and MP Xen
work of cherry@.

No regression observed on suspend/restore.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Jul 2 13:09:31 2011 UTC (13 years, 5 months ago) by mrg
Branches: MAIN
CVS tags: jym-xensuspend-nbase, jym-xensuspend-base
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +6 -5 lines
insert some (uintptr_t) between some casts involving pointer to int.
(they already had casts for the pointer.)

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

Revision 1.50.2.2: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:33 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.50.2.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.1: +11 -1 lines
sync with head

Revision 1.35.8.4: download - view: text, markup, annotated - select for diffs
Mon Mar 28 23:04:54 2011 UTC (13 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.35.8.3: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.8.3: +71 -11 lines
Sync with HEAD. TODO before merge:
- shortcut for suspend code in sysmon, when powerd(8) is not running.
Borrow ``xs_watch'' thread context?
- bug hunting in xbd + xennet resume. Rings are currently thrashed upon
resume, so current implementation force flush them on suspend. It's not
really needed.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Mar 8 02:57:00 2011 UTC (13 years, 9 months ago) by macallan
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +13 -3 lines
if we know the framebuffer's virtual address pass it to the fb driver

Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:32 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +74 -10 lines
sync with head

Revision 1.53.4.3: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:10 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.53.4.2: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.4.2: +3 -3 lines
Sync with HEAD

Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Feb 22 06:33:33 2011 UTC (13 years, 9 months ago) by dholland
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3 lines
vga_posth should be inside NPCI > 0; from Jarle Greipsland in PR 43449.

Revision 1.53.4.2: download - view: text, markup, annotated - select for diffs
Thu Feb 17 12:00:06 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.53.4.1: preferred, colored; branchpoint 1.53: preferred, colored
Changes since revision 1.53.4.1: +41 -7 lines
Sync with HEAD

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Feb 12 19:20:44 2011 UTC (13 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: uebayasi-xip-base7, bouyer-quota2-base
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +22 -7 lines
x86 genfb: when switching back to the console, if vga_post is present use it
to reset the video mode. gives us a chance of survival if the X server
crashes or the video driver fails to restore the console properly.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Feb 9 15:02:00 2011 UTC (13 years, 10 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -2 lines
Fix build when GENFB is not there.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Feb 9 13:24:24 2011 UTC (13 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +19 -2 lines
if genfb is attached, hook into db_trap_callback to switch in and out of
polling mode as necessary

Revision 1.53.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:19:45 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +19 -2 lines
Sync with HEAD

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Feb 8 10:52:56 2011 UTC (13 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +19 -2 lines
add a 'setmode' callback to genfb and use it to setup write-combining
MTRRs on x86 whenever switching to WSDISPLAYIO_MODE_EMUL

Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Jan 10 21:26:38 2011 UTC (13 years, 11 months ago) by jakllsch
Branches: MAIN
CVS tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -5 lines
When we fail to read a block computing the matching hash,
it's nice to know what device and why.

Also, drop comment that hasn't been valid since 1.12.

Revision 1.35.8.3: download - view: text, markup, annotated - select for diffs
Sun Oct 24 22:48:20 2010 UTC (14 years, 1 month ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.35.8.2: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.8.2: +51 -13 lines
Sync with HEAD

Revision 1.49.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:21:43 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.49.2.1: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.2.1: +14 -0 lines
Sync with HEAD (-D20101022).

Revision 1.34.4.6: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:31:58 2010 UTC (14 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.34.4.5: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.4.5: +16 -2 lines
sync with head

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat Aug 21 17:27:20 2010 UTC (14 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -2 lines
I guess people still attach com & lpt to isa, so don't skip legacy devices.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Aug 21 17:10:03 2010 UTC (14 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +14 -2 lines
If ACPI is active and the FADT reports no legacy devices present, set
the 'no-legacy-devices' property to true on isa0.

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

Revision 1.35.12.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:33:46 2010 UTC (14 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +4 -4 lines
sync to netbsd-5

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

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Feb 24 22:37:55 2010 UTC (14 years, 9 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -4 lines
A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.

Revision 1.35.4.1: download - view: text, markup, annotated - select for diffs
Sun Feb 14 13:35:44 2010 UTC (14 years, 10 months ago) by bouyer
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +4 -4 lines
Pull up following revision(s) (requested by hubertf in ticket #1290):
	sys/kern/kern_ksyms.c: revision 1.53
	sys/dev/pci/agp_via.c: revision 1.18
	sys/netipsec/key.c: revision 1.63
	sys/arch/x86/x86/x86_autoconf.c: revision 1.49
	sys/kern/init_main.c: revision 1.415
	sys/kern/cnmagic.c: revision 1.11
	sys/netipsec/ipsec.c: revision 1.47
	sys/arch/x86/x86/pmap.c: revision 1.100
	sys/netkey/key.c: revision 1.176
Replace more printfs with aprint_normal / aprint_verbose
Makes "boot -z" go mostly silent for me.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Jan 31 00:43:37 2010 UTC (14 years, 10 months ago) by hubertf
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -4 lines
Replace more printfs with aprint_normal / aprint_verbose
Makes "boot -z" go mostly silent for me.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Jan 8 19:43:26 2010 UTC (14 years, 11 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -4 lines
Expand PMF_FN_* macros.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Nov 25 19:46:19 2009 UTC (15 years ago) by tron
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +6 -2 lines
Fix build of kernels without PCI support like "GENERIC_TINY".

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Nov 6 23:10:22 2009 UTC (15 years, 1 month ago) by dyoung
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +29 -9 lines
Use deviter(9) instead of accessing alldevs directly.

Revision 1.35.8.2: download - view: text, markup, annotated - select for diffs
Sun Nov 1 13:58:19 2009 UTC (15 years, 1 month ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.35.8.1: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.8.1: +85 -21 lines
Sync with HEAD.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Sep 21 13:23:43 2009 UTC (15 years, 2 months ago) by macallan
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +33 -20 lines
set is_console even if we don't have any fb_info so other console drivers
than genfb have a chance of working.
Tested with radeonfb which works fine with an RV280
TODO: figure out how to deal with more than one PCI_CLASS_DISPLAY device in
      a halfway sane manner

Revision 1.34.4.4: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:44 2009 UTC (15 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.34.4.3: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.4.3: +50 -3 lines
sync with head

Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Aug 24 23:48:57 2009 UTC (15 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-nfs-mp-base8
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -2 lines
Don't reference genfb unless NGENFB > 0

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Aug 24 11:35:27 2009 UTC (15 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +28 -4 lines
PR# port-i386/41929: genfb and machdep.acpi_vbios_reset=2 interaction

When acpi_vbios_reset=2, invoke vga_post_call followed by vga_post_set_mode
in the genfb pmf resume handler.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Aug 24 11:04:29 2009 UTC (15 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +24 -3 lines
Paranoia; restore the genfb colour map on resume.

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

Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Aug 3 20:15:14 2009 UTC (15 years, 4 months ago) by dsl
Branches: MAIN
CVS tags: yamt-nfs-mp-base7
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +6 -2 lines
Only define x86_genfb_set_mapreg() and found_console when NPCI > 0
Fixes PR/41451

Revision 1.34.4.2: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:17 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.34.4.1: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.4.1: +3 -3 lines
sync with head

Revision 1.35.8.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:18:45 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +73 -9 lines
Sync with HEAD.

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

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon May 4 12:48:26 2009 UTC (15 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
struct cfdata * -> cfdata_t

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

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri May 1 09:20:02 2009 UTC (15 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base3
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +8 -8 lines
struct device * -> device_t

Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:29:37 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +66 -2 lines
Sync with HEAD.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Feb 17 11:16:10 2009 UTC (15 years, 9 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +8 -2 lines
x86_genfb_console_screen is only available if NWSDISPLAY > 0 and
NGENFB > 0, spotted by Geoff Wing.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Feb 17 02:21:13 2009 UTC (15 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +7 -2 lines
Set clear-screen and cursor-row so the transition from the early console
driver and genfb is seamless. While we're here, clear the screen when
we first attach in case the bootloader scribbled on it.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Feb 16 22:29:33 2009 UTC (15 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +55 -2 lines
Kernel-side modifications for framebuffer console support on i386 and amd64.

* New BTINFO_FRAMEBUFFER kernel parameter to pass screen configuration
* Early attach support for framebuffer console
* Pass BTINFO_FRAMEBUFFER parameters to genfb in device_register
* Provide hooks to genfb to set VGA DAC palette in 8bpp mode

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

Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 5 20:34:12 2008 UTC (16 years, 1 month ago) by snj
Branches: netbsd-4
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +30 -1 lines
Pull up following revision(s) (requested by tsutsui in ticket #1220):
	sys/arch/x86/x86/x86_autoconf.c: revision 1.35 via patch
If no booted_device is found in find_root(), also check CD-ROM boot
with strategy bootloader does.  This allows one CD system with cd9660
root file system and mfs (like a restorecd for cobalt) using GENERIC.
No objection on port-i386, and no bad side effect on usual harddisk boot
or installation of GENERIC with miniroot module.

Revision 1.34.10.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:08 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +31 -2 lines
Sync with HEAD.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Oct 14 15:48:44 2008 UTC (16 years, 2 months ago) by tsutsui
Branches: MAIN
CVS tags: netbsd-5-base, 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, mjf-devfs2-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64, jym-xensuspend
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +31 -2 lines
If no booted_device is found in find_root(), also check CD-ROM boot
with strategy bootloader does.  This allows one CD system with cd9660
root file system and mfs (like a restorecd for cobalt) using GENERIC.

No objection on port-i386, and no bad side effect on usual harddisk boot
or installation of GENERIC with miniroot module.

Revision 1.33.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:52 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +15 -13 lines
Sync with HEAD.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Apr 16 16:06:52 2008 UTC (16 years, 8 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42-X, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, haad-dm
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +15 -13 lines
- use aprint_*_dev and device_xname
- use POSIX integer types

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

Revision 1.4.2.5: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:36:29 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.4: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.4: +3 -46 lines
sync with head.

Revision 1.30.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:17 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.1: +3 -46 lines
Sync with HEAD.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Feb 12 18:22:39 2008 UTC (16 years, 10 months ago) by joerg
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: mjf-devfs2
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -40 lines
Garbage collect the remaining parts of COMPAT_OLDBOOT. The boot loader
support has been removed at least 4 years ago and NetBSD 1.3 is ancient.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Feb 12 17:30:58 2008 UTC (16 years, 10 months ago) by joerg
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +6 -11 lines
Introduce device_find_by_xname and device_find_by_driver_unit to replace
alldevs iterations all over src.

Patch discussed with and improved on suggestioned from cube@.

Revision 1.29.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:50:01 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.29.2.1: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.1: +6 -6 lines
sync with HEAD

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

Revision 1.4.2.4: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:27:03 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.3: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.3: +6 -6 lines
sync with head

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

Revision 1.26.8.2: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:35:58 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.26.8.1: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.8.1: +6 -6 lines
Sync with HEAD. amd64 Xen support needs testing.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Nov 26 19:01:26 2007 UTC (17 years ago) by pooka
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +6 -6 lines
Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start.  In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern

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

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:58:18 2007 UTC (17 years, 2 months ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
Merge the ppcoea-renovation branch to HEAD.

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

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

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

Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:38:48 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.25.2.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.1: +8 -14 lines
Sync with head.

Revision 1.25.10.2: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:25:57 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.25.10.1: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.10.1: +8 -14 lines
Sync with HEAD

Revision 1.26.8.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:47:49 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +8 -14 lines
Sync with HEAD.

Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:31:29 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.2: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.2: +11 -116 lines
sync with head.

Revision 1.26.4.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:19:54 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +8 -14 lines
Sync with HEAD.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Aug 27 14:41:03 2007 UTC (17 years, 3 months ago) by xtraeme
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, bouyer-xenamd64
Branch point for: matt-armv6
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3 lines
Fix typo in rev 1.26: alldev -> alldevs.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Aug 27 14:39:19 2007 UTC (17 years, 3 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
Fix the $NetBSD$ tag in __KERNEL_RCSID().

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Aug 27 14:35:09 2007 UTC (17 years, 3 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +7 -13 lines
Use TAILQ_FOREACH().

Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:17:18 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -102 lines
Sync with head.

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

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

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Jun 24 01:43:34 2007 UTC (17 years, 5 months ago) by dyoung
Branches: MAIN
CVS tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -102 lines
Extract common code from i386, xen, and sparc64, creating
config_handle_wedges() and read_disk_sectors().  On x86, handle_wedges()
is a thin wrapper for config_handle_wedges().  Share opendisk()
across architectures.

Add kernel code in support of specifying a root partition by wedge
name.  E.g., root specifications "wedge:wd0a", "wedge:David's Root
Volume" are possible.  (Patches for config(1) coming soon.)

In support of moving disks between architectures (esp. i386 <->
evbmips), I've written a routine convertdisklabel() that ensures
that the raw partition is at RAW_DISK by following these steps:

        0 If we have read a disklabel that has a RAW_PART with
          p_offset == 0 and p_size != 0, then use that raw partition.

        1 If we have read a disklabel that has both partitions 'c'
          and 'd', and RAW_PART has p_offset != 0 or p_size == 0,
          but the other partition is suitable for a raw partition
          (p_offset == 0, p_size != 0), then swap the two partitions
          and use the new raw partition.

        2 If the architecture's raw partition is 'd', and if there
          is no partition 'd', but there is a partition 'c' that
          is suitable for a raw partition, then copy partition 'c'
          to partition 'd'.

        3 Determine the drive's last sector, using either the
          d_secperunit the drive reported, or by guessing (0x1fffffff).
          If we cannot read the drive's last sector, then fail.

        4 If we have read a disklabel that has no partition slot
          RAW_PART, then create a partition RAW_PART.  Make it span
          the whole drive.

        5 If there are fewer than MAXPARTITIONS partitions,
          then "slide" the unsuitable raw partition RAW_PART, and
          subsequent partitions, into partition slots RAW_PART+1
          and subsequent slots.  Create a raw partition at RAW_PART.
          Make it span the whole drive.

The convertdisklabel() procedure can probably stand to be simplified,
but it ought to deal with all but an extraordinarily broken disklabel,
now.

i386: compiled and tested, sparc64: compiled, evbmips: compiled.

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

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:09 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:22 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.1: +125 -76 lines
sync with head.

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

Revision 1.22.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:16 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +2 -1 lines
sync with head

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Oct 6 02:29:08 2006 UTC (18 years, 2 months ago) by yamt
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, netbsd-4
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
handle_wedges: fix a typo.  (NOCREAD -> NOCRED)

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Oct 5 22:43:35 2006 UTC (18 years, 2 months ago) by martin
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -1 lines
I can not test this right now, but the equivalent change was needed on
sparc64 to make root on raid shutdown cleanly: after using opendisk()
and querying wedges, we need to VOP_CLOSE() the resulting vnode.

Revision 1.5.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:44:49 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +160 -92 lines
sync with head

Revision 1.13.2.3: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:37 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.13.2.2: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.2: +124 -76 lines
sync with head.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Aug 27 04:31:55 2006 UTC (18 years, 3 months ago) by christos
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.21: preferred, colored
Changes since revision 1.21: +8 -5 lines
Fix previous thinko.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Aug 27 04:16:33 2006 UTC (18 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Fix reversed test

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Aug 27 04:11:45 2006 UTC (18 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -3 lines
Wedges don't have partitions.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Aug 13 00:56:37 2006 UTC (18 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -1 lines
Fix missing initialization of tmpvn; thanks gcc.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Aug 12 21:45:22 2006 UTC (18 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +115 -75 lines
- Check if a disk has wedges, and use the wedge device corresponding to the
  root partition, instead of punting. This makes booting work
  with traditional disklabel disks and wedge autoconfiguration.
- factor out disk opening code.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Aug 12 19:55:42 2006 UTC (18 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -2 lines
add dk.

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:58:06 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +44 -24 lines
sync with head.

Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:35:31 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.7.2.1: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.1: +2 -1 lines
Sync with head.

Revision 1.13.6.2: download - view: text, markup, annotated - select for diffs
Wed May 24 15:48:25 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.13.6.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.6.1: +1 -0 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:19 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.1: +2 -1 lines
sync with head.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun May 14 21:57:13 2006 UTC (18 years, 7 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -1 lines
integrate kauth.

Revision 1.13.4.2: download - view: text, markup, annotated - select for diffs
Sat May 6 23:31:25 2006 UTC (18 years, 7 months ago) by christos
Branches: elad-kernelauth
Diff to: previous 1.13.4.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.4.1: +2 -1 lines
- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:09 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +27 -60 lines
Sync with head.

Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 02:34:02 2006 UTC (18 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +9 -11 lines
sync with head - hopefully this will work

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:06:35 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +9 -11 lines
sync with head.

Revision 1.13.6.1: download - view: text, markup, annotated - select for diffs
Fri Mar 31 09:45:12 2006 UTC (18 years, 8 months ago) by tron
Branches: peter-altq
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +9 -11 lines
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Mar 29 04:16:48 2006 UTC (18 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, elad-kernelauth-base
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
Use device_cfdata().

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Mar 28 17:38:28 2006 UTC (18 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +7 -9 lines
Use device_unit().

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Wed Mar 1 09:28:07 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.5.2.1: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.1: +15 -16 lines
sync with head.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Feb 26 06:17:44 2006 UTC (18 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +5 -5 lines
Fix typo.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Feb 26 06:15:01 2006 UTC (18 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +7 -8 lines
Use device_is_a() more.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Feb 26 06:12:59 2006 UTC (18 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
Use device_is_a().

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Feb 23 05:37:49 2006 UTC (18 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
Use device_parent().

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Feb 21 04:32:38 2006 UTC (18 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -7 lines
Use device_class() instead of accessing dv_class directly.

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 15:38:54 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +23 -1 lines
sync with head.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Feb 4 11:24:42 2006 UTC (18 years, 10 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -34 lines
Revert yesterday's change that attempted to fix the detection of the
boot device when using a Multiboot boot loader.  It couldn't work because
these boot loaders do not pass a checksum of the disk so matchbiosdisk()
cannot really find any matches.  I should have gone to sleep before
commiting...

Found by xtraeme@.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Feb 3 23:33:30 2006 UTC (18 years, 10 months ago) by jmmv
Branches: MAIN
Branch point for: simonb-timecounters
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +35 -5 lines
When booting an i386 kernel with Multiboot, properly detect the boot device
by looking it up in the x86_alldisks table (instead of trying to match it
to 'wd*' manually).

In order to do this, move the cpu_rootconf function from x86 common code
to amd64 and i386 specific one.  This way, i386 can do an extra step (call
the appropriate Multiboot code) in the appropriate place (after
x86_matchbiosdisks and before findroot()).

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Feb 3 11:08:24 2006 UTC (18 years, 10 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +23 -1 lines
Implement support for 'The Multiboot Specification' so that i386 kernels
can be booted directly from Multiboot-compliant boot loaders (e.g. GRUB).
See the added multiboot(8) manual page for more information.

No objections in tech-kern@; only positive comments.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:19:47 2005 UTC (19 years ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace, rpaulo-netinet-merge-pcb
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -1 lines
merge ktrace-lwp.

Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:00:20 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.2: +8 -8 lines
Sync with HEAD. Here we go again...

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun May 29 21:36:40 2005 UTC (19 years, 6 months ago) by christos
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.3: preferred, colored
Changes since revision 1.3: +8 -8 lines
avoid variable shadowing.

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:51:06 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +595 -0 lines
Sync with HEAD.

Revision 1.3.2.1
Tue Oct 26 01:09:25 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
FILE REMOVED
Changes since revision 1.3: +0 -595 lines
file x86_autoconf.c was added on branch ktrace-lwp on 2004-11-02 07:51:06 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Oct 26 01:09:25 2004 UTC (20 years, 1 month ago) by xtraeme
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, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: ktrace-lwp
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Fix typo: labe -> label.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Oct 23 17:20:59 2004 UTC (20 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +134 -15 lines
Use the new BTINFO_BOOTWEDGE bootinfo to discover the booted disk and
wedge.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Oct 20 04:20:05 2004 UTC (20 years, 1 month ago) by thorpej
Branches: MAIN
Move boot device detection code from i386 and amd64 ports to x86_autoconf.c.
Rename i386_alldisks and x86_64_alldisks to x86_alldisks, adjust other
references to compensate.

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>