[PATCH 2/2] NGMP BSP: add GCC muser-mode switch
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Dec 4 12:20:19 UTC 2014
This option is already in the master.
On 04/12/14 13:10, Daniel Hellstrom wrote:
> 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
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list