Changeset 656 for soft/giet_vm/giet_boot


Ignore:
Timestamp:
Jul 22, 2015, 5:33:47 PM (9 years ago)
Author:
guerin
Message:

always set CTX_EPC in task context initialization

all runnable tasks not scheduled at boot but scheduled later would
jump at a random address, including the idle task.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_boot/boot.c

    r646 r656  
    12761276                    psched->context[ltid][CTX_SR_ID]     = GIET_SR_INIT_VALUE;
    12771277                    psched->context[ltid][CTX_SP_ID]     = ctx_sp;
     1278                    psched->context[ltid][CTX_EPC_ID]    = ctx_entry;
    12781279                    psched->context[ltid][CTX_ENTRY_ID]  = ctx_entry;
    12791280                    psched->context[ltid][CTX_PTPR_ID]   = ctx_ptpr;
Note: See TracChangeset for help on using the changeset viewer.