mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-30 00:01:02 +00:00
Support svcctrl start event
This commit is contained in:
@@ -410,6 +410,7 @@ constexpr auto DBWIN_BUFFER = make_pseudo_handle(0x2, handle_types::section);
|
|||||||
constexpr auto WER_PORT_READY = make_pseudo_handle(0x1, handle_types::event);
|
constexpr auto WER_PORT_READY = make_pseudo_handle(0x1, handle_types::event);
|
||||||
constexpr auto DBWIN_DATA_READY = make_pseudo_handle(0x2, handle_types::event);
|
constexpr auto DBWIN_DATA_READY = make_pseudo_handle(0x2, handle_types::event);
|
||||||
constexpr auto DBWIN_BUFFER_READY = make_pseudo_handle(0x3, handle_types::event);
|
constexpr auto DBWIN_BUFFER_READY = make_pseudo_handle(0x3, handle_types::event);
|
||||||
|
constexpr auto SVCCTRL_START_EVENT = make_pseudo_handle(0x4, handle_types::event);
|
||||||
|
|
||||||
constexpr auto CONSOLE_HANDLE = make_pseudo_handle(0x1, handle_types::file);
|
constexpr auto CONSOLE_HANDLE = make_pseudo_handle(0x1, handle_types::file);
|
||||||
constexpr auto STDOUT_HANDLE = make_pseudo_handle(0x2, handle_types::file);
|
constexpr auto STDOUT_HANDLE = make_pseudo_handle(0x2, handle_types::file);
|
||||||
|
|||||||
@@ -107,6 +107,12 @@ namespace syscalls
|
|||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (name == u"Global\\SvcctrlStartEvent_A3752DX")
|
||||||
|
{
|
||||||
|
event_handle.write(SVCCTRL_START_EVENT.bits);
|
||||||
|
return STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
if (name == u"DBWIN_DATA_READY")
|
if (name == u"DBWIN_DATA_READY")
|
||||||
{
|
{
|
||||||
event_handle.write(DBWIN_DATA_READY.bits);
|
event_handle.write(DBWIN_DATA_READY.bits);
|
||||||
|
|||||||
Reference in New Issue
Block a user