Files
ppsspp/Core/HLE/sceSysreg.h
T
Henrik RydgårdandClaude Opus 5.5 25c6f15e56 ME: Sony's ME image, the SceMeRpc sysevent handler, the VME's status
What the firmware sets up for the ME at boot, which mcidclan's custom-core
libraries rely on, at kernel init when the ME is emulated:

- Sony's ME image at 0x88300000, as me_wrapper loads it: meimg.img on a
  PSP-1000, me_t2img.img on later models, from the installed firmware's
  flash0:/kd/resource, decrypted and KL4E-decompressed (only the first of
  its two streams, the code). Custom-core calls functions in it, picking
  per-model address tables by the word at 0x18. Without the firmware it's
  logged and left out.
- A "SceMeRpc" sysevent handler record, which sceKernelReferSysEventHandler
  (new, sceSysEventForKernel) returns, and custom-core takes over.

Also the VME's control registers (0xBCC00000), kept, with the status at
0x10 reading as done: custom-core's ME startup writes 1 there and waits.

mcidclan's custom-core poc, hw-mutex, gu-shared-list and exceptions
samples now run.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 12:06:11 +02:00

22 lines
834 B
C

// Copyright (c) 2012- PPSSPP Project.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, version 2.0 or later versions.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License 2.0 for more details.
// A copy of the GPL 2.0 should have been included with the program.
// If not, see http://www.gnu.org/licenses/
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#pragma once
void Register_sceSysreg_driver();
void Register_sceSysEventForKernel();