diff packages/hal/arm/arch/current/include/hal_mmu.h @ 14:01ce82f3e11a ecos-sw-1999-06-11

Merge from eCos master repository on 1999-06-11-17:05:41-BST
author jlarmour
date Fri, 11 Jun 1999 09:36:56 +0000
parents d376b777e2ce
children c38311975d4f
line wrap: on
line diff
--- a/packages/hal/arm/arch/current/include/hal_mmu.h
+++ b/packages/hal/arm/arch/current/include/hal_mmu.h
@@ -65,8 +65,9 @@
 #define MMU_AP_ap1_Any     0x0C0
 #define MMU_AP_ap2_Any     0x300
 #define MMU_AP_ap3_Any     0xC00
+#define MMU_AP_All (MMU_AP_ap0_Any|MMU_AP_ap1_Any|MMU_AP_ap2_Any|MMU_AP_ap3_Any)
 
-#define MMU_AP_All (MMU_AP_ap0_Any|MMU_AP_ap1_Any|MMU_AP_ap2_Any|MMU_AP_ap3_Any)
+#define MMU_DOMAIN(x)      ((x)<<5)
 
 #define MMU_PAGE_SIZE      0x1000
 #define MMU_SECTION_SIZE   0x100000