Re: Removal of 8-bit AVR support (Re: STM32L051 and LPUART)

Uwe Bonnes <bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org> Mon, 31 Oct 2016 18:52:03 +0100
Newsgroups gmane.comp.hardware.microcontrollers.ethernut
Message-ID <[email protected]>
>>>>> "Nathan" == Nathan Moore <[email protected]> writes:

    Nathan> I hadn't, but even though those are for Itanium the API might be
    Nathan> worth mimicking, as long as Intel doesn't care, since GCC got
    Nathan> them from Intel's ABI documentation for Itanium.  I was really
    Nathan> just thinking about EnterCritical and ExitCritical macros that
    Nathan> either knew or were told what size data they were protecting and
    Nathan> compiled to no code for 32 bit updates on 32 bit memory width
    Nathan> architectures.  Having interfaces that actually encompassed the
    Nathan> synchronization and the work might make them easier to use,
    Nathan> though.

Oops, I mixed up things.

AVR Libc has a util/atomic.h. A short glimpse in the gcc-arm-none-eabi
includes brought up also some atomic includes, I thought that were the same.

Obvious they are not !

Bye
-- 
Uwe Bonnes                bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion