mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-18 08:11:21 +00:00
11 lines
198 B
C
11 lines
198 B
C
|
#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;
|
||
|
}
|