Changeset 50 for asp_wo_cfg/trunk/kernel
- Timestamp:
- Sep 7, 2012, 12:47:18 PM (12 years ago)
- Location:
- asp_wo_cfg/trunk/kernel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
asp_wo_cfg/trunk/kernel/exception.c
r49 r50 6 6 * Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory 7 7 * Toyohashi Univ. of Technology, JAPAN 8 * Copyright (C) 2005-201 1by Embedded and Real-Time Systems Laboratory8 * Copyright (C) 2005-2012 by Embedded and Real-Time Systems Laboratory 9 9 * Graduate School of Information Science, Nagoya Univ., JAPAN 10 10 * … … 122 122 ercd = E_OBJ; 123 123 } 124 else {124 else if ((ercd = target_check_dexc(excno, pk_dexc)) == E_OK) { 125 125 p_excinib->excatr = pk_dexc->excatr; 126 126 p_excinib->exchdr = pk_dexc->exchdr; 127 ercd = E_OK;128 127 } 129 128 -
asp_wo_cfg/trunk/kernel/interrupt.c
r49 r50 316 316 p_intinib = get_intinib(intno); 317 317 318 p_intinib->intatr = pk_cint->intatr; 319 p_intinib->intpri = pk_cint->intpri; 320 ercd = E_OK; 318 if ((ercd = target_check_cint(intno, pk_cint)) == E_OK) { 319 p_intinib->intatr = pk_cint->intatr; 320 p_intinib->intpri = pk_cint->intpri; 321 } 321 322 322 323 error_exit: … … 351 352 ercd = E_OBJ; 352 353 } 353 else {354 else if ((ercd = target_check_dinh(inhno, pk_dinh)) == E_OK) { 354 355 p_inhinib->inhatr = pk_dinh->inhatr; 355 356 p_inhinib->inthdr = (IINTHDR)(pk_dinh->inthdr); 356 ercd = E_OK;357 357 } 358 358 -
asp_wo_cfg/trunk/kernel/task_manage.c
r49 r50 164 164 ercd = E_NOMEM; 165 165 } 166 else {166 else if ((ercd = target_check_ctsk(tskid, pk_ctsk)) == E_OK) { 167 167 p_tinib = (TINIB *)(p_tcb->p_tinib); 168 168 p_tinib->tskatr = tskatr; … … 184 184 make_active(p_tcb); 185 185 } 186 ercd = E_OK;187 186 } 188 187 }
Note:
See TracChangeset
for help on using the changeset viewer.