Changeset 303
- Timestamp:
- Jun 26, 2017, 2:55:03 PM (7 years ago)
- Location:
- asp3_wo_tecs/trunk
- Files:
-
- 213 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_wo_tecs/trunk/arch/arm_m_gcc/common/Makefile.core
r302 r303 1 # 1 # 2 2 # TOPPERS/ASP Kernel 3 3 # Toyohashi Open Platform for Embedded Real-Time Systems/ 4 4 # Advanced Standard Profile Kernel 5 # 5 # 6 6 # Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory 7 7 # Toyohashi Univ. of Technology, JAPAN 8 8 # Copyright (C) 2005-2014 by Embedded and Real-Time Systems Laboratory 9 9 # Graduate School of Information Science, Nagoya Univ., JAPAN 10 # 10 # 11 11 # ä¸è¨èä½æ¨©è 12 12 ã¯ï¼ä»¥ä¸ã®(1)ã(4)ã®æ¡ä»¶ãæºããå ´åã«éãï¼æ¬ã½ããã¦ã§ … … 45 45 # å 46 46 責ãããã¨ï¼ 47 # 47 # 48 48 # æ¬ã½ããã¦ã§ã¢ã¯ï¼ç¡ä¿è¨¼ã§æä¾ããã¦ãããã®ã§ããï¼ä¸è¨èä½æ¨©è 49 49 ã … … 52 52 # ã¢ã®å©ç¨ã«ããç´æ¥çã¾ãã¯éæ¥çã«çãããããªãæ害ã«é¢ãã¦ãï¼ã 53 53 # ã®è²¬ä»»ãè² ããªãï¼ 54 # 54 # 55 55 # @(#) $Id: Makefile.core 301 2015-01-07 04:57:01Z ertl-ishikawa $ 56 # 56 # 57 57 58 58 # … … 60 60 # 61 61 62 # 63 # ã³ã¢ä¾åé¨ãã£ã¬ã¯ããªåã®å®ç¾© 64 # 62 # 63 # ã³ã¢ä¾åé¨ãã£ã¬ã¯ããªåã®å®ç¾© 64 # 65 65 COREDIR = $(SRCDIR)/arch/$(PRC)_$(TOOL)/common 66 67 # 68 # ãã¼ã«ä¾åé¨ãã£ã¬ã¯ããªåã®å®ç¾© 69 # 70 TOOLDIR = $(SRCDIR)/arch/$(TOOL) 66 71 67 72 # 68 73 # ã³ã³ãã¤ã«ãªãã·ã§ã³ 69 74 # 70 COPTS := $(COPTS) -mthumb 71 INCLUDES := $(INCLUDES) -I$(COREDIR) 72 LDFLAGS := -nostdlib -nostartfiles $(LDFLAGS) 73 CFG1_OUT_LDFLAGS := $(CFG1_OUT_LDFLAGS) $(LDFLAGS) 75 COPTS := $(COPTS) -mthumb 76 INCLUDES := $(INCLUDES) -I$(COREDIR) -I$(TOOLDIR) 77 LDFLAGS := $(LDFLAGS) 74 78 CDEFS := $(CDEFS) 75 LIBS := $(LIBS) 79 LIBS := $(LIBS) -lgcc 76 80 77 81 vpath %.c $(COREDIR) … … 82 86 # 83 87 KERNEL_DIR := $(KERNEL_DIR) $(COREDIR) 84 KERNEL_ASMOBJS := $(KERNEL_ASMOBJS) core_support.o88 KERNEL_ASMOBJS := $(KERNEL_ASMOBJS) 85 89 KERNEL_COBJS := $(KERNEL_COBJS) core_kernel_impl.o 86 90 87 91 # 88 # ä¾åé¢ä¿ã®å®ç¾©92 # ã³ã³ãã£ã®ã¥ã¬ã¼ã¿é¢ä¿ã®å¤æ°ã®å®ç¾© 89 93 # 90 94 cfg1_out.c: $(COREDIR)/core_def.csv 91 95 kernel_cfg.timestamp: $(COREDIR)/core.tf 96 #CFG_TABS := $(CFG_TABS) --symval-table $(COREDIR)/core_sym.def 97 98 # 99 # ãªãã»ãããã¡ã¤ã«çæã®ããã®å®ç¾©(ToDo) 100 # 101 OFFSET_TF = $(COREDIR)/core_offset.tf 102 #TARGET_OFFSET_TRB = $(COREDIR)/core_offset.trb 103 104 # 105 # ã³ã¢ã®ã¿ã¤ãã«ããéã 106 # 107 ifeq ($(CORE_TYPE),CORTEX_M4) 108 ARM_ARCH = ARMV7M 109 COPTS := $(COPTS) -mcpu=cortex-m4 110 CDEFS := $(CDEFS) -DTOPPERS_CORTEX_M4 111 FPU_ARCH_MACRO = __TARGET_FPU_FPV4_SP 112 FPU_ARCH_OPT = fpv4-sp-d16 113 else ifeq ($(CORE_TYPE),CORTEX_M0PLUS) 114 ARM_ARCH = ARMV6M 115 COPTS := $(COPTS) -mcpu=cortex-m0plus 116 CDEFS := $(CDEFS) -DTOPPERS_CORTEX_M0PLUS 117 else ifeq ($(CORE_TYPE),CORTEX_M0) 118 ARM_ARCH = ARMV6M 119 COPTS := $(COPTS) -mcpu=cortex-m0 120 CDEFS := $(CDEFS) -DTOPPERS_CORTEX_M0 121 else ifeq ($(CORE_TYPE),CORTEX_M3) 122 ARM_ARCH = ARMV7M 123 COPTS := $(COPTS) -mcpu=cortex-m3 124 CDEFS := $(CDEFS) -DTOPPERS_CORTEX_M3 125 endif 126 127 # 128 # ã¢ã¼ããã¯ãã£æ¯ã«ç°ãªãè¨å® 129 # 130 ifeq ($(ARM_ARCH),ARMV7M) 131 KERNEL_ASMOBJS := $(KERNEL_ASMOBJS) core_support.o 132 CDEFS := $(CDEFS) -D__TARGET_ARCH_THUMB=4 133 else ifeq ($(ARM_ARCH),ARMV6M) 134 KERNEL_ASMOBJS := $(KERNEL_ASMOBJS) core_support_v6m.o 135 CDEFS := $(CDEFS) -D__TARGET_ARCH_THUMB=3 136 endif 137 138 # 139 # FPUã®è¨å® 140 # 141 ifeq ($(FPU_ABI),) 142 FPU_ABI = softfp 143 endif 144 145 ifeq ($(FPU_USAGE),FPU_NO_PRESERV) 146 COPTS := $(COPTS) -mfloat-abi=$(FPU_ABI) -mfpu=$(FPU_ARCH_OPT) 147 CDEFS := $(CDEFS) -D$(FPU_ARCH_MACRO) -DTOPPERS_FPU_ENABLE 148 else ifeq ($(FPU_USAGE),FPU_NO_LAZYSTACKING) 149 COPTS := $(COPTS) -mfloat-abi=$(FPU_ABI) -mfpu=$(FPU_ARCH_OPT) 150 CDEFS := $(CDEFS) -D$(FPU_ARCH_MACRO) -DTOPPERS_FPU_ENABLE -DTOPPERS_FPU_NO_LAZYSTACKING -DTOPPERS_FPU_CONTEXT 151 else ifeq ($(FPU_USAGE),FPU_LAZYSTACKING) 152 COPTS := $(COPTS) -mfloat-abi=$(FPU_ABI) -mfpu=$(FPU_ARCH_OPT) 153 CDEFS := $(CDEFS) -D$(FPU_ARCH_MACRO) -DTOPPERS_FPU_ENABLE -DTOPPERS_FPU_LAZYSTACKING -DTOPPERS_FPU_CONTEXT 154 endif 92 155 93 156 # -
asp3_wo_tecs/trunk/arch/arm_m_gcc/common/arm_m.h
r302 r303 74 74 75 75 /* 76 * ä¾å¤ã»å²è¾¼ã¿çºçæã«ã¹ã¿ãã¯ä¸ã«ç©ã¾ããä¿åé åã®ãµã¤ãº77 * æ¬ã«ã¼ãã«ã§ã¯ä¾å¤ãã¬ã¼ã ã¨å¼ã¶78 */79 #ifdef TOPPERS_SUPPORT_FPV480 #define EXC_FRAME_SIZE (26*4)81 #else /* TOPPERS_SUPPORT_FPV4 */82 #define EXC_FRAME_SIZE (8*4)83 #endif /* TOPPERS_SUPPORT_FPV4 */84 85 /*86 76 * ä¾å¤ã»å²è¾¼ã¿çºçæã«LRã«è¨å®ãããEXC_RETURNã®å¤ 87 77 */ -
asp3_wo_tecs/trunk/arch/arm_m_gcc/common/core.tf
r302 r303 130 130 $ 131 131 $NL$ 132 $NL$ 133 extern void start(void);$NL$ 134 $NL$ 132 135 __attribute__ ((section(".vector"))) $NL$ 133 136 const FP _kernel_vector_table[] = $NL$ 134 137 { $NL$ 135 138 $TAB$(FP)(TOPPERS_ISTKPT(TOPPERS_ISTK, TOPPERS_ISTKSZ)), // 0 The initial stack pointer $NL$ 136 $TAB$(FP) _start, // 1 The reset handler $NL$139 $TAB$(FP)start, // 1 The reset handler $NL$ 137 140 138 141 $FOREACH excno {2,3,...,14}$ -
asp3_wo_tecs/trunk/arch/arm_m_gcc/common/core_insn.h
r302 r303 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems/ 4 4 * Advanced Standard Profile Kernel 5 * 5 * 6 6 * Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory 7 7 * Toyohashi Univ. of Technology, JAPAN 8 8 * Copyright (C) 2005-2014 by Embedded and Real-Time Systems Laboratory 9 9 * Graduate School of Information Science, Nagoya Univ., JAPAN 10 * 10 * 11 11 * ä¸è¨èä½æ¨©è 12 12 ã¯ï¼ä»¥ä¸ã®(1)ã(4)ã®æ¡ä»¶ãæºããå ´åã«éãï¼æ¬ã½ããã¦ã§ … … 45 45 * å 46 46 責ãããã¨ï¼ 47 * 47 * 48 48 * æ¬ã½ããã¦ã§ã¢ã¯ï¼ç¡ä¿è¨¼ã§æä¾ããã¦ãããã®ã§ããï¼ä¸è¨èä½æ¨©è 49 49 ã … … 52 52 * ã¢ã®å©ç¨ã«ããç´æ¥çã¾ãã¯éæ¥çã«çãããããªãæ害ã«é¢ãã¦ãï¼ã 53 53 * ã®è²¬ä»»ãè² ããªãï¼ 54 * 54 * 55 55 * @(#) $Id: core_insn.h 301 2015-01-07 04:57:01Z ertl-ishikawa $ 56 56 */ -
asp3_wo_tecs/trunk/arch/arm_m_gcc/common/core_kernel.h
r302 r303 76 76 度ã®æ大å¤ï¼æä½å¤ï¼*/ 77 77 78 #ifdef USE_SYSTICK_AS_TIMETICK 79 80 /* 81 * Systickãã¿ã¤ã ãã£ãã¯ã¨ãã¦ä½¿ç¨ããå ´å 82 */ 83 84 /* 85 * é«å解è½ã¿ã¤ãã®ã¿ã¤ãå¨æ 86 * 87 * ã¿ã¤ãå¨æã2^32ã®å ´åã«ã¯ï¼ãã®ãã¯ããå®ç¾©ããªãï¼ 88 */ 89 #undef TCYC_HRTCNT 90 91 /* 92 * é«å解è½ã¿ã¤ãã®ã«ã¦ã³ãå¤ã®é²ã¿å¹ 93 94 */ 95 #define TSTEP_HRTCNT 1000U 96 97 #endif /* USE_SYSTICK_AS_TIMETICK */ 98 78 99 #endif /* TOPPERS_CORE_KERNEL_H */ -
asp3_wo_tecs/trunk/arch/arm_m_gcc/common/core_kernel_impl.h
r302 r303 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems/ 4 4 * Advanced Standard Profile Kernel 5 * 5 * 6 6 * Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory 7 7 * Toyohashi Univ. of Technology, JAPAN 8 8 * Copyright (C) 2005-2015 by Embedded and Real-Time Systems Laboratory 9 9 * Graduate School of Information Science, Nagoya Univ., JAPAN 10 * 10 * 11 11 * ä¸è¨èä½æ¨©è 12 12 ã¯ï¼ä»¥ä¸ã®(1)ã(4)ã®æ¡ä»¶ãæºããå ´åã«éãï¼æ¬ã½ããã¦ã§ … … 45 45 * å 46 46 責ãããã¨ï¼ 47 * 47 * 48 48 * æ¬ã½ããã¦ã§ã¢ã¯ï¼ç¡ä¿è¨¼ã§æä¾ããã¦ãããã®ã§ããï¼ä¸è¨èä½æ¨©è 49 49 ã … … 52 52 * ã¢ã®å©ç¨ã«ããç´æ¥çã¾ãã¯éæ¥çã«çãããããªãæ害ã«é¢ãã¦ãï¼ã 53 53 * ã®è²¬ä»»ãè² ããªãï¼ 54 * 54 * 55 55 * @(#) $Id: core_kernel_impl.h 322 2015-04-30 13:23:48Z ertl-ishikawa $ 56 56 */ … … 66 66 #ifndef TOPPERS_CORE_KERNEL_IMPL_H 67 67 #define TOPPERS_CORE_KERNEL_IMPL_H 68 69 /* 70 * åãã£ã¹ããè¡ããã¯ãã®å®ç¾© 71 */ 72 #ifndef CAST 73 #define CAST(type, val) ((type)(val)) 74 #endif /* CAST */ 68 75 69 76 #ifndef TOPPERS_MACRO_ONLY … … 133 140 /* 134 141 * PSPãæå¹ãªãã¿ã¹ã¯ã³ã³ããã¹ãï¼MSPãæå¹ãªãéã¿ã¹ã¯ã³ã³ããã¹ã 135 * ã¨ããï¼ 142 * ã¨ããï¼ 136 143 */ 137 144 if ((get_control() & CONTROL_PSP) == CONTROL_PSP){ … … 163 170 度ãã¹ 164 171 * ã¯ã¯ï¼BASEPRIãç¨ããï¼ 165 * 172 * 166 173 * ããã«å¯¾ãã¦CPUããã¯ãã©ã°ãã»ããããããéã¯ï¼BASEPRIãï¼ã«ã¼ã 167 174 * ã«ç®¡çå¤ã®ãã®ãé¤ããã¹ã¦ã®å²è¾¼ã¿è¦æ±ããã¹ã¯ããå¤(TIPM_LOCK)ã¨ï¼ … … 209 216 * TIPM_LOCKã¯ï¼CPUããã¯ç¶æ 210 217 ã§ã®BASEPRIã®å¤ï¼ã«ã¼ãã«ç®¡çå¤ã®ãã®ã 211 * é¤ããã¹ã¦ã®å²è¾¼ã¿ããã¹ã¯ããå¤ã«å®ç¾©ããï¼ 218 * é¤ããã¹ã¦ã®å²è¾¼ã¿ããã¹ã¯ããå¤ã«å®ç¾©ããï¼ 212 219 */ 213 220 #define IIPM_LOCK INT_IPM(TIPM_LOCK) … … 229 236 /* 230 237 * CPUããã¯ãã©ã°å®ç¾ã®ããã®å¤æ° 231 * 238 * 232 239 * ãããã®å¤æ°ã¯ï¼CPUããã¯ç¶æ 233 240 ã®æã®ã¿æ¸ãæãã¦ãããã¨ããï¼ 234 * ã¤ã³ã©ã¤ã³é¢æ°ä¸ã§ï¼ã¢ã¯ã»ã¹ã®é åºãå¤åããªãããï¼volatile ãæå®ï¼ 241 * ã¤ã³ã©ã¤ã³é¢æ°ä¸ã§ï¼ã¢ã¯ã»ã¹ã®é åºãå¤åããªãããï¼volatile ãæå®ï¼ 235 242 */ 236 243 extern volatile bool_t lock_flag; /* CPUããã¯ãã©ã°ã®å¤ãä¿æããå¤æ° */ … … 309 316 } 310 317 318 319 /* 320 * ã¿ã¹ã¯ãã£ã¹ãããã§ããç¶æ 321 ã«ããã¦ï¼CPUããã¯è§£é¤ç¶æ 322 ããï¼CPUãã㯠323 * ç¶æ 324 ã¸é·ç§»ãããé¢æ°ï¼ 325 * 326 * ãã®é¢æ°ã¯ï¼ãã£ã¹ãããã§ããç¶æ 327 ã§ã®ã¿å¼ã³åºãããï¼ãã£ã¹ãããã§ã 328 * ãç¶æ 329 ã«ããã¦ã¯ï¼å²è¾¼ã¿åªå 330 度ãã¹ã¯å 331 ¨è§£é¤ç¶æ 332 ã§ãã 333 */ 334 Inline void 335 lock_cpu_dsp(void) 336 { 337 /* 338 * ãã®æç¹ã§ã¯å¿ 339 ãå²è¾¼ã¿åªå 340 度å 341 ¨è§£é¤ç¶æ 342 ã§ããããï¼ 343 * ã»å²è¾¼ã¿åªå 344 度ãã¹ã¯ãCPUããã¯ç¶æ 345 346 * ã»å²è¾¼ã¿åªå 347 度ãã¹ã¯ã®ä¿åå¤ãIIPM_ENAALL 348 * ãå¿ 349 ãå®è¡ãã 350 */ 351 set_basepri(IIPM_LOCK); 352 SCS_SYNC; 353 saved_iipm = IIPM_ENAALL; 354 lock_flag = true; 355 /* ã¯ãªãã£ã«ã«ã»ã¯ã·ã§ã³ã®åå¾ã§ã¡ã¢ãªãæ¸ãæããå¯è½æ§ããã */ 356 ARM_MEMORY_CHANGED; 357 } 358 359 /* 360 * ã¿ã¹ã¯ãã£ã¹ãããã§ããç¶æ 361 ã«æ»ãç¶æ³ã«ããã¦ï¼CPUããã¯ç¶æ 362 ããï¼CPU 363 * ããã¯è§£é¤ç¶æ 364 ã¸é·ç§»ãããé¢æ°ï¼ 365 * 366 * ãã®é¢æ°ã¯ï¼CPUããã¯è§£é¤å¾ã¯ï¼ãã£ã¹ãããã§ããç¶æ 367 ã«æ»ãç¶æ³ã§ã®ã¿å¼ 368 * ã³åºãããï¼ãã£ã¹ãããã§ããç¶æ 369 ã«ããã¦ã¯ï¼å²è¾¼ã¿åªå 370 度ãã¹ã¯å 371 ¨è§£é¤ 372 * ç¶æ 373 ã§ãã 374 */ 375 Inline void 376 unlock_cpu_dsp(void) 377 { 378 /* ã¯ãªãã£ã«ã«ã»ã¯ã·ã§ã³ã®åå¾ã§ã¡ã¢ãªãæ¸ãæããå¯è½æ§ããã */ 379 ARM_MEMORY_CHANGED; 380 lock_flag = false; 381 set_basepri(IIPM_ENAALL); 382 } 383 311 384 /* 312 385 * CPUããã¯ç¶æ … … 329 402 度ã®ãããå¹ 330 403 (TBITW_IPRI)ã 8 ã®å ´åã¯ï¼-256 ã 0 ãæå®å¯è½ã§ããï¼ 331 * 404 * 332 405 */ 333 406 #define VALID_INTPRI_CHGIPM(intpri) \ … … 406 479 } 407 480 408 #define lock_cpu_dsp lock_cpu409 #define unlock_cpu_dsp unlock_cpu410 411 481 /* 412 482 * ã¹ã¿ã¼ãã¢ããã«ã¼ãã³ï¼start.Sï¼ 413 483 */ 414 extern void _ start(void);484 extern void _kernel_start(void); 415 485 416 486 /* … … 438 508 */ 439 509 sil_orw((void *)0xE000ED04, (uint32_t)(0x10000000U)); 440 unlock_cpu ();510 unlock_cpu_dsp(); 441 511 /* ãã㧠_dispatchã¸ã¸ã£ã³ã */ 442 512 SCS_SYNC; 443 lock_cpu ();513 lock_cpu_dsp(); 444 514 } 445 515 … … 520 590 * 521 591 * å²è¾¼ã¿ãã³ãã©çªå·(inhno)ã¨å²è¾¼ã¿çªå·(intno)ã¯ï¼å²ãè¾¼ã¿çºçæã« 522 * EPSRã«è¨å®ãããä¾å¤çªå·ã¨ããï¼ 592 * EPSRã«è¨å®ãããä¾å¤çªå·ã¨ããï¼ 523 593 */ 524 594 … … 563 633 * 564 634 * å²è¾¼ã¿å±æ§ãè¨å®ããã¦ããªãå²è¾¼ã¿è¦æ±ã©ã¤ã³ã«å¯¾ãã¦å²è¾¼ã¿è¦æ±ç¦æ¢ 565 * ãã©ã°ãã¯ãªã¢ãããã¨ããå ´åã«ã¯ï¼falseãè¿ãï¼ 635 * ãã©ã°ãã¯ãªã¢ãããã¨ããå ´åã«ã¯ï¼falseãè¿ãï¼ 566 636 */ 567 637 Inline bool_t … … 618 688 (1 << (tmp & 0x1f))); 619 689 } 620 690 621 691 return(true); 622 692 } … … 648 718 /* 649 719 * CPUä¾å¤ãã³ãã©é¢ä¿ 650 */ 720 */ 651 721 652 722 /* -
asp3_wo_tecs/trunk/arch/arm_m_gcc/common/core_offset.tf
r302 r303 63 63 64 64 $ 65 $ æ¨æºãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¤ã³ã¯ã«ã¼ã 66 $ 67 $INCLUDE "kernel/genoffset.tf"$ 68 69 $ 65 70 $ ãªãã»ããå¤ã®ãã¯ãå®ç¾©ã®çæ 66 71 $ -
asp3_wo_tecs/trunk/arch/arm_m_gcc/common/core_sil.h
r302 r303 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems/ 4 4 * Advanced Standard Profile Kernel 5 * 5 * 6 6 * Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory 7 7 * Toyohashi Univ. of Technology, JAPAN 8 8 * Copyright (C) 2005-2014 by Embedded and Real-Time Systems Laboratory 9 9 * Graduate School of Information Science, Nagoya Univ., JAPAN 10 * 10 * 11 11 * ä¸è¨èä½æ¨©è 12 12 ã¯ï¼ä»¥ä¸ã®(1)ã(4)ã®æ¡ä»¶ãæºããå ´åã«éãï¼æ¬ã½ããã¦ã§ … … 45 45 * å 46 46 責ãããã¨ï¼ 47 * 47 * 48 48 * æ¬ã½ããã¦ã§ã¢ã¯ï¼ç¡ä¿è¨¼ã§æä¾ããã¦ãããã®ã§ããï¼ä¸è¨èä½æ¨©è 49 49 ã … … 63 63 64 64 #ifndef TOPPERS_MACRO_ONLY 65 66 #ifndef TECSGEN 65 67 66 68 /* … … 91 93 } 92 94 95 #endif 96 93 97 /* 94 98 * å -
asp3_wo_tecs/trunk/arch/arm_m_gcc/common/core_support.S
r302 r303 93 93 */ 94 94 cpsid f /* FAULTMASK = 1 */ 95 /* 96 * PendSVè¦æ±ãã¯ãªã¢ 97 * _dispatch - cpsid f ã®éã§ISRãå 98 ¥ãï¼ããã«PendSVè¦æ±ã 99 * å 100 ¥ã£ãå ´åã«ï¼dispatcherãç¡é§ã«èµ°ããã¨ãé²ãããï¼ 101 * ããã§PendSVè¦æ±ãã¯ãªã¢ãã 102 */ 103 ldr r1, =0x08000000 /* r1 = ICSR.PENDSVCLR */ 104 ldr r2, =0xE000ED04 /* r2 = *ICSR */ 105 str r1, [r2] /* *ICSR = PENDSVCLR */ 106 95 107 mrs r3, psp 96 108 stmfd r3!, {r4-r11} /* ã¬ã¸ã¹ã¿ã®ä¿å */ -
asp3_wo_tecs/trunk/arch/arm_m_gcc/common/core_user.txt
r302 r303 215 215 (5) ãã£ã¬ã¯ããªæ§æã»ãã¡ã¤ã«æ§æ 216 216 ./arch/arm_m_gcc/common 217 ./Makefile.core 217 218 ./arm_m.h 218 ./core.tf219 219 ./core_asm.inc 220 220 ./core_cfg1_out.h 221 ./core_check.tf 221 ./core_def.csv 222 ./core_insn.h 223 ./core_kernel.h 222 224 ./core_kernel_impl.c 223 225 ./core_kernel_impl.h 224 ./core_def.csv225 ./core_design.txt226 ./core_insn.h227 ./core_kernel.h228 ./core_offset.tf229 226 ./core_rename.def 230 227 ./core_rename.h … … 235 232 ./core_unrename.h 236 233 ./core_user.txt 237 ./Makefile.core238 234 ./start.S 235 ./core_kernel.trb 236 ./core_check.trb 237 ./core_offset.trb 238 239 (5-1) ä¸è¦ãªãã¡ã¤ã« 240 241 以ä¸ã®ãã¡ã¤ã«ã¯ï¼ASP3.0.0ã§ã¯ä¸è¦ãªãã¡ã¤ã«ã§ãããï¼åèã® 242 ããã«æ®ãã¦ããï¼ 243 ä¸è¦ã§ããã°åé¤ãã¦ãæ§ããªãï¼ 244 245 ./arch/arm_m_gcc/common 246 ./core.tf 247 ./core_check.tf 248 ./core_offset.tf 239 249 240 250 (6)ARMCCå -
asp3_wo_tecs/trunk/arch/arm_m_gcc/common/start.S
r302 r303 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems/ 4 4 * Advanced Standard Profile Kernel 5 * 5 * 6 6 * Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory 7 7 * Toyohashi Univ. of Technology, JAPAN 8 8 * Copyright (C) 2005-2014 by Embedded and Real-Time Systems Laboratory 9 9 * Graduate School of Information Science, Nagoya Univ., JAPAN 10 * 10 * 11 11 * ä¸è¨èä½æ¨©è 12 12 ã¯ï¼ä»¥ä¸ã®(1)ã(4)ã®æ¡ä»¶ãæºããå ´åã«éãï¼æ¬ã½ããã¦ã§ … … 45 45 * å 46 46 責ãããã¨ï¼ 47 * 47 * 48 48 * æ¬ã½ããã¦ã§ã¢ã¯ï¼ç¡ä¿è¨¼ã§æä¾ããã¦ãããã®ã§ããï¼ä¸è¨èä½æ¨©è 49 49 ã … … 52 52 * ã¢ã®å©ç¨ã«ããç´æ¥çã¾ãã¯éæ¥çã«çãããããªãæ害ã«é¢ãã¦ãï¼ã 53 53 * ã®è²¬ä»»ãè² ããªãï¼ 54 * 54 * 55 55 * @(#) $Id: start.S 301 2015-01-07 04:57:01Z ertl-ishikawa $ 56 56 */ 57 57 58 58 /* 59 59 * ã«ã¼ãã«ç¨ã®ã¹ã¿ã¼ãã¢ããã¢ã¸ã¥ã¼ã«(ARM-Mç¨) … … 75 75 ATEXT 76 76 AALIGN(2) 77 ATHUMB( _start)78 AGLOBAL( _start)79 ALABEL( _start)77 ATHUMB(start) 78 AGLOBAL(start) 79 ALABEL(start) 80 80 cpsid f /* å²è¾¼ã¿ããã¯ç¶æ 81 81 㸠*/ … … 117 117 ALABEL(start_2) 118 118 str r0, [r1] 119 add r1,r1, #4 119 add r1,r1, #4 120 120 cmp r1, r2 121 121 blo start_2
Note:
See TracChangeset
for help on using the changeset viewer.