rename globals
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
#include "board_sensor.hpp"
|
#include "board_sensor.hpp"
|
||||||
#include "board_volt.hpp"
|
#include "board_volt.hpp"
|
||||||
#include "board_profile.hpp"
|
#include "board_profile.hpp"
|
||||||
#include "../globals.hpp"
|
#include "../mem_map.hpp"
|
||||||
#define HOSSVC_HAS_CLKRST (hosversionAtLeast(8,0,0))
|
#define HOSSVC_HAS_CLKRST (hosversionAtLeast(8,0,0))
|
||||||
#define HOSSVC_HAS_TC (hosversionAtLeast(5,0,0))
|
#define HOSSVC_HAS_TC (hosversionAtLeast(5,0,0))
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "globals.hpp"
|
#include <switch.h>
|
||||||
|
|
||||||
Result QueryMemoryMapping(u64* virtaddr, u64 physaddr, u64 size) {
|
Result QueryMemoryMapping(u64* virtaddr, u64 physaddr, u64 size) {
|
||||||
if(hosversionAtLeast(10,0,0))
|
if(hosversionAtLeast(10,0,0))
|
||||||
@@ -15,6 +15,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
#include <switch.h>
|
#include <switch.h>
|
||||||
|
|
||||||
Result QueryMemoryMapping(u64* virtaddr, u64 physaddr, u64 size);
|
Result QueryMemoryMapping(u64* virtaddr, u64 physaddr, u64 size);
|
||||||
@@ -25,7 +25,8 @@
|
|||||||
#include "soctherm.hpp"
|
#include "soctherm.hpp"
|
||||||
#include "board/board.hpp"
|
#include "board/board.hpp"
|
||||||
#include "file_utils.hpp"
|
#include "file_utils.hpp"
|
||||||
#include "globals.hpp"
|
#include "mem_map.hpp"
|
||||||
|
|
||||||
namespace soctherm {
|
namespace soctherm {
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|||||||
Reference in New Issue
Block a user