Changeset 39507635 in rtems


Ignore:
Timestamp:
Jul 6, 2010, 8:13:02 PM (9 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.11, master
Children:
6f67619
Parents:
3e0310e3
Message:

2009-10-28 Till Straumann <strauman@…>

  • byteorder.h: added ld_le16, st_le16.
Location:
c/src/lib/libcpu/i386
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/i386/ChangeLog

    r3e0310e3 r39507635  
     12009-10-28  Till Straumann <strauman@slac.stanford.edu>
     2
     3        * byteorder.h: added ld_le16, st_le16.
     4
    152010-05-21      Vinu Rajashekhar <vinutheraj@gmail.com>
    26
  • c/src/lib/libcpu/i386/byteorder.h

    r3e0310e3 r39507635  
    2020}
    2121
     22static inline void st_le16(volatile uint16_t   *addr, uint16_t   value)
     23{
     24  *(addr)=value ;
     25}
     26
     27static inline uint16_t   ld_le16(volatile uint16_t   *addr)
     28{
     29  return(*addr);
     30}
     31
     32
    2233#endif
Note: See TracChangeset for help on using the changeset viewer.