Spaces, spaces everywhere
This commit is contained in:
parent
33d3dd256d
commit
8f32048774
@ -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);
|
@ -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);
|
@ -29,4 +29,3 @@ handlers:
|
|||||||
.word undefinedInstructionHandler
|
.word undefinedInstructionHandler
|
||||||
.word prefetchAbortHandler
|
.word prefetchAbortHandler
|
||||||
.word dataAbortHandler
|
.word dataAbortHandler
|
||||||
|
|
@ -568,6 +568,7 @@ void patchCode(u64 progId, u8 *code, u32 size)
|
|||||||
sizeof(unitinfoCheckPatch), 3
|
sizeof(unitinfoCheckPatch), 3
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ void main(void)
|
|||||||
{
|
{
|
||||||
void *payloadAddress = (void *)0x23F00000;
|
void *payloadAddress = (void *)0x23F00000;
|
||||||
|
|
||||||
memcpy(payloadAddress, (void*)0x24F00000, payloadSize);
|
memcpy(payloadAddress, (void *)0x24F00000, payloadSize);
|
||||||
|
|
||||||
flushCaches();
|
flushCaches();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user