summaryrefslogtreecommitdiff
path: root/sys/arch/octeon/include/param.h
blob: 917d9a3493d99f16bdd3d2eb83994a0b895cb77b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* $OpenBSD: param.h,v 1.2 2010/10/11 15:51:06 syuu Exp $ */
/* public domain */

#ifndef _MACHINE_PARAM_H_
#define _MACHINE_PARAM_H_

#define	MACHINE		"octeon"
#define	_MACHINE	octeon
#define MACHINE_ARCH	"mips64"
#define _MACHINE_ARCH	mips64
/* not the canonical endianness */
#define	MACHINE_CPU	"mips64"
#define	_MACHINE_CPU	mips64

#define MID_MACHINE	MID_MIPS64

/*
 * The Loongson level 1 cache expects software to prevent virtual
 * aliases. Unfortunately, since this cache is physically tagged,
 * this would require all virtual address to have the same bits 14
 * and 13 as their physical addresses, which is not something the
 * kernel can guarantee unless the page size is at least 16KB.
 */
#define	PAGE_SHIFT	14

#include <mips64/param.h>

#endif	/* _MACHINE_PARAM_H_ */