summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-05-03 10:00:14 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-05-03 10:00:14 +0000
commit28544ded45b3fe46cb7c91f7a25baf2a680f6e67 (patch)
treecb71cb4c0a2bcd0d4dbd5eddb451228cfa4e71e1 /sys/arch
parent595cbd2e050401adf0cab2bab6ce52f902dfbb54 (diff)
fix LOCORE->_LOCORE changes.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/vax/include/disklabel.h2
-rw-r--r--sys/arch/vax/include/ka650.h4
-rw-r--r--sys/arch/vax/include/nexus.h2
-rw-r--r--sys/arch/vax/include/uvaxII.h2
-rw-r--r--sys/arch/vax/uba/ubareg.h2
-rw-r--r--sys/arch/vax/uba/ubavar.h4
6 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/vax/include/disklabel.h b/sys/arch/vax/include/disklabel.h
index e1505c58f6c..f03ecb50fe2 100644
--- a/sys/arch/vax/include/disklabel.h
+++ b/sys/arch/vax/include/disklabel.h
@@ -39,7 +39,7 @@
#define RAW_PART 3 /* raw partition: xx?c (XXX) */
/* Just a dummy */
-#ifndef LOCORE
+#ifndef _LOCORE
struct cpu_disklabel {
int cd_dummy; /* must have one element. */
};
diff --git a/sys/arch/vax/include/ka650.h b/sys/arch/vax/include/ka650.h
index 63d9f42d93f..ec370f3232c 100644
--- a/sys/arch/vax/include/ka650.h
+++ b/sys/arch/vax/include/ka650.h
@@ -79,7 +79,7 @@
#define DMASER_BITS \
"\20\20BHALT\17DCNEG\10QBNXM\6QBPE\5MEMERR\4LOSTERR\3NOGRANT\1DMANXM"
-#ifndef LOCORE
+#ifndef _LOCORE
/*
* Local registers (in I/O space)
* This is done in disjoint sections. Map names are set in locore.s
@@ -207,7 +207,7 @@ struct ka650_ipcr {
};
#define KA650_IPCR 0x20001e00
-#endif LOCORE
+#endif /* _LOCORE */
/*
* Physical start address of the Qbus memory.
diff --git a/sys/arch/vax/include/nexus.h b/sys/arch/vax/include/nexus.h
index 60343f3df2c..fe9a2fb0288 100644
--- a/sys/arch/vax/include/nexus.h
+++ b/sys/arch/vax/include/nexus.h
@@ -135,7 +135,7 @@ extern caddr_t *nex_vec;
#define NEX_CFGFLT (0xfc000000)
-#ifndef LOCORE
+#ifndef _LOCORE
#if defined(VAX780) || defined(VAX8600)
#define NEXFLT_BITS \
"\20\40PARFLT\37WSQFLT\36URDFLT\35ISQFLT\34MXTFLT\33XMTFLT"
diff --git a/sys/arch/vax/include/uvaxII.h b/sys/arch/vax/include/uvaxII.h
index 7612b7abb35..7bb1ada32eb 100644
--- a/sys/arch/vax/include/uvaxII.h
+++ b/sys/arch/vax/include/uvaxII.h
@@ -102,7 +102,7 @@ void uvaxII_settodr __P((time_t));
#define KA630CLK_RSTRT 010
#define KA630CLK_LANG 0360
-#ifndef LOCORE
+#ifndef _LOCORE
struct ka630clock {
u_short sec;
u_short secalrm;
diff --git a/sys/arch/vax/uba/ubareg.h b/sys/arch/vax/uba/ubareg.h
index be7dd1ab475..f715debad4d 100644
--- a/sys/arch/vax/uba/ubareg.h
+++ b/sys/arch/vax/uba/ubareg.h
@@ -95,7 +95,7 @@
#define UBAIOADDR 0760000 /* start of I/O page */
#define UBAIOPAGES 16
-#ifndef LOCORE
+#ifndef _LOCORE
/*
* DWBUA hardware registers.
*/
diff --git a/sys/arch/vax/uba/ubavar.h b/sys/arch/vax/uba/ubavar.h
index 1cc8ea8ce9e..18d28ae0044 100644
--- a/sys/arch/vax/uba/ubavar.h
+++ b/sys/arch/vax/uba/ubavar.h
@@ -244,7 +244,7 @@ struct ubinfo {
(((bdp) << 28) | ((nmr) << 20) | ((mr) << 9) | (off))
#endif
-#ifndef LOCORE
+#ifndef _LOCORE
#ifdef _KERNEL
#define ubago(ui) ubaqueue(ui, 0)
@@ -267,4 +267,4 @@ void ubareset __P((int));
int ubasetup __P((int, struct buf *, int));
#endif /* _KERNEL */
-#endif !LOCORE
+#endif /* !_LOCORE */