#
fcd15ee6 |
| 13-Aug-2022 |
martin <martin@NetBSD.org> |
Do not try to create a fake MBR disklabel from the PMBR of a GPT disk.
|
#
0b6cf9e7 |
| 14-Mar-2014 |
mrg <mrg@NetBSD.org> |
remove various set-but-unused variables.
|
#
aacf9d5b |
| 24-Jan-2012 |
hauke <hauke@NetBSD.org> |
Add support for BSD disklabels, scanning the beginning of the disk in four-byte strides, like disklabel(8) does it.
Since the netbsd-6 branch is around the corner, this is a minimally-intrusive addi
Add support for BSD disklabels, scanning the beginning of the disk in four-byte strides, like disklabel(8) does it.
Since the netbsd-6 branch is around the corner, this is a minimally-intrusive addition.
Note there is no write support, for good reasons. Note also that disksubr.c is in dire need of re-structuring.
show more ...
|
#
7cc9af7d |
| 16-Mar-2009 |
dsl <dsl@NetBSD.org> |
ANSIfy functions with function-pointer arguments
|
#
82357f6d |
| 14-Mar-2009 |
dsl <dsl@NetBSD.org> |
ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
|
#
454af1c0 |
| 14-Mar-2009 |
dsl <dsl@NetBSD.org> |
Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle
Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
show more ...
|
#
02cdf4d2 |
| 14-Mar-2009 |
dsl <dsl@NetBSD.org> |
Remove all the __P() from sys (excluding sys/dist) Diff checked with grep and MK1 eyeball. i386 and amd64 GENERIC and sys still build.
|
#
4a780c9a |
| 02-Jan-2008 |
ad <ad@NetBSD.org> |
Merge vmlocking2 to head.
|
#
d974db0a |
| 17-Oct-2007 |
garbled <garbled@NetBSD.org> |
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 v
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.
show more ...
|
#
9f56dfa5 |
| 08-Oct-2007 |
ad <ad@NetBSD.org> |
Merge brelse() changes from the vmlocking branch.
|
#
ba442162 |
| 04-Mar-2007 |
macallan <macallan@NetBSD.org> |
make this compile again
|
#
53524e44 |
| 04-Mar-2007 |
christos <christos@NetBSD.org> |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
#
e07faf8a |
| 25-Nov-2006 |
scw <scw@NetBSD.org> |
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_BSI
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().
show more ...
|
#
6f0f9f87 |
| 29-Jan-2006 |
dsl <dsl@NetBSD.org> |
Make almost everything #include <sys/bswap.h> instead of <machine/bswap.h> The bswap.h and endian.h files are all rather incestuous, but I want to get the constant folding stuff into one place - sys/
Make almost everything #include <sys/bswap.h> instead of <machine/bswap.h> The bswap.h and endian.h files are all rather incestuous, but I want to get the constant folding stuff into one place - sys/bswap.h
show more ...
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
7612d736 |
| 03-Jun-2005 |
matt <matt@NetBSD.org> |
Cleanup new warnings...
|
#
57baf759 |
| 08-Nov-2004 |
mbw <mbw@NetBSD.org> |
Reverting. Apparently these patches cause problems.
|
#
7f3392aa |
| 07-Nov-2004 |
mbw <mbw@NetBSD.org> |
Add disklabel recognition for another Apple file type "BZB_ROOTFS_NEW 0xc000" Also closes PR 10046
|
#
3abecdb8 |
| 01-Nov-2003 |
jdolecek <jdolecek@NetBSD.org> |
avoid stong words in comments
|
#
1c33b4e6 |
| 08-Oct-2003 |
lukem <lukem@NetBSD.org> |
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 Paramete
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!).
show more ...
|
#
aad01611 |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
4b2744bf |
| 15-Jul-2003 |
lukem <lukem@NetBSD.org> |
__KERNEL_RCSID()
|
#
e43fecb2 |
| 10-May-2003 |
thorpej <thorpej@NetBSD.org> |
Change bounds_check_with_label() to take a pointer to the disk structure, rather than the label itself. This paves the way for some future changes.
|
#
d91455ce |
| 02-May-2003 |
dsl <dsl@NetBSD.org> |
Change return type of readdisklabel() to const char * I hope I've found all the correct places!
|
#
aec10dd8 |
| 16-Apr-2003 |
bouyer <bouyer@NetBSD.org> |
Nake return values from bounds_check_with_label() conform to the man page: -1 for error, 0 for EOF, 1 otherwise. Inspired by an OpenBSD commit message, pointed out by Miod Vallat in private mail. vax
Nake return values from bounds_check_with_label() conform to the man page: -1 for error, 0 for EOF, 1 otherwise. Inspired by an OpenBSD commit message, pointed out by Miod Vallat in private mail. vax/mba/hp.c: check return value <= 0, not < 0 to be concistent with how other places handle return values from bounds_check_with_label().
show more ...
|