diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-02-12 21:53:44 +1100 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-04-26 15:03:43 +0200 |
commit | 6bedc274266b8b326860c2ab35ce8cb9ec7ccbb0 (patch) | |
tree | 2f612ffc27ea207523f5356979b80b288f7954fa /src/superio/fintek/f71872/f71872.h | |
parent | f33782fb86ec2862a875843c19a923c19b90cd48 (diff) |
libpayload/endian.h: Provide alignment-agnostic enc/dec bytestreams.
Alignment-agnostic encode/decode bytestream to/from little/big endian.
The le16enc(), le16dec(), le32enc(), le32dec() functions encode and
decode integers to/from byte strings on any alignment in big/little
endian format. See BYTEORDER(9).
Change-Id: I73a174b9c02c467bc60590c5cd894dac58b8683a
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/5198
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/superio/fintek/f71872/f71872.h')
0 files changed, 0 insertions, 0 deletions