SceDeci4pSDbgp: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
No edit summary
(Reformulate functionalities + move protocol/debugger to dedicated page)
 
(5 intermediate revisions by 2 users not shown)
Line 7: Line 7:
! Version !! World !! Privilege
! Version !! World !! Privilege
|-
|-
| 3.60 || Non-secure || Kernel
| 1.800.071-3.720.011 || Non-secure || Kernel
|}
|}
== SDbgp's sysmemChecker ==
sdbgp starts sysmemChecker if dipsw 0xE0 is on.
sysmemChecker is has 4 operations.
  0: verify heap
  1: PhyMemPart check
  2: Partition check
  3: FixedHeap check


== Libraries ==
== Libraries ==
Line 28: Line 18:
! Version !! Name !! World !! Visibility !! NID
! Version !! Name !! World !! Visibility !! NID
|-
|-
| 3.60 || [[SceDeci4pSdbgp#SceDeci4pSdbgpForKernel|SceDeci4pSdbgpForKernel]] || Non-secure || Kernel || 0x085209B0
| 1.800.071-3.720.011 || [[SceDeci4pSDbgp#SceDeci4pSdbgpForKernel|SceDeci4pSdbgpForKernel]] || Non-secure || Kernel || 0x085209B0
|-
|-
| 3.60 || [[SceDeci4pSdbgp#SceDeci4pSdbgpTest|SceDeci4pSdbgpTest]] || Non-secure || User || 0x900E5367
| 1.800.071-3.720.011 || [[SceDeci4pSDbgp#SceDeci4pSdbgpTest|SceDeci4pSdbgpTest]] || Non-secure || User || 0x900E5367
|}
|}


Line 40: Line 30:
! Version !! NID
! Version !! NID
|-
|-
| 3.60 || 0xB671059C
| 2.100.081-3.720.011 || 0xB671059C
|}
|}


Line 50: Line 40:
! Version !! NID
! Version !! NID
|-
|-
| 3.60 || 0x50DA251E
| 2.100.081-3.720.011 || 0x50DA251E
|}
|}


Line 60: Line 50:
! Version !! NID
! Version !! NID
|-
|-
| 3.60 || 0x462DC57D
| 1.800.071-3.720.011 || 0x462DC57D
|}
|}


<source lang="C">SceUID sceDeci4pSdbgpTestFindMemBlock(int flags, void *addr, SceSize size);</source>
<source lang="C">SceUID sceDeci4pSdbgpTestFindMemBlock(int flags, void *addr, SceSize size);</source>


== Functionalities ==
=== Protocol ===
It is possible to interact with SDbgp from host computer via PSP2TMAPI. See [[Dbgp protocol]] for details.
=== Background Sysmem Checker ===
If DIP switch 224 is on, SceDeci4pSDbgp creates a workqueue and schedules the <code>sysmemChecker</code> task on it.
The Sysmem checker performs one check at a time before scheduling the next one (modulo 3).
A 20 seconds delay is observed after check completion before scheduling the next check on the workqueue.
The checks are performed in this order:
  0: Verify Sysmem heap
  1: PhyMemPart check
  2: Partition check
  3: FixedHeap check
[[Category:ARM]]
[[Category:Kernel]]
[[Category:Modules]]
[[Category:Modules]]
[[Category:Kernel]]
[[Category:Library]]

Latest revision as of 15:18, 1 November 2023

DECI4P System Debug Process.

Module

Version World Privilege
1.800.071-3.720.011 Non-secure Kernel

Libraries

Known NIDs

Version Name World Visibility NID
1.800.071-3.720.011 SceDeci4pSdbgpForKernel Non-secure Kernel 0x085209B0
1.800.071-3.720.011 SceDeci4pSdbgpTest Non-secure User 0x900E5367

SceDeci4pSdbgpTest

SceDeci4pSdbgpTest_B671059C

Version NID
2.100.081-3.720.011 0xB671059C
int SceDeci4pSdbgpTest_B671059C(void);

sceDeci4pSdbgpTestGetTimeStamp

Version NID
2.100.081-3.720.011 0x50DA251E
int sceDeci4pSdbgpTestGetTimeStamp(SceSize max, char *dst);

sceDeci4pSdbgpTestFindMemBlock

Version NID
1.800.071-3.720.011 0x462DC57D
SceUID sceDeci4pSdbgpTestFindMemBlock(int flags, void *addr, SceSize size);

Functionalities

Protocol

It is possible to interact with SDbgp from host computer via PSP2TMAPI. See Dbgp protocol for details.

Background Sysmem Checker

If DIP switch 224 is on, SceDeci4pSDbgp creates a workqueue and schedules the sysmemChecker task on it.

The Sysmem checker performs one check at a time before scheduling the next one (modulo 3). A 20 seconds delay is observed after check completion before scheduling the next check on the workqueue.

The checks are performed in this order:

 0: Verify Sysmem heap
 1: PhyMemPart check
 2: Partition check
 3: FixedHeap check