4.115
Last change
on this file since b1ce6f29 was
9b4422a2,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24
|
Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
-
Property mode set to
100644
|
File size:
586 bytes
|
Line | |
---|
1 | /* |
---|
2 | * The license and distribution terms for this file may be |
---|
3 | * found in the file LICENSE in this distribution or at |
---|
4 | * http://www.rtems.com/license/LICENSE. |
---|
5 | */ |
---|
6 | |
---|
7 | #ifndef _LIBCPU_BYTEORDER_H |
---|
8 | #define _LIBCPU_BYTEORDER_H |
---|
9 | |
---|
10 | static inline void st_le32(volatile uint32_t *addr, uint32_t value) |
---|
11 | { |
---|
12 | *(addr)=value ; |
---|
13 | } |
---|
14 | |
---|
15 | static inline uint32_t ld_le32(volatile uint32_t *addr) |
---|
16 | { |
---|
17 | return(*addr); |
---|
18 | } |
---|
19 | |
---|
20 | static inline void st_le16(volatile uint16_t *addr, uint16_t value) |
---|
21 | { |
---|
22 | *(addr)=value ; |
---|
23 | } |
---|
24 | |
---|
25 | static inline uint16_t ld_le16(volatile uint16_t *addr) |
---|
26 | { |
---|
27 | return(*addr); |
---|
28 | } |
---|
29 | |
---|
30 | |
---|
31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.