summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/param.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-04-30 22:51:59 +0000
committerpeter <peter@FreeBSD.org>2003-04-30 22:51:59 +0000
commit007a27a9b40beff33e45f2c44367ff0162dda748 (patch)
treeba8a21db1dca2c1128b53bc425fa29c4c3833655 /sys/amd64/include/param.h
parentfc7b79828312b4b1142bbd52106ad4c34459fa17 (diff)
downloadFreeBSD-src-007a27a9b40beff33e45f2c44367ff0162dda748.zip
FreeBSD-src-007a27a9b40beff33e45f2c44367ff0162dda748.tar.gz
Repocopy from x86_64/... to amd64/...
Rename visible x86_64 references to amd64. Kill MID_MACHINE, its a.out specific, the only platform that supports it is i386. All of the other platforms should remove it too.
Diffstat (limited to 'sys/amd64/include/param.h')
-rw-r--r--sys/amd64/include/param.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/sys/amd64/include/param.h b/sys/amd64/include/param.h
index b166a1a..5955022 100644
--- a/sys/amd64/include/param.h
+++ b/sys/amd64/include/param.h
@@ -40,7 +40,7 @@
*/
/*
- * Machine dependent constants for the AMD x86-64.
+ * Machine dependent constants for the AMD64.
*/
/*
@@ -65,10 +65,10 @@
#endif
#ifndef _MACHINE
-#define _MACHINE x86_64
+#define _MACHINE amd64
#endif
#ifndef _MACHINE_ARCH
-#define _MACHINE_ARCH x86_64
+#define _MACHINE_ARCH amd64
#endif
#ifndef _NO_NAMESPACE_POLLUTION
@@ -77,12 +77,11 @@
#define _MACHINE_PARAM_H_
#ifndef MACHINE
-#define MACHINE "x86_64"
+#define MACHINE "amd64"
#endif
#ifndef MACHINE_ARCH
-#define MACHINE_ARCH "x86_64"
+#define MACHINE_ARCH "amd64"
#endif
-#define MID_MACHINE MID_X86_64
#ifdef SMP
#define MAXCPU 16
@@ -122,8 +121,8 @@
#define atop(x) ((unsigned long)(x) >> PAGE_SHIFT)
#define ptoa(x) ((unsigned long)(x) << PAGE_SHIFT)
-#define x86_64_btop(x) ((unsigned long)(x) >> PAGE_SHIFT)
-#define x86_64_ptob(x) ((unsigned long)(x) << PAGE_SHIFT)
+#define amd64_btop(x) ((unsigned long)(x) >> PAGE_SHIFT)
+#define amd64_ptob(x) ((unsigned long)(x) << PAGE_SHIFT)
#define pgtok(x) ((x) * (PAGE_SIZE / 1024))
OpenPOWER on IntegriCloud