mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-31 23:08:22 -04:00
Add some more MMIO, smcCpuOn
This commit is contained in:
parent
5c24f58402
commit
a800c3c2e7
10 changed files with 204 additions and 3 deletions
11
exosphere/pmc.c
Normal file
11
exosphere/pmc.c
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue