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.
This commit is contained in:
Peter Wemm 2003-04-30 22:51:59 +00:00
parent a15febf91b
commit 1e57e9eba3

View File

@ -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))