[PATCH 2/2] NGMP BSP: add GCC muser-mode switch
Daniel Hellstrom
daniel at gaisler.com
Thu Dec 4 12:10:11 UTC 2014
Recent GCC have SPARC multilib with muser-mode. This makes
CAS instruction operating in both user and priveleged mode.
It is required to allow the CAS in systems where RTEMS run
in user mode.
---
c/src/lib/libbsp/sparc/leon3/make/custom/ngmp.cfg | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/leon3/make/custom/ngmp.cfg b/c/src/lib/libbsp/sparc/leon3/make/custom/ngmp.cfg
index 5e3d196..f0d119e 100644
--- a/c/src/lib/libbsp/sparc/leon3/make/custom/ngmp.cfg
+++ b/c/src/lib/libbsp/sparc/leon3/make/custom/ngmp.cfg
@@ -1,3 +1,3 @@
include $(RTEMS_ROOT)/make/custom/leon3.cfg
-CPU_CFLAGS = -mcpu=leon3 -msoft-float
+CPU_CFLAGS = -mcpu=leon3 -msoft-float -muser-mode
--
1.7.0.4
More information about the devel
mailing list