Various small changes

This commit is contained in:
CTCaer
2021-02-06 04:17:31 +02:00
parent a31bedda97
commit 6e314933d9
3 changed files with 8 additions and 7 deletions

View File

@@ -54,6 +54,8 @@ typedef enum
#define byte_swap_32(num) ((((num) >> 24) & 0xff) | (((num) << 8) & 0xff0000) | \
(((num) >> 8 )& 0xff00) | (((num) << 24) & 0xff000000))
#define byte_swap_16(num) ((((num) >> 8) & 0xff) | (((num) << 8) & 0xff00))
typedef struct _cfg_op_t
{
u32 off;