minios: Add endian, byteswap, and wordsize macros to mini-os
authorMatthew Fioravante <matthew.fioravante@jhuapl.edu>
Mon, 8 Oct 2012 13:36:29 +0000 (14:36 +0100)
committerMatthew Fioravante <matthew.fioravante@jhuapl.edu>
Mon, 8 Oct 2012 13:36:29 +0000 (14:36 +0100)
commit7ab9bbf9f8b922a25eb3d37ff5fd9b6a730bf85c
tree4edde95b2a64b63bfce840fe45243c977436b6aa
parent5691487f3100c5176da4f0acbbb39b09b6180e05
minios: Add endian, byteswap, and wordsize macros to mini-os

This patch addes byte swapping macros and endian support to mini-os.

Signed-off-by: Matthew Fioravante <matthew.fioravante@jhuapl.edu>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyons.org>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
extras/mini-os/include/byteorder.h [new file with mode: 0644]
extras/mini-os/include/byteswap.h
extras/mini-os/include/endian.h [new file with mode: 0644]
extras/mini-os/include/x86/arch_endian.h [new file with mode: 0644]
extras/mini-os/include/x86/x86_32/arch_wordsize.h [new file with mode: 0644]
extras/mini-os/include/x86/x86_64/arch_wordsize.h [new file with mode: 0644]