summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/include/cpus.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme88k/include/cpus.h')
-rw-r--r--sys/arch/mvme88k/include/cpus.h53
1 files changed, 27 insertions, 26 deletions
diff --git a/sys/arch/mvme88k/include/cpus.h b/sys/arch/mvme88k/include/cpus.h
index 1eccf65b3ad..aecc8d49114 100644
--- a/sys/arch/mvme88k/include/cpus.h
+++ b/sys/arch/mvme88k/include/cpus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpus.h,v 1.9 2001/12/13 19:59:15 miod Exp $ */
+/* $OpenBSD: cpus.h,v 1.10 2001/12/16 23:49:46 miod Exp $ */
/*
* Mach Operating System
* Copyright (c) 1993-1992 Carnegie Mellon University
@@ -24,41 +24,42 @@
* any improvements or extensions that they make and grant Carnegie Mellon
* the rights to redistribute these changes.
*/
-
+/*
+ *
+ * HISTORY
+ */
/*
- * Identifiers for 88k family chips
+ Versions Idents for 88k family chips
*/
-#ifndef _MACHINE_CPUS_H_
-#define _MACHINE_CPUS_H_
+#ifndef __MACHINE_CPUS_H__
+#define __MACHINE_CPUS_H__
/*
* cpu Processor Identification Register (PID).
*/
#ifndef _LOCORE
-
union cpupid {
- unsigned cpupid;
- struct {
- unsigned
- /*empty*/:16,
- arc:8,
- version:7,
- master:1;
- } m88100;
- struct {
- unsigned
- id:8,
- type:3,
- version:5,
- /*empty*/:16;
- } m88200;
+ unsigned cpupid;
+ struct {
+ unsigned
+ /*empty*/:16,
+ arc:8,
+ version:7,
+ master:1;
+ } m88100;
+ struct {
+ unsigned
+ id:8,
+ type:3,
+ version:5,
+ /*empty*/:16;
+ } m88200;
};
-
#endif /* _LOCORE */
-#define M88100_ID 0
-#define M88200_ID 5
-#define M88204_ID 6
+#define M88100 0
+#define M88200 5
+#define M88204 6
-#endif /* _MACHINE_CPUS_H_ */
+#endif /* __MACHINE_CPUS_H__ */