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"
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))
{
u32 magic[2];
@ -47,3 +38,12 @@ typedef struct __attribute__((packed))
u32 stackDumpSize;
u32 additionalDataSize;
} 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
#include "types.h"
u32 readMPUConfig(u32 regionSettings[8]);
void FIQHandler(void);
void undefinedInstructionHandler(void);
void dataAbortHandler(void);
void prefetchAbortHandler(void);
#include "types.h"
typedef struct __attribute__((packed))
{
@ -43,3 +38,9 @@ typedef struct __attribute__((packed))
u32 stackDumpSize;
u32 additionalDataSize;
} 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 prefetchAbortHandler
.word dataAbortHandler

View File

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