Changeset 305 for asp3_wo_tecs/trunk/arch/arm_gcc/common/gic_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/gic_kernel_impl.c
r302 r305 4 4 * Advanced Standard Profile Kernel 5 5 * 6 * Copyright (C) 2006-201 5by Embedded and Real-Time Systems Laboratory6 * Copyright (C) 2006-2016 by Embedded and Real-Time Systems Laboratory 7 7 * Graduate School of Information Science, Nagoya Univ., JAPAN 8 8 * … … 51 51 * ã®è²¬ä»»ãè² ããªãï¼ 52 52 * 53 * $Id: gic_kernel_impl.c 355 2015-07-25 10:26:02Z ertl-hiro $53 * $Id: gic_kernel_impl.c 522 2016-01-14 06:56:53Z ertl-hiro $ 54 54 */ 55 55 … … 177 177 */ 178 178 for (i = GIC_INTNO_PPI0 / 16; i < GIC_TNUM_INTNO / 16; i++) { 179 #ifdef GIC_ARM11M OCORE179 #ifdef GIC_ARM11MPCORE 180 180 sil_wrw_mem(GICD_ICFGR(i), 0x55555555U); 181 #else /* GIC_ARM11M OCORE */181 #else /* GIC_ARM11MPCORE */ 182 182 sil_wrw_mem(GICD_ICFGR(i), 0x00000000U); 183 #endif /* GIC_ARM11M OCORE */183 #endif /* GIC_ARM11MPCORE */ 184 184 } 185 185 … … 229 229 230 230 if ((intatr & TA_EDGE) != 0U) { 231 #ifdef GIC_ARM11M OCORE231 #ifdef GIC_ARM11MPCORE 232 232 gicd_config(intno, GICD_ICFGRn_EDGE|GICD_ICFGRn_1_N); 233 #else /* GIC_ARM11M OCORE */233 #else /* GIC_ARM11MPCORE */ 234 234 gicd_config(intno, GICD_ICFGRn_EDGE); 235 #endif /* GIC_ARM11M OCORE */235 #endif /* GIC_ARM11MPCORE */ 236 236 clear_int(intno); 237 237 } 238 238 else { 239 #ifdef GIC_ARM11M OCORE239 #ifdef GIC_ARM11MPCORE 240 240 gicd_config(intno, GICD_ICFGRn_LEVEL|GICD_ICFGRn_1_N); 241 #else /* GIC_ARM11M OCORE */241 #else /* GIC_ARM11MPCORE */ 242 242 gicd_config(intno, GICD_ICFGRn_LEVEL); 243 #endif /* GIC_ARM11M OCORE */243 #endif /* GIC_ARM11MPCORE */ 244 244 } 245 245
Note:
See TracChangeset
for help on using the changeset viewer.