summaryrefslogtreecommitdiff
path: root/c/src/lib/libcpu/i386/byteorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/i386/byteorder.h')
-rw-r--r--c/src/lib/libcpu/i386/byteorder.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/c/src/lib/libcpu/i386/byteorder.h b/c/src/lib/libcpu/i386/byteorder.h
deleted file mode 100644
index 939e51fe84..0000000000
--- a/c/src/lib/libcpu/i386/byteorder.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#ifndef _LIBCPU_BYTEORDER_H
-#define _LIBCPU_BYTEORDER_H
-
-static inline void st_le32(volatile uint32_t *addr, uint32_t value)
-{
- *(addr)=value ;
-}
-
-static inline uint32_t ld_le32(volatile uint32_t *addr)
-{
- return(*addr);
-}
-
-static inline void st_le16(volatile uint16_t *addr, uint16_t value)
-{
- *(addr)=value ;
-}
-
-static inline uint16_t ld_le16(volatile uint16_t *addr)
-{
- return(*addr);
-}
-
-
-#endif