|
|
Line 88: |
Line 88: |
| <source lang="C">int sceDisplayGetFrameBufForDriver(SceDisplayFrameBuf *pParam, int sync);</source> | | <source lang="C">int sceDisplayGetFrameBufForDriver(SceDisplayFrameBuf *pParam, int sync);</source> |
|
| |
|
| === sceDisplayGetFrameBufInfoForPidForDriver === | | === sceDisplayGetProcFrameBufInternalForDriver === |
| {| class="wikitable" | | {| class="wikitable" |
| |- | | |- |
Line 95: |
Line 95: |
| | 3.60 || 0x3BC165EF | | | 3.60 || 0x3BC165EF |
| |} | | |} |
| | |
| | Wrong name was sceDisplayGetFrameBufInfoForPidForDriver. |
| | |
| | <source lang="C"> |
| | /** |
| | * Get the configured framebuffer information of a head and its framebuffer index for a PID |
| | * |
| | * @param[in] pid - PID of the process to get the framebuffer information from. |
| | * It can either be a vallid PID, -1 to use the current configured |
| | * framebuffer for the head and index, or 0 to use the PID of the caller. |
| | * @param[in] head - Use 0 for OLED/LCD and 1 for HDMI |
| | * @param[in] index - Can be 0 or 1 |
| | * @param[out] info - Pointer to a ::SceDisplayFrameBufInfo structure |
| | * which will receive the framebuffer information. |
| | * |
| | * @return 0 on success, < 0 on error. |
| | */ |
| | int sceDisplayGetProcFrameBufInternalForDriver(SceUID pid, int head, int index, SceDisplayFrameBufInfo *info); |
| | </source> |
|
| |
|
| === sceDisplayGetFrameBufInternalForDriver === | | === sceDisplayGetFrameBufInternalForDriver === |
Revision as of 20:29, 24 September 2019
This module handles management of the framebuffers. It uses various display drivers (OLED, HDMI, LCD) as well as drivers to control DMA and other low level details. Embedded in this module is also the boot logo (the PS logo seen on boot) which is gzipped. On module_start, after setting up the drivers, it gunzips the logo into the SceCamera SRAM (which is unused at this time since camera is not enabled yet). Then it sets the framebuffer to the camera SRAM and turns the brightness up in incremental levels.
Module
Known NIDs
Version |
Name |
World |
Privilege |
NID
|
1.69 |
SceDisplay |
Non-secure |
Kernel |
0xA7D4F77A
|
3.60 |
SceDisplay |
Non-secure |
Kernel |
0x3F05296F
|
Libraries
Known NIDs
SceDisplayForDriver
NIDs in this library are calculated as SHA1 so they can be bruteforced.
sceDisplayCaptureFrameBufDMACForDriver
Version |
NID
|
3.60 |
0xF116D0B4
|
sceDisplayCaptureFrameBufIFTUForDriver
Version |
NID
|
3.60 |
0xB0CED8BC
|
sceDisplayDisableHeadForDriver
Version |
NID
|
3.60 |
0x43347565
|
sceDisplayEnableHeadForDriver
Version |
NID
|
3.60 |
0x496032D6
|
sceDisplayGetActualViewportConfForDriver
Version |
NID
|
3.60 |
0x40ACFE51
|
sceDisplayGetDeviceTypeForDriver
Version |
NID
|
3.60 |
0x8D9A1CCE
|
sceDisplayGetFrameBufForDriver
Version |
NID
|
3.60 |
0xEEDA2E54
|
int sceDisplayGetFrameBufForDriver(SceDisplayFrameBuf *pParam, int sync);
sceDisplayGetProcFrameBufInternalForDriver
Version |
NID
|
3.60 |
0x3BC165EF
|
Wrong name was sceDisplayGetFrameBufInfoForPidForDriver.
/**
* Get the configured framebuffer information of a head and its framebuffer index for a PID
*
* @param[in] pid - PID of the process to get the framebuffer information from.
* It can either be a vallid PID, -1 to use the current configured
* framebuffer for the head and index, or 0 to use the PID of the caller.
* @param[in] head - Use 0 for OLED/LCD and 1 for HDMI
* @param[in] index - Can be 0 or 1
* @param[out] info - Pointer to a ::SceDisplayFrameBufInfo structure
* which will receive the framebuffer information.
*
* @return 0 on success, < 0 on error.
*/
int sceDisplayGetProcFrameBufInternalForDriver(SceUID pid, int head, int index, SceDisplayFrameBufInfo *info);
sceDisplayGetFrameBufInternalForDriver
Version |
NID
|
3.60 |
0x19F94C63
|
int sceDisplayGetFrameBufInternalForDriver(SceDisplayFrameBuf *pParam, int sync);
sceDisplayGetMaximumFrameBufResolutionForDriver
Version |
NID
|
3.60 |
0x5AFE6CD3
|
int sceDisplayGetMaximumFrameBufResolutionForDriver(int *width, int *height);
sceDisplayGetOutputModeForDriver
Version |
NID
|
3.60 |
0xD2CED235
|
sceDisplayGetPrimaryHeadForDriver
Version |
NID
|
3.60 |
0xC8E554C5
|
sceDisplayGetRefreshRateInternalForDriver
Version |
NID
|
3.60 |
0x7911958E
|
sceDisplayGetResolutionInfoInternalForDriver
Version |
NID
|
3.60 |
0xB3C6D647
|
sceDisplayGetVcountInternalForDriver
Version |
NID
|
3.60 |
0x8B5DA27B
|
sceDisplayRegisterFrameBufCallbackForDriver
Version |
NID
|
3.60 |
0x6E22990E
|
sceDisplayRegisterFrameBufCallbackInternalForDriver
Version |
NID
|
3.60 |
0xFA7CE579
|
sceDisplayRegisterVblankStartCallbackForDriver
Version |
NID
|
3.60 |
0x7FB0BD28
|
sceDisplayRegisterVblankStartCallbackInternalForDriver
Version |
NID
|
3.60 |
0x4AE2A2B1
|
sceDisplaySetBrightnessForDriver
Version |
NID
|
3.60 |
0x9E3C6DC6
|
sceDisplaySetColorSpaceModeForDriver
Version |
NID
|
3.60 |
0x8D79D187
|
sceDisplaySetFrameBufForDriver
Version |
NID
|
3.60 |
0x289D82FE
|
int sceDisplaySetFrameBufForDriver(const SceDisplayFrameBuf *pParam, int sync);
sceDisplaySetFrameBufInternalForDriver
Version |
NID
|
3.60 |
0x16466675
|
int sceDisplaySetFrameBufInternalForDriver(const SceDisplayFrameBuf *pParam, int sync);
sceDisplaySetInvertColorsForDriver
Version |
NID
|
3.60 |
0x19140ACD
|
sceDisplaySetMergeConfForDriver
Version |
NID
|
3.60 |
0x6B198052
|
sceDisplaySetOutputModeForDriver
Version |
NID
|
3.60 |
0xAF5EE5BE
|
sceDisplaySetScaleConfForDriver
Version |
NID
|
3.60 |
0xEB390A76
|
sceDisplaySetViewportConfForDriver
Version |
NID
|
3.60 |
0xEE5EB52D
|
sceDisplayUnregisterVblankStartCallbackForDriver
Version |
NID
|
3.60 |
0x4B27191F
|
sceDisplayUnregisterVblankStartCallbackInternalForDriver
Version |
NID
|
3.60 |
0xB027433E
|
sceDisplayWaitSetFrameBufCBForDriver
Version |
NID
|
3.60 |
0x9D7F203C
|
sceDisplayWaitSetFrameBufCBInternalForDriver
Version |
NID
|
3.60 |
0x35466D63
|
sceDisplayWaitSetFrameBufForDriver
Version |
NID
|
3.60 |
0x1C0C9C4A
|
sceDisplayWaitSetFrameBufInternalForDriver
Version |
NID
|
0.940-3.60 |
0x12A77662
|
sceDisplayWaitSetFrameBufMultiCBForDriver
Version |
NID
|
3.60 |
0x863EACBE
|
sceDisplayWaitSetFrameBufMultiCBInternalForDriver
Version |
NID
|
3.60 |
0x6DC8F0F5
|
sceDisplayWaitSetFrameBufMultiForDriver
Version |
NID
|
3.60 |
0xE6D27E0A
|
sceDisplayWaitSetFrameBufMultiInternalForDriver
Version |
NID
|
3.60 |
0xF83C95B1
|
sceDisplayWaitVblankStartCBForDriver
Version |
NID
|
3.60 |
0x46F186C3
|
sceDisplayWaitVblankStartCBInternalForDriver
Version |
NID
|
3.60 |
0x8F3C0E19
|
sceDisplayWaitVblankStartForDriver
Version |
NID
|
3.60 |
0x984C27E7
|
sceDisplayWaitVblankStartInternalForDriver
Version |
NID
|
3.60 |
0xB80CA224
|
sceDisplayWaitVblankStartMultiCBForDriver
Version |
NID
|
3.60 |
0x77ED8B3A
|
sceDisplayWaitVblankStartMultiCBInternalForDriver
Version |
NID
|
3.60 |
0x61421AAF
|
sceDisplayWaitVblankStartMultiForDriver
Version |
NID
|
3.60 |
0x40F1469C
|
sceDisplayWaitVblankStartMultiInternalForDriver
Version |
NID
|
3.60 |
0x32287576
|
SceDisplayForDriver_unk_086DEFB6
Version |
NID
|
3.60 |
0x086DEFB6
|
used in SceGpuEs4
SceDisplayForDriver_unk_332C5410
Version |
NID
|
3.60 |
0x332C5410
|
used in SceCompat
in SceCompatLcdc
interrupt handler
SceDisplayForDriver_unk_3D95D478
Version |
NID
|
3.60 |
0x3D95D478
|
sceDisplayCaptureFrameBufDMACInternalForDriver
Version |
NID
|
3.60 |
0x707EEE2E
|
used in SceAppMgr
used in sceAppMgrCaptureFrameBufDMACByAppId
together with sceDisplayGetPrimaryHeadForDriver
sceDisplaySetOwnerForDriver
Version |
NID
|
3.60 |
0xB54962A1
|
used in SceAppMgr
SceDisplayForDriver_unk_BC76296A
Version |
NID
|
3.60 |
0xBC76296A
|
used in SceAppMgr
sceDisplayCaptureFrameBufIFTUInternalForDriver
Version |
NID
|
3.60 |
0xD4C812E5
|
used in SceAppMgr
used in sceAppMgrCaptureFrameBufIFTUByAppId
together with sceDisplayGetPrimaryHeadForDriver
SceDisplay
_sceDisplayGetFrameBufInternal
Version |
NID
|
1.69-3.60 |
0x86A8E436
|
_sceDisplayGetFrameBuf
Version |
NID
|
1.69-3.60 |
0xA753B0CA
|
int _sceDisplayGetFrameBuf(SceDisplayFrameBuf *pParam, int sync, SceSize *size);
_sceDisplayGetMaximumFrameBufResolution
Version |
NID
|
3.60 |
0x2EBFC7CB
|
_sceDisplayGetResolutionInfoInternal
Version |
NID
|
3.60 |
0xFEFEB240
|
_sceDisplaySetFrameBufForCompat
Version |
NID
|
3.60 |
0x45BCB941
|
_sceDisplaySetFrameBufInternal
Version |
NID
|
1.69-3.60 |
0x7A8CB78E
|
// head: 0 for OLED/LCD and 1 for HDMI
// index: 0 for game/apps and 1 for LiveArea (including HOME and PS overlays)
int _sceDisplaySetFrameBufInternal(unsigned int head, unsigned int index, const SceDisplayFrameBuf *pParam, int sync);
_sceDisplaySetFrameBuf
Version |
NID
|
1.69-3.60 |
0xF51523CB
|
int _sceDisplaySetFrameBuf(const SceDisplayFrameBuf *pParam, int sync, SceSize *size);
sceDisplayGetPrimaryHead
Version |
NID
|
3.60 |
0x7178FADA
|
sceDisplayGetRefreshRate
Version |
NID
|
1.69-3.60 |
0xA08CA60D
|
sceDisplayGetVcountInternal
Version |
NID
|
1.69-3.60 |
0x9686859E
|
sceDisplayGetVcount
Version |
NID
|
1.69-3.60 |
0xB6FDE0BA
|
sceDisplayRegisterVblankStartCallback
Version |
NID
|
1.69-3.60 |
0x6BDF4C4D
|
sceDisplayUnregisterVblankStartCallback
Version |
NID
|
1.69-3.60 |
0x98436A80
|
sceDisplayWaitSetFrameBufCB
Version |
NID
|
1.69-3.60 |
0x814C90AF
|
sceDisplayWaitSetFrameBufMultiCB
Version |
NID
|
1.69-3.60 |
0x3E796EF5
|
sceDisplayWaitSetFrameBufMulti
Version |
NID
|
1.69-3.60 |
0x7D9864A8
|
sceDisplayWaitSetFrameBuf
Version |
NID
|
1.69-3.60 |
0x9423560C
|
sceDisplayWaitVblankStartCB
Version |
NID
|
1.69-3.60 |
0x78B41B92
|
sceDisplayWaitVblankStartMultiCB
Version |
NID
|
1.69-3.60 |
0x05F27764
|
sceDisplayWaitVblankStartMulti
Version |
NID
|
1.69-3.60 |
0xDD0A13B8
|
sceDisplayWaitVblankStart
Version |
NID
|
1.69-3.60 |
0x5795E898
|