From 602507ee8f19309862b51ed1327af4cadab7dfdc Mon Sep 17 00:00:00 2001 From: TuxSH Date: Tue, 27 Feb 2018 22:29:47 +0100 Subject: [PATCH] Rename cache.s/.h to arm.s/.h --- exosphere/src/{cache.h => arm.h} | 4 ++-- exosphere/src/{cache.s => arm.s} | 0 exosphere/src/coldboot_main.c | 2 +- exosphere/src/cpu_context.c | 4 ++-- exosphere/src/lp0.c | 2 +- exosphere/src/package2.c | 2 +- exosphere/src/randomcache.c | 2 +- exosphere/src/se.c | 2 +- exosphere/src/smc_user.c | 2 +- exosphere/src/titlekey.c | 2 +- exosphere/src/userpage.c | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) rename exosphere/src/{cache.h => arm.h} (89%) rename exosphere/src/{cache.s => arm.s} (100%) diff --git a/exosphere/src/cache.h b/exosphere/src/arm.h similarity index 89% rename from exosphere/src/cache.h rename to exosphere/src/arm.h index e8f8c4a9d..d76441861 100644 --- a/exosphere/src/cache.h +++ b/exosphere/src/arm.h @@ -1,5 +1,5 @@ -#ifndef EXOSPHERE_CACHE_H -#define EXOSPHERE_CACHE_H +#ifndef EXOSPHERE_ARM_H +#define EXOSPHERE_ARM_H #include diff --git a/exosphere/src/cache.s b/exosphere/src/arm.s similarity index 100% rename from exosphere/src/cache.s rename to exosphere/src/arm.s diff --git a/exosphere/src/coldboot_main.c b/exosphere/src/coldboot_main.c index a04280cd5..9efec95f8 100644 --- a/exosphere/src/coldboot_main.c +++ b/exosphere/src/coldboot_main.c @@ -2,7 +2,7 @@ #include "utils.h" #include "mmu.h" #include "memory_map.h" -#include "cache.h" +#include "arm.h" extern uint8_t __pk2ldr_start__[], __pk2ldr_end__[]; extern void __jump_to_lower_el(uint64_t arg, uintptr_t ep, unsigned int el); diff --git a/exosphere/src/cpu_context.c b/exosphere/src/cpu_context.c index eba44887e..dec494611 100644 --- a/exosphere/src/cpu_context.c +++ b/exosphere/src/cpu_context.c @@ -1,6 +1,6 @@ #include #include -#include "cache.h" +#include "arm.h" #include "cpu_context.h" #include "flow.h" #include "pmc.h" @@ -89,4 +89,4 @@ void save_current_core_context(void) { void restore_current_core_context(void) { /* TODO */ -} \ No newline at end of file +} diff --git a/exosphere/src/lp0.c b/exosphere/src/lp0.c index b03e0c393..397209ed1 100644 --- a/exosphere/src/lp0.c +++ b/exosphere/src/lp0.c @@ -5,7 +5,7 @@ #include "utils.h" #include "bpmp.h" -#include "cache.h" +#include "arm.h" #include "configitem.h" #include "flow.h" #include "fuse.h" diff --git a/exosphere/src/package2.c b/exosphere/src/package2.c index c9490891a..c88d620b0 100644 --- a/exosphere/src/package2.c +++ b/exosphere/src/package2.c @@ -8,7 +8,7 @@ #include "configitem.h" #include "se.h" #include "masterkey.h" -#include "cache.h" +#include "arm.h" #include "randomcache.h" #include "timers.h" diff --git a/exosphere/src/randomcache.c b/exosphere/src/randomcache.c index 4d80a5f7a..e21ffd9ee 100644 --- a/exosphere/src/randomcache.c +++ b/exosphere/src/randomcache.c @@ -4,7 +4,7 @@ #include "utils.h" #include "randomcache.h" #include "se.h" -#include "cache.h" +#include "arm.h" /* TrustZone maintains a cache of random for the kernel. */ /* So that requests can still be serviced even when a */ diff --git a/exosphere/src/se.c b/exosphere/src/se.c index 114ed03d8..c0587b384 100644 --- a/exosphere/src/se.c +++ b/exosphere/src/se.c @@ -4,7 +4,7 @@ #include "interrupt.h" #include "se.h" #include "memory_map.h" -#include "cache.h" +#include "arm.h" #include "se.h" void trigger_se_rsa_op(void *buf, size_t size); diff --git a/exosphere/src/smc_user.c b/exosphere/src/smc_user.c index 512f438f9..cc77f619d 100644 --- a/exosphere/src/smc_user.c +++ b/exosphere/src/smc_user.c @@ -3,7 +3,7 @@ #include #include "utils.h" -#include "cache.h" +#include "arm.h" #include "configitem.h" #include "gcm.h" #include "masterkey.h" diff --git a/exosphere/src/titlekey.c b/exosphere/src/titlekey.c index 845aceed3..71bbb8644 100644 --- a/exosphere/src/titlekey.c +++ b/exosphere/src/titlekey.c @@ -2,7 +2,7 @@ #include #include "utils.h" -#include "cache.h" +#include "arm.h" #include "titlekey.h" #include "masterkey.h" diff --git a/exosphere/src/userpage.c b/exosphere/src/userpage.c index d9bee4758..a57aa8fd9 100644 --- a/exosphere/src/userpage.c +++ b/exosphere/src/userpage.c @@ -3,7 +3,7 @@ #include "utils.h" #include "userpage.h" #include "memory_map.h" -#include "cache.h" +#include "arm.h" static uintptr_t g_user_page_user_address = 0ull;