bsp/t32mppc: Set PPC_PER_CPU_CONTROL_REGISTER

This commit is contained in:
Sebastian Huber
2017-07-28 15:03:47 +02:00
parent 585706a4ec
commit 5d0fa04792
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2015 embedded brains GmbH. All rights reserved.
* Copyright (c) 2012, 2017 embedded brains GmbH. All rights reserved.
*
* embedded brains GmbH
* Dornierstr. 4
@@ -14,8 +14,8 @@
#include <bspopts.h>
#include <rtems/score/percpu.h>
#include <libcpu/powerpc-utility.h>
#include <bsp/vectors.h>
.globl _start
@@ -39,6 +39,10 @@ _start:
li r0, 0
stw r0, 0(r1)
#ifdef RTEMS_SMP
SET_SELF_CPU_CONTROL r3
#endif
/* Copy fast text */
LWI r3, bsp_section_fast_text_begin
LWI r4, bsp_section_fast_text_load_begin