From 34119595374e61347778c198f0cf0bcebc0ab420 Mon Sep 17 00:00:00 2001 From: souldbminersmwc Date: Thu, 2 Apr 2026 17:13:44 -0400 Subject: [PATCH] hocclk: add migration guide --- Source/hoc-clk/MIGRATION.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Source/hoc-clk/MIGRATION.md diff --git a/Source/hoc-clk/MIGRATION.md b/Source/hoc-clk/MIGRATION.md new file mode 100644 index 00000000..74704200 --- /dev/null +++ b/Source/hoc-clk/MIGRATION.md @@ -0,0 +1,20 @@ +Ensure you include the latest hoc-clk ipc and header files in your project before proceeding + +Before running migration replacements, change every reference to sys-clk's ramload api to this +ramLoad -> partLoad +SysClkRamLoad_All -> HocClkPartLoad_EMC +SysClkRamLoad_Cpu -> HocClkPartLoad_EMCCpu + +API version reference must be changed. use != to compare to HOCCLK_IPC_API_VERSION +If you use the service name, use HOCCLK_IPC_SERVICE_NAME + +Remove checks for the u8 enabled in sysclk clockmanager struct. Check if hocclk is enabled by listening to IPC results + +Run the following replace commands (case sensitive): + +sysclk -> hocclk +SysClk -> HocClk +SYSCLK -> HOCCLK +sysClk -> hocClk + +Your project is now migrated to run with HOC