add isFirstLoad to context

This commit is contained in:
souldbminersmwc committed 2026-08-20 18:44:22 -04:00
1 parent 1f5fbdfae4
commit 4c0370d4a6
2 files changed
+3 -1

No files matched your search

@@ -83,9 +83,10 @@ typedef struct {
u16 kipVersion; u16 kipVersion;
bool isKipLoaded; bool isKipLoaded;
bool rebootRequired; bool rebootRequired;
bool isFirstLoad;
// Reserved for future use // Reserved for future use
u8 reserved[0x359]; u8 reserved[0x358];
} HocClkContext; } HocClkContext;
typedef struct typedef struct
@@ -818,6 +818,7 @@ namespace clockManager {
gContext.dramID = board::GetDramID(); gContext.dramID = board::GetDramID();
gContext.isDram8GB = board::IsDram8GB(); gContext.isDram8GB = board::IsDram8GB();
gContext.consoleType = board::GetConsoleType(); gContext.consoleType = board::GetConsoleType();
gContext.isFirstLoad = config::GetConfigValue(HocClkConfigValue_IsFirstLoad);
board::SetGpuSchedulingMode((GpuSchedulingMode)config::GetConfigValue(HocClkConfigValue_GPUScheduling), board::SetGpuSchedulingMode((GpuSchedulingMode)config::GetConfigValue(HocClkConfigValue_GPUScheduling),
(GpuSchedulingOverrideMethod)config::GetConfigValue(HocClkConfigValue_GPUSchedulingMethod)); (GpuSchedulingOverrideMethod)config::GetConfigValue(HocClkConfigValue_GPUSchedulingMethod));