diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-18 17:11:07 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-18 17:11:07 +0000 |
commit | 4b41eac596096e6da929cf5f024b2b96cba4cc87 (patch) | |
tree | 2540f719834ebbff2dade88bb29ecae6782dc8ee | |
parent | 3784052d6d268ddd93fc4276c39c61c5bef7ef1e (diff) |
move comment to right place
-rw-r--r-- | sys/arch/mvme68k/include/disklabel.h | 18 | ||||
-rw-r--r-- | sys/arch/mvme88k/include/disklabel.h | 8 |
2 files changed, 13 insertions, 13 deletions
diff --git a/sys/arch/mvme68k/include/disklabel.h b/sys/arch/mvme68k/include/disklabel.h index 3776099140d..d0223e818ae 100644 --- a/sys/arch/mvme68k/include/disklabel.h +++ b/sys/arch/mvme68k/include/disklabel.h @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.h,v 1.9 2007/06/17 00:27:27 deraadt Exp $ */ +/* $OpenBSD: disklabel.h,v 1.10 2007/06/18 17:11:06 deraadt Exp $ */ /* * Copyright (c) 1996 Nivas Madhur @@ -35,30 +35,30 @@ #define LABELOFFSET 0 /* offset of label in sector */ #define MAXPARTITIONS 16 /* number of partitions */ +struct cpu_disklabel { +}; + /* - * a cpu_disklabel is a disklabel that the bug (prom) can understand + * a mvmedisklabel is a disklabel that the bug (prom) can understand * and live with. the bug works in terms of 256 byte blocks. in our - * case the first two bug blocks make up the cpu_disklabel (which is 512 + * case the first two bug blocks make up the mvmedisklabel (which is 512 * bytes [i.e. one sector] in length). * * we use a fixed layout the BSD disk structure (in 256 byte blocks): - * block 0 = the volume ID block (part of cpu_disklabel) - * block 1 = media configuration area (part of cpu_disklabel) + * block 0 = the volume ID block (part of mvmedisklabel) + * block 1 = media configuration area (part of mvmedisklabel) * block 2 = start of first level OS bootstrap (continues ...) * block 31 = end of OS bootstrap * block 32 = BSD filesystem superblock * * this gives us 30 blocks (30*256 = 7680 bytes) for the bootstrap's text+data * - * disksubr.c translates between cpu_disklabel and BSD disklabel. + * disksubr.c translates between mvmedisklabel and BSD disklabel. * * Note: this structure is exactly 512 bytes in size. If you move fields * around, make sure the various members are properly aligned and the * compiler won't do any additional padding. */ -struct cpu_disklabel { -}; - struct mvmedisklabel { /* VID */ u_char vid_id[4]; diff --git a/sys/arch/mvme88k/include/disklabel.h b/sys/arch/mvme88k/include/disklabel.h index f70f7a3d739..4e898cae43c 100644 --- a/sys/arch/mvme88k/include/disklabel.h +++ b/sys/arch/mvme88k/include/disklabel.h @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.h,v 1.12 2007/06/17 00:27:27 deraadt Exp $ */ +/* $OpenBSD: disklabel.h,v 1.13 2007/06/18 17:11:06 deraadt Exp $ */ /* * Copyright (c) 1996 Nivas Madhur @@ -35,14 +35,14 @@ #define LABELOFFSET 0 /* offset of label in sector */ #define MAXPARTITIONS 16 /* number of partitions */ +struct cpu_disklabel { +}; + /* * Note: this structure is exactly 512 bytes in size. If you move fields * around, make sure the various members are properly aligned and the * compiler won't do any additional padding. */ -struct cpu_disklabel { -}; - struct mvmedisklabel { /* VID */ u_char vid_id[4]; |