Added svcOutputDebugString.

This commit is contained in:
yellows8 2017-11-21 00:35:08 -05:00
parent 3626b07879
commit 9c5afe8302
2 changed files with 6 additions and 0 deletions

View File

@ -49,6 +49,7 @@ u64 svcGetSystemTick(void);
Result svcSendSyncRequest(Handle session); Result svcSendSyncRequest(Handle session);
Result svcGetProcessId(u64 *processID, Handle handle); Result svcGetProcessId(u64 *processID, Handle handle);
Result svcBreak(u32 breakReason, u64 inval1, u64 inval2); Result svcBreak(u32 breakReason, u64 inval1, u64 inval2);
Result svcOutputDebugString(const char *str, u64 size);
Result svcGetInfo(u64* out, u64 id0, Handle handle, u64 id1); Result svcGetInfo(u64* out, u64 id0, Handle handle, u64 id1);
Result svcCreateSession(Handle *server_handle, Handle *client_handle, u32 unk0, u64 unk1);//unk* are normally 0? Result svcCreateSession(Handle *server_handle, Handle *client_handle, u32 unk0, u64 unk1);//unk* are normally 0?
Result svcAcceptSession(Handle *session_handle, Handle port_handle); Result svcAcceptSession(Handle *session_handle, Handle port_handle);

View File

@ -143,6 +143,11 @@ SVC_BEGIN svcBreak
ret ret
SVC_END SVC_END
SVC_BEGIN svcOutputDebugString
svc 0x27
ret
SVC_END
SVC_BEGIN svcGetInfo SVC_BEGIN svcGetInfo
str x0, [sp, #-16]! str x0, [sp, #-16]!
svc 0x29 svc 0x29