[rtems commit] bsp/qoriq: Initialize FPU on secondary thread
Sebastian Huber
sebh at rtems.org
Mon Oct 19 07:53:12 UTC 2015
Module: rtems
Branch: master
Commit: 36b9f66861097c2e4be7ced05a9389587b672689
Changeset: http://git.rtems.org/rtems/commit/?id=36b9f66861097c2e4be7ced05a9389587b672689
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Oct 16 10:09:38 2015 +0200
bsp/qoriq: Initialize FPU on secondary thread
---
c/src/lib/libbsp/powerpc/qoriq/start/start.S | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/c/src/lib/libbsp/powerpc/qoriq/start/start.S b/c/src/lib/libbsp/powerpc/qoriq/start/start.S
index ce376b0..b0ddf86 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/start/start.S
+++ b/c/src/lib/libbsp/powerpc/qoriq/start/start.S
@@ -247,6 +247,10 @@ _start_thread:
li r0, 0
stw r0, 0(r1)
+#ifdef INITIALIZE_FPU
+ bl .Linitfpu
+#endif
+
b qoriq_start_thread
#endif
_start_secondary_processor:
More information about the vc
mailing list