final hoc 2.0.0 changes

This commit is contained in:
souldbminersmwc
2026-04-19 19:15:10 -04:00
parent 3b4877b287
commit 37ad65e768
17 changed files with 59 additions and 54 deletions

View File

@@ -3,7 +3,7 @@
"title_id": "0x00FF0000636C6BFF",
"title_id_range_min": "0x00FF0000636C6BFF",
"title_id_range_max": "0x00FF0000636C6BFF",
"main_thread_stack_size": "0x0000D000",
"main_thread_stack_size": "0x0000F000",
"main_thread_priority": 16,
"default_cpu_id": 3,
"process_category": 1,

View File

@@ -88,7 +88,7 @@ namespace board {
/* Voltage bug workaround. */
if (module == HocClkModule_CPU) {
svcSleepThread(250'000);
svcSleepThread(300'000);
ClkrstSetHz(session, hz);
}
@@ -97,7 +97,7 @@ namespace board {
PcvSetHz(GetPcvModule(module), hz);
if (module == HocClkModule_CPU) {
svcSleepThread(250'000);
svcSleepThread(300'000);
PcvSetHz(GetPcvModule(module), hz);
}
}

View File

@@ -261,7 +261,7 @@ namespace ipcService {
ASSERT_RESULT_OK(rc, "svcGetThreadPriority");
rc = ipcServerInit(&gServer, HOCCLK_IPC_SERVICE_NAME, 42);
ASSERT_RESULT_OK(rc, "ipcServerInit");
rc = threadCreate(&gThread, &ProcessThreadFunc, nullptr, NULL, 0x2000, priority, -2);
rc = threadCreate(&gThread, &ProcessThreadFunc, nullptr, NULL, 0x4000, priority, -2);
ASSERT_RESULT_OK(rc, "threadCreate");
gRunning = false;
}

View File

@@ -38,7 +38,7 @@
#include "ipc_service.hpp"
#include "config.hpp"
#define INNER_HEAP_SIZE 0x45000
#define INNER_HEAP_SIZE 0x4A000
extern "C"
{