diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-12-02 13:10:31 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-12-02 13:11:13 +0100 |
commit | f65dcc712ab7ff1fb36da4254b4383f4fc5eb459 (patch) | |
tree | a37c212885e27376d7a5718d2fdf1b4f5c9e9e89 /c/src/lib/libcpu | |
parent | rtems: Use _Thread_Dispatch_direct() (diff) | |
download | rtems-f65dcc712ab7ff1fb36da4254b4383f4fc5eb459.tar.bz2 |
score: Fix ARM and PowerPC context initialization
Update #2751.
Diffstat (limited to 'c/src/lib/libcpu')
-rw-r--r-- | c/src/lib/libcpu/powerpc/new-exceptions/cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c b/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c index 1e564f77e6..71dce73eab 100644 --- a/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c +++ b/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c @@ -118,6 +118,7 @@ void _CPU_Context_Initialize( the_ppc_context->gpr1 = sp; the_ppc_context->msr = msr_value; the_ppc_context->lr = (uint32_t) entry_point; + the_ppc_context->isr_dispatch_disable = 0; #if defined(__ALTIVEC__) && !defined(PPC_MULTILIB_ALTIVEC) _CPU_Context_initialize_altivec( the_ppc_context ); |