fix namespace overusage
This commit is contained in:
1 parent
1741e27116
commit
8fc18ee3e8
41 files changed
+438
-440
No files matched your search
@@ -24,7 +24,7 @@
|
||||
#include <switch.h>
|
||||
#include <unistd.h>
|
||||
|
||||
namespace soc::mrr {
|
||||
namespace soc {
|
||||
constexpr u64 EmcPhysBase = 0x7001B000;
|
||||
constexpr u64 Emc0PhysBase = 0x7001E000;
|
||||
constexpr u64 Emc1PhysBase = 0x7001F000;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
#include <hocclk.h>
|
||||
|
||||
namespace soc::mrr {
|
||||
namespace soc {
|
||||
typedef enum RealDramModule {
|
||||
/* Erista */
|
||||
DRAM_HBMGCH = 0,
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "gm20b.hpp"
|
||||
|
||||
|
||||
namespace gm20b {
|
||||
namespace soc {
|
||||
u64 gpu_base = 0;
|
||||
#define GPU_PA 0x57000000
|
||||
#define GPU_SIZE 0x1000000
|
||||
@@ -123,7 +123,7 @@ namespace gm20b {
|
||||
return success;
|
||||
}
|
||||
|
||||
bool setClock(u32 khz) {
|
||||
bool SetClock(u32 khz) {
|
||||
if (!gpu_base)
|
||||
QueryMemoryMapping(&gpu_base, GPU_PA, GPU_SIZE);
|
||||
|
||||
@@ -146,4 +146,4 @@ namespace gm20b {
|
||||
|
||||
return _gpu_pllg_slide(new_divn);
|
||||
}
|
||||
} // namespace gm20b
|
||||
} // namespace soc
|
||||
@@ -19,6 +19,6 @@
|
||||
#pragma once
|
||||
#include <../board/board.hpp>
|
||||
|
||||
namespace gm20b {
|
||||
bool setClock(u32 khz);
|
||||
namespace soc {
|
||||
bool SetClock(u32 khz);
|
||||
}
|
||||
Reference in new issue
Block a user