git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usermode/Applications - Added -Wall to make config
[tpg/acess2.git]
/
Usermode
/
Applications
/
MultibootCheck_src
/
MultibootCheck.c
diff --git
a/Usermode/Applications/MultibootCheck_src/MultibootCheck.c
b/Usermode/Applications/MultibootCheck_src/MultibootCheck.c
index
ebb5b68
..
f0e1afe
100644
(file)
--- a/
Usermode/Applications/MultibootCheck_src/MultibootCheck.c
+++ b/
Usermode/Applications/MultibootCheck_src/MultibootCheck.c
@@
-3,6
+3,7
@@
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
+#include <stdint.h>
// === CONSTANTS ===
#define SCAN_SPACE 8192
// === CONSTANTS ===
#define SCAN_SPACE 8192
@@
-10,10
+11,10
@@
// === TYPES ===
typedef struct {
// === TYPES ===
typedef struct {
- u
nsigned long
Magic;
- u
nsigned long
Flags;
- u
nsigned long
Checksum;
-} tMBootImg;
+ u
int32_t
Magic;
+ u
int32_t
Flags;
+ u
int32_t
Checksum;
+}
__attribute__((packed))
tMBootImg;
// === PROTOTYPES ===
void CheckMultiboot(char *file);
// === PROTOTYPES ===
void CheckMultiboot(char *file);
UCC
git Repository :: git.ucc.asn.au