PERFORCE change 41122 for review

Juli Mallett jmallett at FreeBSD.org
Sun Nov 2 10:43:18 PST 2003


http://perforce.freebsd.org/chv.cgi?CH=41122

Change 41122 by jmallett at jmallett_dalek on 2003/11/02 10:42:59

	Kill all PG_ flags referring to EntryHi bits.

Affected files ...

.. //depot/projects/mips/sys/mips/include/pte.h#12 edit

Differences ...

==== //depot/projects/mips/sys/mips/include/pte.h#12 (text+ko) ====

@@ -87,22 +87,6 @@
 #define	MIPS_HI_VA_TO_VPN2(va)	((va) & MIPS_HI_VPN2_MASK)
 
 /*
- * TLB page bits that aren't really flags:
- * 	R0:	Region 0, user
- * 	R1:	Region 1, supervisor
- * 	R3:	Region 3, kernel
- * 	ODDPG:	Is this page odd?	! XXX NetBSD compat
- * 	HVPN:	Hardware VPN mask	! XXX NetBSD compat
- * 	ASID:	Address space ID
- */
-#define	PG_R0		MIPS_HI_R_USER
-#define	PG_R1		MIPS_HI_R_SUPERVISOR
-#define	PG_R3		MIPS_HI_R_KERNEL
-#define	PG_ODDPG	0x00001000
-#define	PG_HVPN		MIPS_HI_VPN2_MASK
-#define	PG_ASID		0x000000ff
-
-/*
  * TLB flags managed in hardware:
  * 	C:	We ignore this field, as it will only give us a
  * 		headache in certain CPUs.  Better not to bother for


More information about the p4-projects mailing list