summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-03-23 16:36:19 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-03-23 16:36:19 +0000
commitb3fab81df21411a612bb66e43ea97a1e36b31bf1 (patch)
tree2bdb204d66faa47e11cd78528fc1275da061a53a /sys/arch
parent37f60ce6b9a14a7aa8b5caa26f1edd8d4d07fd05 (diff)
Add DOSMBR_SIGNATURE_OFF define, needed for last disklabel change
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/include/disklabel.h3
-rw-r--r--sys/arch/arc/include/disklabel.h3
-rw-r--r--sys/arch/i386/include/disklabel.h3
-rw-r--r--sys/arch/powerpc/include/disklabel.h3
4 files changed, 8 insertions, 4 deletions
diff --git a/sys/arch/alpha/include/disklabel.h b/sys/arch/alpha/include/disklabel.h
index 256161b50fe..12ab27f209c 100644
--- a/sys/arch/alpha/include/disklabel.h
+++ b/sys/arch/alpha/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.10 1998/02/24 04:22:35 deraadt Exp $ */
+/* $OpenBSD: disklabel.h,v 1.11 1999/03/23 16:36:16 millert Exp $ */
/* $NetBSD: disklabel.h,v 1.1 1995/02/13 23:07:34 cgd Exp $ */
/*
@@ -62,6 +62,7 @@ enum disklabel_tag { DLT_ALPHA, DLT_I386, DLT_AMIGA };
#define DOSACTIVE 0x80
#define NDOSPART 4
#define DOSMBR_SIGNATURE 0xaa55
+#define DOSMBR_SIGNATURE_OFF 0x1fe
struct dos_partition {
u_int8_t dp_flag; /* bootstrap flags */
diff --git a/sys/arch/arc/include/disklabel.h b/sys/arch/arc/include/disklabel.h
index e014963883d..eaa1ce6d902 100644
--- a/sys/arch/arc/include/disklabel.h
+++ b/sys/arch/arc/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.13 1998/02/24 04:22:36 deraadt Exp $ */
+/* $OpenBSD: disklabel.h,v 1.14 1999/03/23 16:36:17 millert Exp $ */
/* $NetBSD: disklabel.h,v 1.3 1996/03/09 20:52:54 ghudson Exp $ */
/*
@@ -45,6 +45,7 @@
#define DOSACTIVE 0x80
#define NDOSPART 4
#define DOSMBR_SIGNATURE 0xAA55
+#define DOSMBR_SIGNATURE_OFF 0x1FE
struct dos_partition {
u_int8_t dp_flag; /* bootstrap flags */
diff --git a/sys/arch/i386/include/disklabel.h b/sys/arch/i386/include/disklabel.h
index 9ea92468de3..7e95e4de125 100644
--- a/sys/arch/i386/include/disklabel.h
+++ b/sys/arch/i386/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.19 1998/02/24 04:22:37 deraadt Exp $ */
+/* $OpenBSD: disklabel.h,v 1.20 1999/03/23 16:36:18 millert Exp $ */
/* $NetBSD: disklabel.h,v 1.3 1996/03/09 20:52:54 ghudson Exp $ */
/*
@@ -80,6 +80,7 @@ struct dos_mbr {
} __attribute__((packed));
#define DOSMBR_SIGNATURE (0xaa55)
+#define DOSMBR_SIGNATURE_OFF (0x1fe)
#include <sys/dkbad.h>
struct cpu_disklabel {
diff --git a/sys/arch/powerpc/include/disklabel.h b/sys/arch/powerpc/include/disklabel.h
index 1b21247791a..8056cfb0c46 100644
--- a/sys/arch/powerpc/include/disklabel.h
+++ b/sys/arch/powerpc/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.10 1998/02/19 20:36:35 deraadt Exp $ */
+/* $OpenBSD: disklabel.h,v 1.11 1999/03/23 16:36:18 millert Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -46,6 +46,7 @@
#define DOSMAGIC 0xaa55 /* Actual magic number */
#define MBRMAGIC DOSMAGIC
#define DOSMBR_SIGNATURE MBRMAGIC
+#define DOSMBR_SIGNATURE_OFF DOSMAGICOFF
#define DOSACTIVE 0x80
struct dos_partition {