Exports for User.
More...
|
| int | sceFiosKernelOverlayAddForProcess02 (SceUID pid, SceFiosOverlay *overlay, SceFiosOverlayID *outID) |
| |
| | VITASDK_BUILD_ASSERT_EQ (0x18, sceFiosKernelOverlayGetList02_opt) |
| |
| | VITASDK_BUILD_ASSERT_EQ (0x8, sceFiosKernelOverlayGetRecommendedScheduler02_opt) |
| |
| | VITASDK_BUILD_ASSERT_EQ (0x18, sceFiosKernelOverlayResolveSync02_opt) |
| |
| | VITASDK_BUILD_ASSERT_EQ (0x1C, sceFiosKernelOverlayResolveWithRangeSync02_opt) |
| |
| int | sceFiosKernelOverlayGetInfoForProcess02 (SceUID pid, SceFiosOverlayID id, SceFiosOverlay *out_overlay) |
| | Gets information about an overlay in a process's table.
|
| |
| int | sceFiosKernelOverlayGetList02 (SceUID pid, SceUInt8 min_order, SceUInt8 max_order, const sceFiosKernelOverlayGetList02_opt *opt) |
| | Gets the IDs of overlays whose order is from min_order through max_order, inclusive.
|
| |
| int | sceFiosKernelOverlayGetRecommendedScheduler02 (int scheduler_count, const char *partially_resolved_path, const sceFiosKernelOverlayGetRecommendedScheduler02_opt *opt) |
| | Gets the recommended scheduler index for a partially resolved path.
|
| |
| int | sceFiosKernelOverlayModifyForProcess02 (SceUID pid, SceFiosOverlayID id, const SceFiosOverlay *new_value) |
| | Replaces an overlay in a process's table.
|
| |
| int | sceFiosKernelOverlayRemoveForProcess02 (SceUID pid, SceFiosOverlayID id) |
| | Removes an overlay synchronously from a process's table.
|
| |
| int | sceFiosKernelOverlayResolveSync02 (SceUID pid, int resolve_for_write, const char *in_path, const sceFiosKernelOverlayResolveSync02_opt *opt) |
| | Resolves a path synchronously through a process's overlays.
|
| |
| int | sceFiosKernelOverlayResolveWithRangeSync02 (SceUID pid, int resolve_for_write, const char *in_path, const sceFiosKernelOverlayResolveWithRangeSync02_opt *opt) |
| | Resolves a path through overlays whose order is between min_order and max_order, inclusive.
|
| |
| int | sceFiosKernelOverlayThreadIsDisabled02 (void) |
| | Returns whether application overlays are disabled for the current thread.
|
| |
| int | sceFiosKernelOverlayThreadSetDisabled02 (int disabled) |
| | Enables or disables application overlays for the current thread.
|
| |
Exports for User.
Using this library in your project
Include the header file in your project:
Link the library to the executable:
◆ sceFiosKernelOverlayGetList02_opt
| struct sceFiosKernelOverlayGetList02_opt |
| Data Fields |
|
SceFiosOverlayID * |
out_ids |
Output buffer for overlay IDs; may be NULL only when max_ids is zero. |
|
SceSize |
max_ids |
Maximum number of overlay IDs to write; must not exceed 128 on FW 3.60. |
|
SceSize * |
actual_ids |
Optional pointer receiving the total number of matching overlays, including those beyond max_ids. |
|
SceSize |
out_ids_buffer_size |
Number of bytes copied to out_ids; must not exceed 0x200 on FW 3.60. |
|
SceUInt32 |
reserved[2] |
Ignored on FW 3.60. |
◆ sceFiosKernelOverlayGetRecommendedScheduler02_opt
| struct sceFiosKernelOverlayGetRecommendedScheduler02_opt |
| Data Fields |
|
SceUInt32 |
reserved[2] |
Copied from user memory but not used on FW 3.60. |
◆ sceFiosKernelOverlayResolveSync02_opt
| struct sceFiosKernelOverlayResolveSync02_opt |
| Data Fields |
|
char * |
out_path |
Resolved path output buffer. |
|
SceSize |
max_path |
Maximum path length used by the resolver; must be from 1 through 0x400, inclusive. |
|
SceUInt32 |
reserved0 |
Ignored on FW 3.60. |
|
SceSize |
out_path_buffer_size |
Number of bytes copied to out_path; must not exceed 0x400 on FW 3.60. |
|
SceUInt32 |
reserved1[2] |
Ignored on FW 3.60. |
◆ sceFiosKernelOverlayResolveWithRangeSync02_opt
| struct sceFiosKernelOverlayResolveWithRangeSync02_opt |
| Data Fields |
|
char * |
out_path |
Resolved path output buffer. |
|
SceSize |
max_path |
Maximum path length used by the resolver; must be from 1 through 0x400, inclusive. |
|
SceUInt8 |
min_order |
Minimum overlay order to include. |
|
SceUInt8 |
max_order |
Maximum overlay order to include. |
|
SceUInt8 |
reserved0[2] |
Ignored on FW 3.60. |
|
SceUInt32 |
reserved1 |
Ignored on FW 3.60. |
|
SceSize |
out_path_buffer_size |
Number of bytes copied to out_path; must not exceed 0x400 on FW 3.60. |
|
SceUInt32 |
reserved2[2] |
Ignored on FW 3.60. |
◆ sceFiosKernelOverlayAddForProcess02()
◆ VITASDK_BUILD_ASSERT_EQ() [1/4]
◆ VITASDK_BUILD_ASSERT_EQ() [2/4]
◆ VITASDK_BUILD_ASSERT_EQ() [3/4]
◆ VITASDK_BUILD_ASSERT_EQ() [4/4]
◆ sceFiosKernelOverlayGetInfoForProcess02()
Gets information about an overlay in a process's table.
Copies the complete SceFiosOverlay to out_overlay. The output buffer must remain valid until this function returns; it is not used afterwards.
- Parameters
-
| [in] | pid | - Process whose overlay table is queried. |
| [in] | id | - Overlay identifier. |
| [out] | out_overlay | - Receives the overlay information. |
- Returns
- 0 on success, or a negative error code.
◆ sceFiosKernelOverlayGetList02()
Gets the IDs of overlays whose order is from min_order through max_order, inclusive.
opt must be non-NULL. When opt->out_ids is non-NULL, opt->max_ids must not exceed 128 on FW 3.60. opt->actual_ids may be NULL; when supplied it receives the total number of matching overlays, including those beyond opt->max_ids. The reserved fields are ignored on FW 3.60.
- Parameters
-
| [in] | pid | - Process whose overlays are enumerated. |
| [in] | min_order | - Minimum overlay order to include. |
| [in] | max_order | - Maximum overlay order to include. |
| [in] | opt | - Enumeration options and output pointers. |
- Returns
- 0 on success, or an error code.
◆ sceFiosKernelOverlayGetRecommendedScheduler02()
Gets the recommended scheduler index for a partially resolved path.
opt must be non-NULL. FW 3.60 copies all eight bytes from user memory but does not use their contents. partially_resolved_path may be NULL; a non-NULL path must terminate within 0x400 bytes.
- Parameters
-
| [in] | scheduler_count | - Number of available schedulers. |
| [in] | partially_resolved_path | - Optional partially resolved path. |
| [in] | opt | - Non-NULL pointer to an 8-byte option block. |
- Returns
- 1 for a host[0-9]: path when scheduler_count is greater than 1, otherwise 0, or a negative error code when a user-memory copy fails.
◆ sceFiosKernelOverlayModifyForProcess02()
Replaces an overlay in a process's table.
Validates and copies new_value before returning. Keeps the process and overlay IDs, recalculates both path lengths, and moves the entry to its new position in the table if its order changes. new_value must remain valid until this function returns; it is not used afterwards.
- Parameters
-
| [in] | pid | - Process whose overlay is replaced. |
| [in] | id | - Overlay identifier. |
| [in] | new_value | - Replacement overlay configuration. |
- Returns
- 0 on success, or a negative error code.
◆ sceFiosKernelOverlayRemoveForProcess02()
Removes an overlay synchronously from a process's table.
- Returns
- 0 on success, or a negative error code.
◆ sceFiosKernelOverlayResolveSync02()
Resolves a path synchronously through a process's overlays.
resolve_for_write must be 0 for a read or 1 for a write. opt must be non-NULL. Its max_path field controls path validation and resolution, while out_path_buffer_size independently controls the final copy to user memory. The reserved fields are ignored on FW 3.60.
- Parameters
-
| [in] | pid | - Process whose overlays are used. |
| [in] | resolve_for_write | - Must be 0 for read resolution or 1 for write resolution. |
| [in] | in_path | - Path to resolve. |
| [in] | opt | - Resolution options and output buffer. |
- Returns
- 0 on success, or a negative error code.
◆ sceFiosKernelOverlayResolveWithRangeSync02()
Resolves a path through overlays whose order is between min_order and max_order, inclusive.
opt must be non-NULL. min_order and max_order are unsigned, and min_order must not exceed max_order. max_path controls path validation and resolution; out_path_buffer_size independently controls the final copy to user memory. The reserved fields are ignored on FW 3.60. If application overlays are disabled for the current thread, the supplied min_order is replaced with 0x80.
- Parameters
-
| [in] | pid | - Process whose overlays are used. |
| [in] | resolve_for_write | - Must be 0 for read resolution or 1 for write resolution. |
| [in] | in_path | - Path to resolve. |
| [in] | opt | - Resolution options and output buffer. |
- Returns
- 0 on success, or an error code.
◆ sceFiosKernelOverlayThreadIsDisabled02()
| int sceFiosKernelOverlayThreadIsDisabled02 |
( |
void |
| ) |
|
Returns whether application overlays are disabled for the current thread.
A nonzero state skips orders 0x00 through 0x7F. Privileged overlays with orders 0x80 through 0xFF remain active.
- Returns
- 0 or 1.
◆ sceFiosKernelOverlayThreadSetDisabled02()
| int sceFiosKernelOverlayThreadSetDisabled02 |
( |
int |
disabled | ) |
|
Enables or disables application overlays for the current thread.
Any nonzero value skips orders 0x00 through 0x7F until this function is called with zero or the thread exits. Privileged orders 0x80 through 0xFF remain active.
- Parameters
-
| [in] | disabled | - Zero to enable application overlays, or any nonzero value to disable them. |
- Returns
- 0 on success, or -1 if the thread-local state is unavailable.
◆ out_ids
Output buffer for overlay IDs; may be NULL only when max_ids is zero.
◆ max_ids
| SceSize sceFiosKernelOverlayGetList02_opt::max_ids |
Maximum number of overlay IDs to write; must not exceed 128 on FW 3.60.
◆ actual_ids
| SceSize* sceFiosKernelOverlayGetList02_opt::actual_ids |
Optional pointer receiving the total number of matching overlays, including those beyond max_ids.
◆ out_ids_buffer_size
| SceSize sceFiosKernelOverlayGetList02_opt::out_ids_buffer_size |
Number of bytes copied to out_ids; must not exceed 0x200 on FW 3.60.
◆ reserved [1/2]
| SceUInt32 sceFiosKernelOverlayGetList02_opt::reserved[2] |
◆ reserved [2/2]
| SceUInt32 sceFiosKernelOverlayGetRecommendedScheduler02_opt::reserved[2] |
Copied from user memory but not used on FW 3.60.
◆ out_path [1/2]
| char* sceFiosKernelOverlayResolveSync02_opt::out_path |
Resolved path output buffer.
◆ max_path [1/2]
| SceSize sceFiosKernelOverlayResolveSync02_opt::max_path |
Maximum path length used by the resolver; must be from 1 through 0x400, inclusive.
◆ reserved0 [1/2]
| SceUInt32 sceFiosKernelOverlayResolveSync02_opt::reserved0 |
◆ out_path_buffer_size [1/2]
| SceSize sceFiosKernelOverlayResolveSync02_opt::out_path_buffer_size |
Number of bytes copied to out_path; must not exceed 0x400 on FW 3.60.
◆ reserved1 [1/2]
| SceUInt32 sceFiosKernelOverlayResolveSync02_opt::reserved1[2] |
◆ out_path [2/2]
| char* sceFiosKernelOverlayResolveWithRangeSync02_opt::out_path |
Resolved path output buffer.
◆ max_path [2/2]
| SceSize sceFiosKernelOverlayResolveWithRangeSync02_opt::max_path |
Maximum path length used by the resolver; must be from 1 through 0x400, inclusive.
◆ min_order
| SceUInt8 sceFiosKernelOverlayResolveWithRangeSync02_opt::min_order |
Minimum overlay order to include.
◆ max_order
| SceUInt8 sceFiosKernelOverlayResolveWithRangeSync02_opt::max_order |
Maximum overlay order to include.
◆ reserved0 [2/2]
| SceUInt8 sceFiosKernelOverlayResolveWithRangeSync02_opt::reserved0[2] |
◆ reserved1 [2/2]
| SceUInt32 sceFiosKernelOverlayResolveWithRangeSync02_opt::reserved1 |
◆ out_path_buffer_size [2/2]
| SceSize sceFiosKernelOverlayResolveWithRangeSync02_opt::out_path_buffer_size |
Number of bytes copied to out_path; must not exceed 0x400 on FW 3.60.
◆ reserved2
| SceUInt32 sceFiosKernelOverlayResolveWithRangeSync02_opt::reserved2[2] |