summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/metadata.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-05-01 03:31:18 +0000
committerpeter <peter@FreeBSD.org>2003-05-01 03:31:18 +0000
commit6a018fff12bc83ff6175afcdf5ed208e5adff19c (patch)
treee229c267604dafc1a440e03a9b12e56b9ffaa331 /sys/amd64/include/metadata.h
parentc2343f725ba4bf59ee03f1d8475c57c5c693d0da (diff)
downloadFreeBSD-src-6a018fff12bc83ff6175afcdf5ed208e5adff19c.zip
FreeBSD-src-6a018fff12bc83ff6175afcdf5ed208e5adff19c.tar.gz
Slight reorg and added AMD64 support. A couple of the MODINFOMD_* values
that were added to sparc64 and later powerpc, really should have been in the MI area. But changing that now with insufficient preperation will just cause too much pain. Move MD_FETCH() to the MI sys/linker.h file to avoid another two copies of it.
Diffstat (limited to 'sys/amd64/include/metadata.h')
-rw-r--r--sys/amd64/include/metadata.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/sys/amd64/include/metadata.h b/sys/amd64/include/metadata.h
new file mode 100644
index 0000000..32497a4
--- /dev/null
+++ b/sys/amd64/include/metadata.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright (c) 2003 Peter Wemm <peter@FreeBSD.org>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD$
+ */
+
+#ifndef _MACHINE_METADATA_H_
+#define _MACHINE_METADATA_H_
+
+#define MODINFOMD_SMAP 0x1001
+
+#endif /* !_MACHINE_METADATA_H_ */
OpenPOWER on IntegriCloud