- 精华
- 0
- 帖子
- 679
- 威望
- 0 点
- 积分
- 721 点
- 种子
- 12 点
- 注册时间
- 2007-1-8
- 最后登录
- 2024-3-21
|
楼主 |
发表于 2018-10-1 11:49 · 辽宁
|
显示全部楼层
本帖最后由 tq03q9i 于 2018-10-1 19:24 编辑
1181
(ATAD+HDPro ATAD VMC) Re-enabled write cache for VMC, except for HDPro
(Only if IGR is enabled). Replaced wrong function call to DeviceDeinit() with DeviceUnmount(), added call to DeviceUnmount() from the Poweroff thread.
When VMC is used with the official HDD unit, the cache will be flushed when either IGR is invoked or the power is pressed.
When VMC is used with HDPro, the cache will be flushed when IGR is invoked. However, if IGR is disabled, then there is no way to determine whether the PS2 will be shut down or not, hence the write cache will be disabled in this case.
1182
CDVDMAN: when a device is deinitialized, prevent further accesses to the device.
CDVDMAN's semaphore does not totally prevent all form of device accesses. Perhaps OPL's semaphore is used differently from how the Sony CDVDMAN module uses its event flag, but the sceCdLayerSearch() function can also be called from the IOP, where this form of access control does not help.
1183
CDVDFSV: reduced stack size for RPC thread 0 and 1, from 0x1900 to 0x500 and 0x800 to 0x400 respectively. These RPCs do not call functions that trigger callbacks, so it is not necessary to preserve their original stack sizes.
1184
IGR: Added shutdown RPC, which uses (hopefully unused) a RPC ID of 0x80000598. This RPC has a thread priority of 1, which should override all other threads running in the system. Fixed power-off thread not unmounting VMC before shutdown.
1185
SMB: disable writethrough mode for better VMC writing performance.
1186
Get exclusive excess to device before closing VM files.
1187
SMB: signal sema before returning under an error condition.
1188
Merge pull request #144 from sp193/vmc-igr-update
VMC-IGR Update
1181
(ATAD + HDPro ATAD VMC)重新启用VMC的写缓存,HDPro除外
(仅在启用IGR时)。用DeviceUnmount()替换了对DeviceDeinit()的错误函数调用,从断电线程添加了对DeviceUnmount()的调用。
当VMC与官方HDD套件一起使用时,当调用IGR或按下电源时,将刷新缓存。
当VMC与HDPro一起使用时,在调用IGR时将刷新缓存。但是,如果禁用IGR,则无法确定PS2是否将关闭,因此在这种情况下将禁用写入缓存。
1182
CDVDMAN:当设备被取消初始化时,阻止进一步访问设备。
CDVDMAN的信号量并不能完全阻止所有形式的设备访问。也许OPL的信号量与Sony CDVDMAN模块使用其事件标志的方式不同,但也可以从IOP调用sceCdLayerSearch()函数,这种形式的访问控制无济于事。
1183
CDVDFSV:RPC线程0和1的堆栈大小减小,分别从0x1900到0x500和0x800到0x400。这些RPC不会调用触发回调的函数,因此不必保留其原始堆栈大小。
1184
IGR:添加了关闭RPC,它使用(希望未使用)RPC ID 0x80000598。此RPC的线程优先级为1,它应该覆盖系统中运行的所有其他线程。修复了断电线程在关机前不卸载VMC。
1185
SMB:禁用写入模式以获得更好的VMC写入性能。
1186
在关闭VMC文件之前获取设备的独占权限。
1187
SMB:在错误条件下返回之前的信号sema。
1188
从sp193/vmc-igr-update整合合并请求#144
VMC-IGR更新 |
|