Cleaned up headers

This commit is contained in:
2020-02-27 16:14:05 -05:00
parent aff4be3a65
commit a9550de75a
27 changed files with 64 additions and 73 deletions

View File

@@ -1,8 +1,8 @@
#ifndef CHECKM8_TOOL_BOOTROM_FUNC_H
#define CHECKM8_TOOL_BOOTROM_FUNC_H
#include "bootrom_addr.h"
#include "bootrom_type.h"
#include "dev/addr.h"
#include "dev/types.h"
#include "dev_util.h"
/* Crypto */

View File

@@ -1,5 +1,5 @@
#ifndef CHECKM8_TOOL_CACHEUTIL_H
#define CHECKM8_TOOL_CACHEUTIL_H
#ifndef CHECKM8_TOOL_DEV_CACHE_H
#define CHECKM8_TOOL_DEV_CACHE_H
#include "dev_util.h"
@@ -59,4 +59,4 @@ static inline void clean_inv_va(void *addr)
__asm__ volatile ("dc ivac, %0"::"r" (addr));
}
#endif //CHECKM8_TOOL_CACHEUTIL_H
#endif //CHECKM8_TOOL_DEV_CACHE_H

View File

@@ -1,7 +1,7 @@
#ifndef CHECKM8_TOOL_CRYPTO_H
#define CHECKM8_TOOL_CRYPTO_H
#include "bootrom_type.h"
#include "dev/types.h"
void expand_key(unsigned char key[16], unsigned char key_sched[176],
int n, struct aes_constants *c);

View File

@@ -1,5 +1,5 @@
#include "dev_util.h"
#include "bootrom_addr.h"
#include "dev/addr.h"
PAYLOAD_SECTION
void load_sync_entry()

View File

@@ -1,6 +1,6 @@
#include "bootrom_func.h"
#include "bootrom_type.h"
#include "cacheutil.h"
#include "dev/types.h"
#include "dev_cache.h"
#include "dev_crypto.h"
PAYLOAD_SECTION

View File

@@ -1,5 +1,5 @@
#include "bootrom_func.h"
#include "cacheutil.h"
#include "dev_cache.h"
PAYLOAD_SECTION

View File

@@ -1,4 +1,4 @@
#include "bootrom_addr.h"
#include "dev/addr.h"
#include "bootrom_func.h"
PAYLOAD_SECTION