1 /* $OpenBSD: param.h,v 1.2 2010/02/03 20:50:57 miod Exp $ */ 2 /* public domain */ 3 4 #ifndef _MACHINE_PARAM_H_ 5 #define _MACHINE_PARAM_H_ 6 7 #define MACHINE "loongson" 8 #define _MACHINE loongson 9 #define MACHINE_ARCH "mips64el" 10 #define _MACHINE_ARCH mips64el 11 /* not the canonical endianness */ 12 #define MACHINE_CPU "mips64" 13 #define _MACHINE_CPU mips64 14 15 #define MID_MACHINE MID_MIPS64 16 17 /* 18 * The Loongson level 1 cache expects software to prevent virtual 19 * aliases. Unfortunately, since this cache is physically tagged, 20 * this would require all virtual address to have the same bits 14 21 * and 13 as their physical addresses, which is not something the 22 * kernel can guarantee unless the page size is at least 16KB. 23 */ 24 #define PAGE_SHIFT 14 25 26 #include <mips64/param.h> 27 28 #endif /* _MACHINE_PARAM_H_ */ 29