summaryrefslogtreecommitdiff
path: root/util/vgabios/include/arch/byteorder.h
blob: 349e28b244dfa41e1a94c1d69f3821f4e98374f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef _BYTEORDER_H
#define _BYTEORDER_H

#define __LITTLE_ENDIAN 1234

#define cpu_to_le16(x) ((uint16_t)(x))
#define cpu_to_le32(x) ((uint32_t)(x))

#endif /* _BYTEORDER_H */