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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.