feat(libkernel): implement sceKernelGetCpuTemperature #4311

Merged
leorossi2005 merged 1 commit from upstream-pr/4311 into main 2026-10-12 12:24:02 +00:00
leorossi2005 commented 2026-10-12 05:41:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by leorossi2005 on 2026-10-12T05:41:39Z.


What

Implement sceKernelGetCpuTemperature in libkernel calling NotImplemented_nid_no_patch.

Resolves unresolved ELF import qiL4fFObAxM which blocks loading on startup.

Tested

Windows 11 (x86_64), Sonic Unleashed Recompiled (PPSA99902):
Unblocks startup failure where the relinker cannot find the imported symbol:

FAIL: unresolved ELF import qiL4fFObAxM from libkernel.prx
Searched libraries:
  ...
  F:\Giochi\PS5\Sonic Unleashed Recompiled (PPSA99902)\libs\libkernel.prx
  ...
GetLastError: 127 -

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4825394765 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4311). Originally posted by [leorossi2005](https://github.com/leorossi2005) on 2026-10-12T05:41:39Z. --- ### What Implement `sceKernelGetCpuTemperature` in `libkernel` calling `NotImplemented_nid_no_patch`. Resolves unresolved ELF import `qiL4fFObAxM` which blocks loading on startup. ### Tested Windows 11 (x86_64), Sonic Unleashed Recompiled (PPSA99902): Unblocks startup failure where the relinker cannot find the imported symbol: ```text FAIL: unresolved ELF import qiL4fFObAxM from libkernel.prx Searched libraries: ... F:\Giochi\PS5\Sonic Unleashed Recompiled (PPSA99902)\libs\libkernel.prx ... GetLastError: 127 - ``` ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [X] Based on current `main`; no other open PR implements the same functions - [X] One topic per PR; follow-ups go in a new PR - [X] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [X] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [X] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [X] New third-party code is a submodule built from source - [X] Generic behaviour, not specific to one title - [X] Depends on: none - [X] AI-assisted: yes
github-actions[bot] commented 2026-10-12 05:42:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-12T05:42:04Z.


Progress report (b42ef24 → 216984a)

📉 System libraries: 86.53% (-0.02%, +1 declared functions)

🆕 1 declared as stubs
Library Name
libkernel sceKernelGetCpuTemperature
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6118472164 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4311#issuecomment-6118472164). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-12T05:42:04Z. --- <!-- progress-report --> ### Progress report (b42ef24 → 216984a) 📉 **System libraries**: 86.53% (-0.02%, +1 declared functions) <details> <summary>🆕 1 declared as stubs</summary> | Library | Name | | - | - | | libkernel | `sceKernelGetCpuTemperature` | </details>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!4311
No description provided.