Fix build issues on some environments.

This commit is contained in:
TuxSH
2016-08-29 17:51:03 +02:00
parent 2ffe4a5451
commit 46227e6763
5 changed files with 35 additions and 20 deletions

View File

@@ -8,18 +8,4 @@
#define MULTICONFIG(a) ((info.config >> (a * 2 + 6)) & 3)
#define BOOTCONFIG(a, b) ((info.config >> a) & b)
typedef struct __attribute__((packed))
{
char magic[4];
u8 versionMajor;
u8 versionMinor;
u8 versionBuild;
u8 flags; /* bit 0: dev branch; bit 1: is release */
u32 commitHash;
u32 config;
} CFWInfo;
void patchCode(u64 progId, u8 *code, u32 size);