Up to [cvs.netbsd.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.42 / (download) - annotate - [select for diffs], Thu Jun 30 20:09:41 2011 UTC (10 months, 3 weeks ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
netbsd-6-base,
netbsd-6,
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-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
HEAD
Changes since 1.41: +3 -3
lines
Diff to previous 1.41 (colored)
dependant -> dependent
Revision 1.39.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:29 2010 UTC (21 months, 1 week ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.39: +4 -2
lines
Diff to previous 1.39 (colored) next main 1.40 (colored)
Sync with HEAD.
Revision 1.31.10.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:41 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.31.10.3: +4 -2
lines
Diff to previous 1.31.10.3 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)
sync with head.
Revision 1.39.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:58 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.39: +4 -2
lines
Diff to previous 1.39 (colored) next main 1.40 (colored)
sync with head
Revision 1.41 / (download) - annotate - [select for diffs], Tue May 11 20:07:40 2010 UTC (2 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.40: +3 -3
lines
Diff to previous 1.40 (colored)
This not working on ews4800mips has nothing to do with rump, so: _RUMPKERNEL -> _MACHINE != ews4800mips
Revision 1.40 / (download) - annotate - [select for diffs], Tue May 4 12:20:50 2010 UTC (2 years ago) by tsutsui
Branch: MAIN
Changes since 1.39: +4 -2
lines
Diff to previous 1.39 (colored)
Don't #error on invalid LABELSECTOR or LABELOFFSET on __RUMPKERNEL build.
As mentioned in src/sys/rump/dev/lib/libdisk/Makefile,
rump(4) builds don't check if each ${MACHINE} actually supports
MBR in MD readdisklabel(9) ops while it pulls MD <machine/disklabel.h>.
Workarounds so long broken build of ews4800mips.
Revision 1.31.10.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:18 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.31.10.2: +15 -11
lines
Diff to previous 1.31.10.2 (colored) to branchpoint 1.31 (colored)
sync with head
Revision 1.39 / (download) - annotate - [select for diffs], Wed Dec 23 09:23:53 2009 UTC (2 years, 5 months ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
uebayasi-xip-base1,
uebayasi-xip-base
Branch point for: uebayasi-xip,
rmind-uvmplock
Changes since 1.38: +3 -3
lines
Diff to previous 1.38 (colored)
Fix typo, no code change.
Revision 1.38 / (download) - annotate - [select for diffs], Fri Nov 27 13:29:33 2009 UTC (2 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.37: +10 -8
lines
Diff to previous 1.37 (colored)
Make this work on some m68k ports which like putting the disklabel in the third sector (or have copypasted disklabel.h from a port which likes doing that ;).
Revision 1.37 / (download) - annotate - [select for diffs], Mon Nov 23 13:40:11 2009 UTC (2 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.36: +6 -4
lines
Diff to previous 1.36 (colored)
If cpu_disklabel includes struct dkbad, define __HAVE_DISKLABEL_DKBAD. This allows use of subr_disk_mbr on all archs. Default to it for the rump disk component. No functional change for regular kernels. (The other option would've been to include dkbad in disklabels everywhere, but arguably this approach has less possible side-effects, especially given that wedges and related magic will take over the world any second now).
Revision 1.35.2.1 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:35 2009 UTC (2 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.35: +4 -2
lines
Diff to previous 1.35 (colored) next main 1.36 (colored)
Sync with HEAD.
Revision 1.31.10.2 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:31 2009 UTC (2 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.31.10.1: +4 -2
lines
Diff to previous 1.31.10.1 (colored) to branchpoint 1.31 (colored)
sync with head
Revision 1.36 / (download) - annotate - [select for diffs], Wed Jun 3 15:07:30 2009 UTC (2 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
jymxensuspend-base,
jym-xensuspend-nbase
Changes since 1.35: +4 -2
lines
Diff to previous 1.35 (colored)
opt for _KERNEL_OPT
Revision 1.31.10.1 / (download) - annotate - [select for diffs], Mon May 4 08:13:47 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.31: +160 -6
lines
Diff to previous 1.31 (colored)
sync with head.
Revision 1.31.18.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:32:56 2009 UTC (3 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.31.18.1: +4 -3
lines
Diff to previous 1.31.18.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)
Sync with HEAD.
Revision 1.35 / (download) - annotate - [select for diffs], Wed Jan 28 15:26:28 2009 UTC (3 years, 3 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
jym-xensuspend-base
Branch point for: jym-xensuspend
Changes since 1.34: +4 -3
lines
Diff to previous 1.34 (colored)
Don't claim its an ISO partitioning scheme too early in the label. An MBR might me there instead.
Revision 1.31.18.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:39 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.31: +159 -6
lines
Diff to previous 1.31 (colored)
Sync with HEAD.
Revision 1.31.6.1 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:19 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.31: +159 -6
lines
Diff to previous 1.31 (colored) next main 1.32 (colored)
Sync with HEAD.
Revision 1.34 / (download) - annotate - [select for diffs], Thu Jan 8 14:06:50 2009 UTC (3 years, 4 months ago) by reinoud
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.33: +9 -12
lines
Diff to previous 1.33 (colored)
Fix the mess i made with the iso partitioning reading due to the fact that disk_read_sector() wants DEV_BLKSIZE blkno's BUT sectorsize unit lengths specified... how `logical'. Real fixup pending on discussion on tech-kern/source-changes.
Revision 1.33 / (download) - annotate - [select for diffs], Sat Jan 3 14:35:27 2009 UTC (3 years, 4 months ago) by reinoud
Branch: MAIN
Changes since 1.32: +8 -5
lines
Diff to previous 1.32 (colored)
Fix ISO partitioning readin. ISO dictates its descriptors are minimal 2048 bytes long independent of the device block size.
Revision 1.32 / (download) - annotate - [select for diffs], Tue Dec 30 19:38:36 2008 UTC (3 years, 4 months ago) by reinoud
Branch: MAIN
Changes since 1.31: +159 -6
lines
Diff to previous 1.31 (colored)
Add ISO partition detection enabling auto-detection of iso9660 and UDF partitions on optical media like CD/DVD/BD but also on all other media if there is no NetBSD disklabel or MBR label. Also fix cd's readdisklabel arguments so the ioctl's arrive at the right device (!) and update its default label to make more sense.
Revision 1.30.4.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:47 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.30: +4 -3
lines
Diff to previous 1.30 (colored) next main 1.31 (colored)
Sync with HEAD.
Revision 1.6.4.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:18 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.5: +4 -3
lines
Diff to previous 1.6.4.5 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)
sync with head
Revision 1.29.6.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:15 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.29.6.1: +4 -3
lines
Diff to previous 1.29.6.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)
sync with HEAD
Revision 1.30.10.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:56:08 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.30: +4 -3
lines
Diff to previous 1.30 (colored) next main 1.31 (colored)
Sync with HEAD
Revision 1.31 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:53 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
nick-net80211-sync-base,
nick-net80211-sync,
netbsd-5-base,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs-base,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1,
ad-audiomp2-base,
ad-audiomp2
Branch point for: yamt-nfs-mp,
nick-hppapmap,
mjf-devfs2
Changes since 1.30: +4 -3
lines
Diff to previous 1.30 (colored)
Merge vmlocking2 to head.
Revision 1.30.6.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:16 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.30: +4 -3
lines
Diff to previous 1.30 (colored) next main 1.31 (colored)
Pull the vmlocking changes into a new branch.
Revision 1.29.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:32:14 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.29: +4 -4
lines
Diff to previous 1.29 (colored)
sync with HEAD
Revision 1.6.4.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:33 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.4: +4 -4
lines
Diff to previous 1.6.4.4 (colored) to branchpoint 1.6 (colored)
sync with head.
Revision 1.29.4.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:40 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.29: +4 -4
lines
Diff to previous 1.29 (colored) next main 1.30 (colored)
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.29.8.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:45 2007 UTC (4 years, 7 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.29: +4 -4
lines
Diff to previous 1.29 (colored) next main 1.30 (colored)
sync with head.
Revision 1.30 / (download) - annotate - [select for diffs], Mon Oct 8 18:04:05 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
jmcneill-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: vmlocking2,
mjf-devfs,
bouyer-xeni386
Changes since 1.29: +4 -4
lines
Diff to previous 1.29 (colored)
Merge brelse() changes from the vmlocking branch.
Revision 1.6.4.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:41:02 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.3: +12 -12
lines
Diff to previous 1.6.4.3 (colored) to branchpoint 1.6 (colored)
sync with head.
Revision 1.26.2.4 / (download) - annotate - [select for diffs], Fri Aug 24 23:28:40 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.26.2.3: +4 -4
lines
Diff to previous 1.26.2.3 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)
Sync with buffer cache locking changes. See buf.h/vfs_bio.c for details. Some minor portions are incomplete and needs to be verified as a whole.
Revision 1.26.2.3 / (download) - annotate - [select for diffs], Sun Aug 19 19:24:54 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.26.2.2: +3 -3
lines
Diff to previous 1.26.2.2 (colored) to branchpoint 1.26 (colored)
- Back out the biodone() changes. - Eliminate B_ERROR (from HEAD).
Revision 1.28.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:49:12 2007 UTC (4 years, 9 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.28: +3 -3
lines
Diff to previous 1.28 (colored) next main 1.29 (colored)
Sync with HEAD.
Revision 1.29.10.2 / (download) - annotate - [select for diffs], Sun Jul 29 12:15:46 2007 UTC (4 years, 9 months ago) by ad
Branch: matt-mips64
Changes since 1.29.10.1: +580 -0
lines
Diff to previous 1.29.10.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)
It's not a good idea for device drivers to modify b_flags, as they don't need to understand the locking around that field. Instead of setting B_ERROR, set b_error instead. b_error is 'owned' by whoever completes the I/O request.
Revision 1.29.10.1, Sun Jul 29 12:15:45 2007 UTC (4 years, 9 months ago) by ad
Branch: matt-mips64
Changes since 1.29: +0 -580
lines
FILE REMOVED
file subr_disk_mbr.c was added on branch matt-mips64 on 2007-07-29 12:15:46 +0000
Revision 1.29 / (download) - annotate - [select for diffs], Sun Jul 29 12:15:45 2007 UTC (4 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base2,
yamt-x86pmap-base,
nick-csl-alignment-base5,
matt-mips64-base,
hpcarm-cleanup
Branch point for: yamt-x86pmap,
matt-mips64,
matt-armv6,
jmcneill-pm
Changes since 1.28: +3 -3
lines
Diff to previous 1.28 (colored)
It's not a good idea for device drivers to modify b_flags, as they don't need to understand the locking around that field. Instead of setting B_ERROR, set b_error instead. b_error is 'owned' by whoever completes the I/O request.
Revision 1.26.2.2 / (download) - annotate - [select for diffs], Sun Jul 15 13:27:43 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.26.2.1: +9 -9
lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored)
Sync with head.
Revision 1.26.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:10:04 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.26: +9 -9
lines
Diff to previous 1.26 (colored) next main 1.27 (colored)
Sync with head.
Revision 1.28 / (download) - annotate - [select for diffs], Sun Jun 24 01:43:35 2007 UTC (4 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: nick-csl-alignment-base,
mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Changes since 1.27: +8 -9
lines
Diff to previous 1.27 (colored)
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.27 / (download) - annotate - [select for diffs], Thu Jun 14 17:18:40 2007 UTC (4 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.26: +3 -2
lines
Diff to previous 1.26 (colored)
#include sys/bootblocks.h for its MBR #definitions.
Revision 1.26.2.1 / (download) - annotate - [select for diffs], Sun May 13 17:36:35 2007 UTC (5 years ago) by ad
Branch: vmlocking
Changes since 1.26: +4 -4
lines
Diff to previous 1.26 (colored)
- Pass the error number and residual count to biodone(), and let it handle setting error indicators. Prepare to eliminate B_ERROR. - Add a flag argument to brelse() to be set into the buf's flags, instead of doing it directly. Typically used to set B_INVAL. - Add a "struct cpu_info *" argument to kthread_create(), to be used to create bound threads. Change "bool mpsafe" to "int flags". - Allow exit of LWPs in the IDL state when (l != curlwp). - More locking fixes & conversion to the new API.
Revision 1.23.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:40 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.23.2.1: +4 -4
lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)
Sync with HEAD.
Revision 1.26 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:07 2007 UTC (5 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Changes since 1.25: +4 -4
lines
Diff to previous 1.25 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.23.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:27 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.23: +4 -4
lines
Diff to previous 1.23 (colored)
- sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.6.4.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:14 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.2: +4 -7
lines
Diff to previous 1.6.4.2 (colored) to branchpoint 1.6 (colored)
sync with head.
Revision 1.25 / (download) - annotate - [select for diffs], Thu Feb 22 06:34:44 2007 UTC (5 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base,
ad-audiomp
Changes since 1.24: +4 -4
lines
Diff to previous 1.24 (colored)
TRUE -> true, FALSE -> false
Revision 1.24 / (download) - annotate - [select for diffs], Wed Feb 21 23:00:05 2007 UTC (5 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.23: +3 -3
lines
Diff to previous 1.23 (colored)
Replace the Mach-derived boolean_t type with the C99 bool type. A future commit will replace use of TRUE and FALSE with true and false.
Revision 1.23 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:31 2007 UTC (5 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Changes since 1.22: +2 -5
lines
Diff to previous 1.22 (colored)
Merge newlock2 to head.
Revision 1.18.6.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:07 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.18: +2 -56
lines
Diff to previous 1.18 (colored) next main 1.19 (colored)
Sync with head.
Revision 1.6.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:06 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.4.1: +5 -56
lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored)
sync with head.
Revision 1.18.8.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:45 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.18.8.1: +4 -59
lines
Diff to previous 1.18.8.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)
sync with head.
Revision 1.22 / (download) - annotate - [select for diffs], Sat Nov 25 11:59:58 2006 UTC (5 years, 6 months ago) by scw
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm
Changes since 1.21: +2 -56
lines
Diff to previous 1.21 (colored)
Replace the myriad copies of bounds_check_with_label() with a single MI version. Add disk_blocksize(9) so that disk drivers can record the physical block size of a disk if it is different to DEV_BSIZE. Right now this simply initialises dk_blkshift and dk_byteshift according to the supplied block size. This information is used in the MI version of bounds_check_with_label().
Revision 1.21 / (download) - annotate - [select for diffs], Wed Nov 1 10:17:58 2006 UTC (5 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.20: +4 -5
lines
Diff to previous 1.20 (colored)
remove some __unused from function parameters.
Revision 1.18.8.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:11 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.18: +8 -4
lines
Diff to previous 1.18 (colored)
sync with head
Revision 1.20 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:18 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.19: +5 -4
lines
Diff to previous 1.19 (colored)
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
Revision 1.19 / (download) - annotate - [select for diffs], Sat Sep 23 11:51:04 2006 UTC (5 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.18: +5 -2
lines
Diff to previous 1.18 (colored)
PR# 33260: [dM] kernel divide-by-zero for some broken disks
Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:16 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.17: +12 -6
lines
Diff to previous 1.17 (colored) next main 1.18 (colored)
sync with head
Revision 1.17.6.1 / (download) - annotate - [select for diffs], Mon Jun 26 12:52:57 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.17: +12 -6
lines
Diff to previous 1.17 (colored) next main 1.18 (colored)
sync with head.
Revision 1.6.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:38 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6: +125 -75
lines
Diff to previous 1.6 (colored)
sync with head.
Revision 1.17.12.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:07:16 2006 UTC (5 years, 11 months ago) by chap
Branch: chap-midi
Changes since 1.17: +12 -6
lines
Diff to previous 1.17 (colored) next main 1.18 (colored)
Sync with head.
Revision 1.18 / (download) - annotate - [select for diffs], Sun Jun 11 23:25:23 2006 UTC (5 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
rpaulo-netinet-merge-pcb-base,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Changes since 1.17: +12 -6
lines
Diff to previous 1.17 (colored)
Always make partitions contiguous even if the mbr has gaps. From someone who wants to remain anonymous.
Revision 1.16.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:52:20 2006 UTC (6 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.16: +69 -42
lines
Diff to previous 1.16 (colored) next main 1.17 (colored)
sync with head.
Revision 1.17 / (download) - annotate - [select for diffs], Sat Jan 28 19:57:07 2006 UTC (6 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
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,
elad-kernelauth-base,
elad-kernelauth
Branch point for: yamt-pdpolicy,
rpaulo-netinet-merge-pcb,
chap-midi
Changes since 1.16: +69 -42
lines
Diff to previous 1.16 (colored)
Improve disk portability between systems. - Always look for labels in the first two sectors - Update all existing labels, but only write new labels to netbsd mbr partitions, and the first/second sector of disks that don't have an mbr. Moving disks between systems still sucks bigtime! - raw patition is either c or d, if d then c is reserved - max partitions might be 8 or 16, nothing in the label gives the maximum - endianness
Revision 1.16 / (download) - annotate - [select for diffs], Tue Dec 27 15:45:09 2005 UTC (6 years, 4 months ago) by jmmv
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.15: +8 -5
lines
Diff to previous 1.15 (colored)
Improve a comment in the patch I sent (handle DM6 DDO partition) based on hubertf@'s comments. Hmm... I didn't even notice this was already committed.
Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 26 16:11:04 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.14: +4 -3
lines
Diff to previous 1.14 (colored)
don't hard-code 63.
Revision 1.14 / (download) - annotate - [select for diffs], Mon Dec 26 16:08:34 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.13: +19 -2
lines
Diff to previous 1.13 (colored)
Julio M. Merino Vidal: Patch to recognize and automatically skip the Ontrack Disk Manager drivers.
Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 18 17:02:45 2005 UTC (6 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.12: +18 -27
lines
Diff to previous 1.12 (colored)
KNF - remove the K&R function definitions
Revision 1.12 / (download) - annotate - [select for diffs], Sun Dec 18 16:48:06 2005 UTC (6 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.11: +10 -5
lines
Diff to previous 1.11 (colored)
Only update partition 2 when RAW_PART is 3.
Revision 1.11 / (download) - annotate - [select for diffs], Wed Dec 14 21:40:32 2005 UTC (6 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.10: +2 -4
lines
Diff to previous 1.10 (colored)
Revert previous change. It breaks the code that generates a default label (with partition 'a' covering the entire volume - which is what everything expects) for disks that don't have a NetBSD label nor an MBR, but do have a single filesytem covering the entire volume.
Revision 1.10 / (download) - annotate - [select for diffs], Wed Dec 14 15:27:59 2005 UTC (6 years, 5 months ago) by cube
Branch: MAIN
Changes since 1.9: +3 -3
lines
Diff to previous 1.9 (colored)
Remove bogus XXX comment: a.msg doesn't point to stack data.
Revision 1.9 / (download) - annotate - [select for diffs], Wed Dec 14 15:23:00 2005 UTC (6 years, 5 months ago) by cube
Branch: MAIN
Changes since 1.8: +3 -3
lines
Diff to previous 1.8 (colored)
Fix typo in previous commit.
Revision 1.8 / (download) - annotate - [select for diffs], Wed Dec 14 15:01:03 2005 UTC (6 years, 5 months ago) by reinoud
Branch: MAIN
Changes since 1.7: +7 -5
lines
Diff to previous 1.7 (colored)
Fix disklabel recognition code for mbr based systems like i386. It would return NULL even though no disklabel was found making callers assume that a valid disklabel WAS found but instead were presented by the dummy disklabel that is created. If the rval is SCAN_CONTINUE it now returns a standard error that no disklabel was found instead of the NULL.
Revision 1.7 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:30 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.6: +2 -2
lines
Diff to previous 1.6 (colored)
merge ktrace-lwp.
Revision 1.4.10.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:24 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.4: +4 -4
lines
Diff to previous 1.4 (colored) next main 1.5 (colored)
sync with -current
Revision 1.4.12.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:12 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.4.12.1: +3 -3
lines
Diff to previous 1.4.12.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)
sync with head. xen and whitespace. xen part is not finished.
Revision 1.4.4.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:52:00 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.4.5: +3 -3
lines
Diff to previous 1.4.4.5 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)
Sync with HEAD. Hi Perry!
Revision 1.6 / (download) - annotate - [select for diffs], Sat Feb 26 21:34:55 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
yamt-km-base4,
yamt-km-base3,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
ktrace-lwp-base,
kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.5: +3 -3
lines
Diff to previous 1.5 (colored)
nuke trailing whitespace
Revision 1.4.12.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:52 2005 UTC (7 years, 3 months ago) by yamt
Branch: yamt-km
Changes since 1.4: +3 -3
lines
Diff to previous 1.4 (colored)
sync with head.
Revision 1.4.4.5 / (download) - annotate - [select for diffs], Wed Feb 9 08:26:14 2005 UTC (7 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.4.4: +3 -3
lines
Diff to previous 1.4.4.4 (colored) to branchpoint 1.4 (colored)
Sync with HEAD.
Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 8 08:58:19 2005 UTC (7 years, 3 months ago) by fvdl
Branch: MAIN
CVS Tags: yamt-km-base2,
matt-timespec
Changes since 1.4: +3 -3
lines
Diff to previous 1.4 (colored)
Change the 'sz' variable in bounds_check_* to int64_t to avoid overflows when a very large blocknumber is passed in.
Revision 1.4.4.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:12 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.4.3: +2 -2
lines
Diff to previous 1.4.4.3 (colored) to branchpoint 1.4 (colored)
Fix the sync with head I botched.
Revision 1.4.4.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:53:03 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.4.2: +2 -2
lines
Diff to previous 1.4.4.2 (colored) to branchpoint 1.4 (colored)
Sync with HEAD.
Revision 1.4.4.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:55 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.4.1: +584 -0
lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored)
Sync with HEAD
Revision 1.4.4.1, Wed Oct 8 04:25:46 2003 UTC (8 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4: +0 -584
lines
FILE REMOVED
file subr_disk_mbr.c was added on branch ktrace-lwp on 2004-08-03 10:52:55 +0000
Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 8 04:25:46 2003 UTC (8 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-km-base,
netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
ktrace-lwp,
kent-audio2
Changes since 1.3: +20 -20
lines
Diff to previous 1.3 (colored)
Overhaul MBR handling (part 1):
<sys/bootblock.h>:
* Added definitions for the Master Boot Record (MBR) used by
a variety of systems (primarily i386), including the format
of the BIOS Parameter Block (BPB).
This information was cribbed from a variety of sources
including <sys/disklabel_mbr.h> which this is a superset of.
As part of this, some data structure elements and #defines
were renamed to be more "namespace friendly" and consistent
with other bootblocks and MBR documentation.
Update all uses of the old names to the new names.
<sys/disklabel_mbr.h>:
* Deprecated in favor of <sys/bootblock.h> (the latter is more
"host tool" friendly).
amd64 & i386:
* Renamed /usr/mdec/bootxx_dosfs to /usr/mdec/bootxx_msdos, to
be consistent with the naming convention of the msdosfs tools.
* Removed /usr/mdec/bootxx_ufs, as it's equivalent to bootxx_ffsv1
and it's confusing to have two functionally equivalent bootblocks,
especially given that "ufs" has multiple meanings (it could be
a synonym for "ffs", or the group of ffs/lfs/ext2fs file systems).
* Rework pbr.S (the first sector of bootxx_*):
+ Ensure that BPB (bytes 11..89) and the partition table
(bytes 446..509) do not contain code.
+ Add support for booting from FAT partitions if BOOT_FROM_FAT
is defined. (Only set for bootxx_msdos).
+ Remove "dummy" partition 3; if people want to installboot(8)
these to the start of the disk they can use fdisk(8) to
create a real MBR partition table...
+ Compile with TERSE_ERROR so it fits because of the above.
Whilst this is less user friendly, I feel it's important
to have a valid partition table and BPB in the MBR/PBR.
* Renamed /usr/mdec/biosboot to /usr/mdec/boot, to be consistent
with other platforms.
* Enable SUPPORT_DOSFS in /usr/mdec/boot (stage2), so that
we can boot off FAT partitions.
* Crank version of /usr/mdec/boot to 3.1, and fix some of the other
entries in the version file.
installboot(8) (i386):
* Read the existing MBR of the filesystem and retain the BIOS
Parameter Block (BPB) in bytes 11..89 and the MBR partition
table in bytes 446..509. (Previously installboot(8) would
trash those two sections of the MBR.)
mbrlabel(8):
* Use sys/lib/libkern/xlat_mbr_fstype.c instead of homegrown code
to map the MBR partition type to the NetBSD disklabel type.
Test built "make release" for i386, and new bootblocks verified to work
(even off FAT!).
Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 19 11:49:24 2003 UTC (8 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.2: +74 -55
lines
Diff to previous 1.2 (colored)
When writing the disklabel: - Write label to all netbsd (type 169) mbr partitions (even if they don't already have a label). - Update any label found in sector LABELSECTOR and sector 0. Latter change makes DIOCWDINFO (etc) work on raidframe (fixing bin/22529).
Revision 1.2 / (download) - annotate - [select for diffs], Thu Aug 7 16:31:53 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.1: +3 -7
lines
Diff to previous 1.1 (colored)
Move UCB-licensed code from 4-clause to 3-clause licence. Patches provided by Joel Baker in PR 22364, verified by myself.
Revision 1.1 / (download) - annotate - [select for diffs], Mon Jul 7 13:28:48 2003 UTC (8 years, 10 months ago) by dsl
Branch: MAIN
MI code to read disklabels from mbr disks.