summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include/kcore.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-10-30 22:41:57 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-10-30 22:41:57 +0000
commit072b56c97e17e8e69ddab5a735b5297387a88a70 (patch)
tree22eaee09956502609c240ddff8a108d8733521f9 /sys/arch/alpha/include/kcore.h
parentb85b15782739220b5bf2563ccdc7ac9e256a31d2 (diff)
Merge to NetBSD 961020. Retained our kernel APIs where NetBSD has changed.
-Wall -Wstrict-prototypes -Wmissing-prototypes too.
Diffstat (limited to 'sys/arch/alpha/include/kcore.h')
-rw-r--r--sys/arch/alpha/include/kcore.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/sys/arch/alpha/include/kcore.h b/sys/arch/alpha/include/kcore.h
new file mode 100644
index 00000000000..87da4d36d0c
--- /dev/null
+++ b/sys/arch/alpha/include/kcore.h
@@ -0,0 +1,40 @@
+/* $OpenBSD: kcore.h,v 1.1 1996/10/30 22:39:11 niklas Exp $ */
+/* $NetBSD: kcore.h,v 1.1 1996/10/01 18:38:05 cgd Exp $ */
+
+/*
+ * Copyright (c) 1996 Carnegie-Mellon University.
+ * All rights reserved.
+ *
+ * Author: Chris G. Demetriou
+ *
+ * Permission to use, copy, modify and distribute this software and
+ * its documentation is hereby granted, provided that both the copyright
+ * notice and this permission notice appear in all copies of the
+ * software, derivative works or modified versions, and any portions
+ * thereof, and that both notices appear in supporting documentation.
+ *
+ * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
+ * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
+ * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
+ *
+ * Carnegie Mellon requests users of this software to return to
+ *
+ * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
+ * School of Computer Science
+ * Carnegie Mellon University
+ * Pittsburgh PA 15213-3890
+ *
+ * any improvements or extensions that they make and grant Carnegie the
+ * rights to redistribute these changes.
+ */
+
+#ifndef _ALPHA_KCORE_H_
+#define _ALPHA_KCORE_H_
+
+typedef struct cpu_kcore_hdr {
+ u_int64_t lev1map_pa; /* PA of Lev1map */
+ u_int64_t page_size; /* Page size */
+ phys_ram_seg_t core_seg; /* Core addrs; only one seg */
+} cpu_kcore_hdr_t;
+
+#endif /* _ALPHA_KCORE_H_ */