Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.11 |
|
30-Sep-2015 |
krw |
Use consistant whitespace/comments for #define'ing LABELSECTOR, LABELOFFSET and MAXPARTITIONS. Easier on the eye when scanning through all these files. No functional change.
|
Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.10 |
|
20-Jun-2007 |
deraadt |
b_cylinder does not need to be set on the callpath down into drivers. cpu_disklabel can go away, since nothing anymore needs to use it; ok miod
|
#
1.9 |
|
17-Jun-2007 |
deraadt |
significantly simplified disklabel infrastructure. MBR handling becomes MI to support hotplug media on most architectures. disklabel setup and verification done using new helper functions. Disklabels must *always* have a correct checksum now. Same code paths are used to learn on-disk location disklabels, to avoid new errors sneaking in. Tested on almost all cases, testing help from todd, kettenis, krw, otto, dlg, robert, gwk, drahn
|
Revision tags: OPENBSD_4_1_BASE
|
#
1.8 |
|
20-Oct-2006 |
krw |
Try again with local variable to avoid alignment issues.
"The dosparts member of cpu_disklabel was not used for any persistant data. Eliminate it, and just use the data being read in while processing MBR and EBR records.
Should be no functional change.
ok weingart@ deraadt@"
|
#
1.7 |
|
18-Oct-2006 |
deraadt |
back out disksubr changes ... since they violate strict alignment on some architectures (kaboom); that will be fixed in the next iteration hopefully!
|
#
1.6 |
|
17-Oct-2006 |
krw |
The dosparts member of cpu_disklabel was not used for any persistant data. Eliminate it, and just use the data being read in while processing MBR and EBR records.
Should be no functional change.
ok weingart@ deraadt@
|
#
1.5 |
|
04-Oct-2006 |
krw |
Zap bad144 bad sector info in disklabels. Sparsely used if at all for a few obsolete and easily replaced disk models. And didn't work anyway according to Bob, who has tried.
ok beck@
|
Revision tags: OPENBSD_4_0_BASE
|
#
1.4 |
|
01-Jul-2006 |
krw |
Eliminate redundant get_le() in favour of letoh32(). Add letoh32() calls in alpha, hppa, hppa64 and mips63 when accessing the two DOS MBR u_int32_t fields dp_size and dp_start.
No functional change.
|
#
1.3 |
|
26-Jun-2006 |
krw |
Clean up some inconsistancies in definitions around DOS MBR code. No functional change.
ok deraadt@
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.2 |
|
10-Nov-2004 |
grange |
Remove __cplusplus crud.
|
Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
|
#
1.1 |
|
28-Jan-2004 |
mickey |
an amd64 arch support. hacked by art@ from netbsd sources and then later debugged by me into the shape where it can host itself. no bootloader yet as needs redoing from the recent advanced i386 sources (anyone? ;)
|