http://git.etherboot.org
/
people
/
dverkamp
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14fe4d4
)
[libc] Remove unused le32_to_cpup(x) and cpu_to_le16p() macros
author
Michael Brown
<mcb30@etherboot.org>
Fri, 20 Jun 2008 10:40:08 +0000
(11:40 +0100)
committer
Michael Brown
<mcb30@etherboot.org>
Fri, 27 Jun 2008 21:12:44 +0000
(22:12 +0100)
If we ever need these macros, they should be defined in
include/{big,little}_bswap.h, and the whole family should be defined.
src/arch/i386/include/bits/endian.h
patch
|
blob
|
history
diff --git
a/src/arch/i386/include/bits/endian.h
b/src/arch/i386/include/bits/endian.h
index
b23b233
..
413e702
100644
(file)
--- a/
src/arch/i386/include/bits/endian.h
+++ b/
src/arch/i386/include/bits/endian.h
@@
-3,7
+3,4
@@
#define __BYTE_ORDER __LITTLE_ENDIAN
-#define le32_to_cpup(x) (*(uint32_t *)(x))
-#define cpu_to_le16p(x) (*(uint16_t*)(x))
-
#endif /* ETHERBOOT_BITS_ENDIAN_H */