diff options
author | jmallett <jmallett@FreeBSD.org> | 2010-03-06 05:45:49 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2010-03-06 05:45:49 +0000 |
commit | 411b18842a225471a12b9a1f1774a4879eb4013e (patch) | |
tree | 905fbde4d61da4f17182c1422b8b549486f98ac3 /sys/mips/include/cpuregs.h | |
parent | 3d20760d98d2746236db515c75b689d1a727e43d (diff) | |
download | FreeBSD-src-411b18842a225471a12b9a1f1774a4879eb4013e.zip FreeBSD-src-411b18842a225471a12b9a1f1774a4879eb4013e.tar.gz |
o) Consistently use MIPS_KSEGn_TO_PHYS instead of MIPS_{,UN}CACHED_TO_PHYS etc.
Get rid of the macros that spell KSEG0 CACHED and KSEG1 UNCACHED.
o) Get rid of some nearby duplicated and unused macros.
Reviewed by: imp
Diffstat (limited to 'sys/mips/include/cpuregs.h')
-rw-r--r-- | sys/mips/include/cpuregs.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/mips/include/cpuregs.h b/sys/mips/include/cpuregs.h index f1f2485..39c138d 100644 --- a/sys/mips/include/cpuregs.h +++ b/sys/mips/include/cpuregs.h @@ -89,12 +89,6 @@ #define MIPS_KSEG2_END MIPS_KSSEG_END #define MIPS_KSEG3_START 0xe0000000 #define MIPS_KSEG3_END 0xffffffff -#define MIPS_MAX_MEM_ADDR 0xbe000000 -#define MIPS_RESERVED_ADDR 0xbfc80000 - -/* Map virtual address to index in mips3 r4k virtually-indexed cache */ -#define MIPS3_VA_TO_CINDEX(x) \ - ((unsigned)(x) & 0xffffff | MIPS_KSEG0_START) #define MIPS_PHYS_TO_XKPHYS(cca,x) \ ((0x2ULL << 62) | ((unsigned long long)(cca) << 59) | (x)) |