Spaces, spaces everywhere

This commit is contained in:
Aurora 2016-09-06 13:43:00 +02:00
parent 33d3dd256d
commit 8f32048774
9 changed files with 45 additions and 44 deletions

View File

@ -24,15 +24,6 @@
#include "types.h" #include "types.h"
void __attribute__((noreturn)) mcuReboot(void);
void cleanInvalidateDCacheAndDMB(void);
bool cannotAccessVA(const void *address);
void FIQHandler(void);
void undefinedInstructionHandler(void);
void dataAbortHandler(void);
void prefetchAbortHandler(void);
typedef struct __attribute__((packed)) typedef struct __attribute__((packed))
{ {
u32 magic[2]; u32 magic[2];
@ -47,3 +38,12 @@ typedef struct __attribute__((packed))
u32 stackDumpSize; u32 stackDumpSize;
u32 additionalDataSize; u32 additionalDataSize;
} ExceptionDumpHeader; } ExceptionDumpHeader;
void __attribute__((noreturn)) mcuReboot(void);
void cleanInvalidateDCacheAndDMB(void);
bool cannotAccessVA(const void *address);
void FIQHandler(void);
void undefinedInstructionHandler(void);
void dataAbortHandler(void);
void prefetchAbortHandler(void);

View File

@ -21,13 +21,8 @@
*/ */
#pragma once #pragma once
#include "types.h"
u32 readMPUConfig(u32 regionSettings[8]); #include "types.h"
void FIQHandler(void);
void undefinedInstructionHandler(void);
void dataAbortHandler(void);
void prefetchAbortHandler(void);
typedef struct __attribute__((packed)) typedef struct __attribute__((packed))
{ {
@ -43,3 +38,9 @@ typedef struct __attribute__((packed))
u32 stackDumpSize; u32 stackDumpSize;
u32 additionalDataSize; u32 additionalDataSize;
} ExceptionDumpHeader; } ExceptionDumpHeader;
u32 readMPUConfig(u32 regionSettings[8]);
void FIQHandler(void);
void undefinedInstructionHandler(void);
void dataAbortHandler(void);
void prefetchAbortHandler(void);

View File

@ -29,4 +29,3 @@ handlers:
.word undefinedInstructionHandler .word undefinedInstructionHandler
.word prefetchAbortHandler .word prefetchAbortHandler
.word dataAbortHandler .word dataAbortHandler

View File

@ -568,6 +568,7 @@ void patchCode(u64 progId, u8 *code, u32 size)
sizeof(unitinfoCheckPatch), 3 sizeof(unitinfoCheckPatch), 3
); );
} }
break; break;
} }