bookmist
11dc3b8b2a
modules: lle kernel module sysmodule
...
* Loading modules from bootimage.skprx
* ELF loading with automatic format detection based on the magic value
* New NIDs and modules for kernel-level functions (added manually).
* Implementation of several kernel-level functions. Most of them delegate to user-level counterparts.
Other changes, which are difficult to split:
* Whenever possible, do not relocate modules.
* Patches are now read for eboot.bin only
* ELF dumps are now organized into subfolders named by application/game ID
* Correct implementation of LLE libfiber, even without an LLE sysmodule
2026-05-27 20:02:07 +03:00
Francisco José García García
94621f3f99
taiHEN: Add kernel NIDs and fix module_nid in taiGetModuleInfo
...
Implement the kernel driver functions that kubridge.skprx imports,
allowing it to run as native LLE ARM code instead of HLE overrides.
SceSysmemForDriver:
- ksceKernelAllocMemBlock: full impl with vbase (alloc_at) support
- ksceKernelGetMemBlockBase, ksceKernelFreeMemBlock
- ksceKernelMemcpyUserToKernel, ksceKernelStrncpyUserToKernel
- kscePUIDOpenByGUID: returns same UID (no user/kernel separation)
- Refactor: sceKernelAllocMemBlock/FreeMemBlock/GetMemBlockBase now
delegate to kernel via CALL_EXPORT
- Extract SysmemState to shared header (modules/sysmem_state.h)
SceThreadmgrForDriver:
- ksceKernelCreateThread, ksceKernelStartThread, ksceKernelWaitThreadEnd
SceSysclibForDriver: kmemset
SceProcessmgrForDriver: ksceKernelCreateProcessLocalStorage (stub)
SceProcEventForDriver: ksceKernelRegisterProcEventHandler (stub)
CP15 coprocessor (dynarmic_cpu.cpp):
- Add SCTLR read/write (kuKernelEnableSwp thread)
- Add DACR read/write (kuKernelCpuUnrestrictedMemcpy)
- Add TPIDRURO write (ENTER_SYSCALL/EXIT_SYSCALL macros)
- Catch-all with LOG_WARN for unknown cp15 registers
2026-05-09 21:04:18 +02:00
bookmist
345d807488
Tick Tick Tick, thats the sound of 2025 flying by
2026-01-18 01:58:45 +03:00
Pedro Montes Alcalde and GitHub
4a14d546ba
Tick Tick Tick, thats the sound of 2024 flying by ( #3503 )
2025-01-19 18:51:43 -03:00
Pedro Montes Alcalde and GitHub
34565e3ef4
Vita2024K: Happy 2024
2024-01-01 12:36:32 -03:00
Zangetsu38
b79d7d282d
vita3K: fix format.
2023-09-13 22:48:49 +02:00
Macdu
e64fa370c7
modules: cleanup
2023-09-10 23:35:12 +02:00
bookmist
43a62f4438
modules/SceKernelThreadMgr: implemented ksceKernelGetThreadCurrentPriority
2023-01-19 13:35:30 +03:00
EXtremeExploit and Zangetsu
41a17e79c7
Planet Earth Season 2023
2023-01-02 10:46:20 +01:00
Zangetsu38
77fd8e8f78
project: run format.
2022-03-16 02:11:11 +01:00
Zangetsu38
61c1a077a2
modules: Add some nids and funtions for new kernel library.
...
- relate modules SceKernelThreadMgr, SceProcessmgr, SceSysmem, ScePaf.
2021-04-16 14:07:05 +02:00