[PATCH 2/2] NGMP BSP: add GCC muser-mode switch
Daniel Hellstrom
daniel at gaisler.com
Thu Dec 4 13:21:14 UTC 2014
On 12/04/2014 01:20 PM, Sebastian Huber wrote:
> This option is already in the master.
Ok, I missed that. Thanks!
DanielH
>
> 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
>
More information about the devel
mailing list