mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-10 07:06:34 +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;
|
||
|
}
|