Add some more MMIO, smcCpuOn

This commit is contained in:
Michael Scire 2018-02-17 18:50:39 -08:00
parent 5c24f58402
commit a800c3c2e7
10 changed files with 204 additions and 3 deletions

11
exosphere/pmc.c Normal file
View file

@ -0,0 +1,11 @@
#include "pmc.h"
volatile void *g_pmc_registers = NULL;
void set_pmc_address(void *pmc_base) {
g_pmc_registers = pmc_base;
}
inline void *get_pmc_address(void) {
return g_pmc_registers;
}