Add a macro to test if the system uses the SRMMU (Sun4M || Sun4D).

This commit is contained in:
thorpej 2002-07-17 06:19:45 +00:00
parent 7d6525e9b6
commit d681f8b1d4
1 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.56 2002/07/17 06:17:20 thorpej Exp $ */
/* $NetBSD: param.h,v 1.57 2002/07/17 06:19:45 thorpej Exp $ */
/*
* Copyright (c) 1992, 1993
@ -272,4 +272,10 @@ extern void delay __P((unsigned int));
# define PGSHIFT pgshift
#endif
/*
* Step 4: Sun4M and Sun4D systems have an SRMMU. Define some
* short-hand for this.
*/
#define CPU_HAS_SRMMU (CPU_ISSUN4M || CPU_ISSUN4D)
#endif /* _KERNEL || _STANDALONE */