Changeset 305 for asp3_wo_tecs/trunk/arch/arm_gcc/common/core_kernel_impl.c
- Timestamp:
- Jun 26, 2017, 6:45:41 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_wo_tecs/trunk/arch/arm_gcc/common/core_kernel_impl.c
r302 r305 6 6 * Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory 7 7 * Toyohashi Univ. of Technology, JAPAN 8 * Copyright (C) 2006-201 5by Embedded and Real-Time Systems Laboratory8 * Copyright (C) 2006-2016 by Embedded and Real-Time Systems Laboratory 9 9 * Graduate School of Information Science, Nagoya Univ., JAPAN 10 10 * … … 53 53 * ã®è²¬ä»»ãè² ããªãï¼ 54 54 * 55 * $Id: core_kernel_impl.c 430 2015-08-08 11:38:46Z ertl-hiro $55 * $Id: core_kernel_impl.c 541 2016-01-16 03:09:21Z ertl-hiro $ 56 56 */ 57 57 … … 76 76 #ifdef USE_ARM_MMU 77 77 78 #define D0_CLIENT 0x01U /* å¤æãã¼ãã«ã«å¾ã£ã¦ãã¡ã¤ã³0ã«ã¢ã¯ã»ã¹ */79 #define USE_ASID 1/* 使ç¨ããASID */78 #define CP15_DACR_D0_CLIENT 0x01U /* å¤æãã¼ãã«ã«å¾ããã¡ã¤ã³0ã«ã¢ã¯ã»ã¹ */ 79 #define DEFAULT_ASID 1 /* 使ç¨ããASID */ 80 80 81 81 /* … … 155 155 * ãã¡ã¤ã³ã¢ã¯ã»ã¹å¶å¾¡ã®è¨å® 156 156 */ 157 CP15_WRITE_DACR( D0_CLIENT);157 CP15_WRITE_DACR(CP15_DACR_D0_CLIENT); 158 158 159 159 /* … … 161 161 */ 162 162 #if __TARGET_ARCH_ARM >= 6 163 CP15_WRITE_CONTEXTIDR( USE_ASID);163 CP15_WRITE_CONTEXTIDR(DEFAULT_ASID); 164 164 #endif /* __TARGET_ARCH_ARM >= 6 */ 165 165 … … 197 197 */ 198 198 excpt_nest_count = 1U; 199 200 /* 201 * MMUãæå¹ã« 202 */ 203 #ifdef USE_ARM_MMU 204 arm_mmu_initialize(); 205 #endif /* USE_ARM_MMU */ 199 206 200 207 /*
Note:
See TracChangeset
for help on using the changeset viewer.