Changeset 70


Ignore:
Timestamp:
Apr 17, 2014, 8:04:43 AM (9 years ago)
Author:
ertl-hiro
Message:

ASPカーネルの動的生成パッケージに追従。

Location:
asp_wo_cfg/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • asp_wo_cfg/trunk/README.txt

    r62 r70  
    11
    2         TOPPERS/ASP Kernel without Configurator(Release 1.9.0
     2        TOPPERS/ASP Kernel without Configurator(Release 1.9.1
    33                Toyohashi Open Platform for Embedded Real-Time Systems/
    44                Advanced Standard Profile Kernel
  • asp_wo_cfg/trunk/include/kernel.h

    r64 r70  
    66 *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
    77 *                              Toyohashi Univ. of Technology, JAPAN
    8  *  Copyright (C) 2004-2013 by Embedded and Real-Time Systems Laboratory
     8 *  Copyright (C) 2004-2014 by Embedded and Real-Time Systems Laboratory
    99 *              Graduate School of Information Science, Nagoya Univ., JAPAN
    1010 *
     
    556556#define TKERNEL_PRID    UINT_C(0x0007)  /* カーネルの識別番号 */
    557557#define TKERNEL_SPVER   UINT_C(0xf516)  /* カーネル仕様のバージョン番号 */
    558 #define TKERNEL_PRVER   UINT_C(0x1090)  /* カーネルのバージョン番号 */
     558#define TKERNEL_PRVER   UINT_C(0x1091)  /* カーネルのバージョン番号 */
    559559
    560560/*
  • asp_wo_cfg/trunk/kernel/dataqueue.c

    r65 r70  
    66 *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
    77 *                              Toyohashi Univ. of Technology, JAPAN
    8  *  Copyright (C) 2005-2013 by Embedded and Real-Time Systems Laboratory
     8 *  Copyright (C) 2005-2014 by Embedded and Real-Time Systems Laboratory
    99 *              Graduate School of Information Science, Nagoya Univ., JAPAN
    1010 *
     
    201201        CHECK_DTQID(dtqid);
    202202        CHECK_RSATR(pk_cdtq->dtqatr, TA_TPRI);
     203        if (pk_cdtq->dtqmb != NULL) {
     204                CHECK_ALIGN_MB(pk_cdtq->dtqmb);
     205        }
    203206        dtqatr = pk_cdtq->dtqatr;
    204207        p_dtqmb = pk_cdtq->dtqmb;
  • asp_wo_cfg/trunk/kernel/mempfix.c

    r63 r70  
    66 *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
    77 *                              Toyohashi Univ. of Technology, JAPAN
    8  *  Copyright (C) 2005-2013 by Embedded and Real-Time Systems Laboratory
     8 *  Copyright (C) 2005-2014 by Embedded and Real-Time Systems Laboratory
    99 *              Graduate School of Information Science, Nagoya Univ., JAPAN
    1010 *
     
    197197        CHECK_PAR(pk_cmpf->blkcnt != 0);
    198198        CHECK_PAR(pk_cmpf->blksz != 0);
    199         CHECK_ALIGN_MPF(pk_cmpf->mpf);
    200         CHECK_ALIGN_MB(pk_cmpf->mpfmb);
     199        if (pk_cmpf->mpf != NULL) {
     200                CHECK_ALIGN_MPF(pk_cmpf->mpf);
     201        }
     202        if (pk_cmpf->mpfmb != NULL) {
     203                CHECK_ALIGN_MB(pk_cmpf->mpfmb);
     204        }
    201205        mpfatr = pk_cmpf->mpfatr;
    202206        mpf = pk_cmpf->mpf;
  • asp_wo_cfg/trunk/kernel/pridataq.c

    r63 r70  
    66 *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
    77 *                              Toyohashi Univ. of Technology, JAPAN
    8  *  Copyright (C) 2005-2013 by Embedded and Real-Time Systems Laboratory
     8 *  Copyright (C) 2005-2014 by Embedded and Real-Time Systems Laboratory
    99 *              Graduate School of Information Science, Nagoya Univ., JAPAN
    1010 *
     
    187187        CHECK_RSATR(pk_cpdq->pdqatr, TA_TPRI);
    188188        CHECK_DPRI(pk_cpdq->maxdpri);
     189        if (pk_cpdq->pdqmb != NULL) {
     190                CHECK_ALIGN_MB(pk_cpdq->pdqmb);
     191        }
    189192        pdqatr = pk_cpdq->pdqatr;
    190193        p_pdqmb = pk_cpdq->pdqmb;
  • asp_wo_cfg/trunk/kernel/task_manage.c

    r63 r70  
    66 *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
    77 *                              Toyohashi Univ. of Technology, JAPAN
    8  *  Copyright (C) 2005-2013 by Embedded and Real-Time Systems Laboratory
     8 *  Copyright (C) 2005-2014 by Embedded and Real-Time Systems Laboratory
    99 *              Graduate School of Information Science, Nagoya Univ., JAPAN
    1010 *
     
    148148        CHECK_STKSZ_MIN(pk_ctsk->stksz);
    149149        CHECK_ALIGN_STKSZ(pk_ctsk->stksz);
    150         CHECK_ALIGN_STACK(pk_ctsk->stk);
     150        if (pk_ctsk->stk != NULL) {
     151                CHECK_ALIGN_STACK(pk_ctsk->stk);
     152        }
    151153        tskatr = pk_ctsk->tskatr;
    152154        stk = pk_ctsk->stk;
Note: See TracChangeset for help on using the changeset viewer.