aboutsummaryrefslogtreecommitdiff
path: root/src/byteorder.h
AgeCommit message (Collapse)AuthorFilesLines
2021-09-24byteorder.h: Add endianess conversion functionsHelge Deller1-0/+74
SeaBIOS until now only supported the little-endian x86 platform. PA-RISC is big endian, so add the necessary conversion functions depending on the architecture. Signed-off-by: Helge Deller <deller@gmx.de>
2013-09-18Move fw/acpi.h to std/acpi.h.Kevin O'Connor1-0/+2
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2013-02-23Fix return type of le64_to_cpu() and be64_to_cpu()David Woodhouse1-2/+2
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-09-15Fix 'union u64_u32_u' member names.Kevin O'Connor1-1/+1
Use 'lo' to mean the low bits and 'hi' to mean the high bits of a 64bit value. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2012-09-02Use cpu_to_be32() (and related) instead of htonl (and related).Kevin O'Connor1-0/+69
Unify the syntax for byte swab calls. This also fixes a bug in coreboot due to the lack of a be64_to_cpu() call. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>