Commit Graph

5326 Commits

Author SHA1 Message Date
06a2e0b591 Kernel/Sessions: Wake up any threads waiting on a ServerSession when its client is closed
The error code 0xC920181A will be returned by svcReplyAndReceive when the wakeup callback runs.
This lets LLE services be properly notified of clients closing the connection so they can end their handler threads instead of letting them linger indefinitely, taking up connection slots in their parent port.
2017-11-06 23:07:08 -05:00
d55a13c35d Merge pull request #2981 from Subv/replyreceive
Kernel/SVC: Implement LLE command buffer translation in ReplyAndReceive
2017-11-06 13:02:30 -05:00
bd5fe0c48f Merge pull request #3081 from wwylele/fix-about
citra-qt: fix broken About box
2017-11-06 10:42:04 -07:00
3b960fe651 citra-qt: fix broken About box 2017-11-06 18:08:53 +02:00
23deae4785 Debugging: Implement GetName for Kernel::ServerSession.
Fixes the "[UNKNOWN KERNEL OBJECT]" message in the wait tree when inspecting a server session.
2017-11-06 10:47:06 -05:00
5f92dc963c Kernel/SVC: Implement LLE command buffer translation in ReplyAndReceive.
The real kernel's ReplyAndReceive will retry the call until one of the objects can be acquired without causing a translation error, this is not currently implemented and the code will instead assert that the translation was a success.
2017-11-06 10:47:04 -05:00
8f108367c9 Kernel/IPC: Put a thread to sleep when performing an LLE IPC request.
It will be awoken when the server replies to the request via svcReplyAndReceive.
2017-11-06 10:46:19 -05:00
33c5982f6d Kernel/Threads: Added a new thread status to identify threads waiting for an IPC reply from svcSendSyncRequest. 2017-11-06 10:46:19 -05:00
8e2d9f48f5 Kernel/IPC: Remove dead buffer translation code.
This is all implemented elsewhere, HLERequestContext for HLE requests, and svcReplyAndReceive for LLE requests.
2017-11-06 10:46:18 -05:00
7cf7999e02 Kernel/IPC: Added a function to translate the IPC command buffer from one process to another.
Currently only CopyHandle, MoveHandle and CallingPid descriptors are implemented.
2017-11-06 10:46:12 -05:00
1300c96995 Merge pull request #3080 from citra-emu/Subv-ReleaseMutex-Return
Kernel/Mutex: Add a missing return in Mutex::Release
2017-11-06 14:06:53 +02:00
4fdc877626 remove trailing spaces 2017-11-06 13:57:06 +02:00
ff17773c28 Kernel/Mutex: Add a missing return in Mutex::Release
Fixes a regression in #3042.
Closes #3079
2017-11-05 21:31:22 -05:00
8ba2de1580 Merge pull request #3029 from shinyquagsire23/am-title-install
Services/AM: Add CIA title installation support.
2017-11-05 21:23:55 -05:00
e00a45c500 Services/AM: Add CIA title installation support. 2017-11-05 13:26:29 -07:00
7ea04bb55c Services/AM: Fix log commands 2017-11-05 13:26:29 -07:00
714206e4ce Service/FS: Mark FileBackend's Write as non-const 2017-11-05 13:26:29 -07:00
ca2b6c6c8e file_sys/errors: Add ERROR_INSUFFICIENT_SPACE 2017-11-05 13:26:29 -07:00
ce806dcdf6 file_sys/title_metadata: Allow loading from both files, FileBackends, and data 2017-11-05 13:26:29 -07:00
b3e87d01fb file_sys: Add CIA Container 2017-11-05 13:26:25 -07:00
4fc0448093 Merge pull request #3064 from wwylele/printf-warnings
Clean all format warnings
2017-11-05 10:32:46 +02:00
b579bf0cc2 Fixed up method docs for updater 2017-11-04 15:10:59 -06:00
53a88a0e13 Fix edge case for checking for updates when already deferred 2017-11-04 15:00:24 -06:00
7361ee9750 Defer update prompt if emulating, and show no update found on explicit click 2017-11-04 15:00:24 -06:00
2e6c80d1aa Qt updater integration, based on QtAutoUpdater 2017-11-04 15:00:20 -06:00
ee5aecee3f Implement About Button Functionality (#3005) 2017-11-04 13:59:27 -04:00
9a52d72362 Merge pull request #3042 from Subv/releasemutex
Kernel/SVC: Don't let svcReleaseMutex release a mutex owned by another thread
2017-11-04 12:57:44 -05:00
302bd12b72 Merge pull request #3066 from MerryMage/update-dynarmic
Update dynarmic
2017-11-04 13:56:07 -04:00
5885ca4503 Merge pull request #3067 from Hexagon12/wsacleanup-soc-fix
Removed duplicate calls of WSACleanup in soc_u.
2017-11-04 13:39:09 -04:00
c14f802381 Merge pull request #2992 from Subv/ac_srvframework
Services/AC: Converted the ac:i and ac:u services to the new service framework.
2017-11-04 10:42:09 -06:00
3fe9b332bc Merge pull request #2989 from B3n30/sendTo_PullPacket_Bind
Service/UDS: Implement Bind, Unbind, SendTo, PullPacket, and GetNodeInformation
2017-11-04 10:58:49 -05:00
695ff7cff3 Clang pls (again) 2017-11-04 17:41:20 +02:00
81e36150d3 Clang pls 2017-11-04 17:32:12 +02:00
68dba11805 Kernel/SVC: Don't let svcReleaseMutex release a mutex owned by another thread.
This behavior was reverse engineered from the 3DS kernel.
2017-11-04 10:05:18 -05:00
ed9db735a2 Service/UDS: Updated BeginHostingNetwork 2017-11-04 15:41:54 +01:00
f6d16c3f87 Service/UDS: Implement Unbind and GetNodeInformation 2017-11-04 15:41:54 +01:00
230ea063a5 Service/UDS: Implement SendTo, PullPacket, HandleSecureData, and Bind 2017-11-04 15:41:27 +01:00
4ded138139 Update soc_u.cpp 2017-11-04 16:30:48 +02:00
5d123144ff Removed all instances of WSACleanup();. 2017-11-04 15:03:04 +02:00
61b88aeaee dynarmic: Update to 8f15e3f70cb96e56705e5de6ba97b5d09423a56b 2017-11-04 10:49:37 +00:00
590b1e8453 xbyak: Update to v5.53 2017-11-04 10:49:17 +00:00
499508389c core: clear format warnings 2017-11-01 12:35:32 +02:00
47c0c87c47 video_core: clean format warnings 2017-11-01 12:35:32 +02:00
ed17c54307 Merge pull request #3027 from MerryMage/travis=frozen-deps
travis: Add build with frozen versions for dependencies
2017-10-31 08:28:52 -07:00
1f6da9fbc5 Capitalize the first word in a comment (#3059)
* Correct spelling of searchfield in comment
2017-10-28 12:38:56 -05:00
c575e6b202 Merge pull request #3060 from superheri/WordOrderComment
Correcting word order of a comment in memory.cpp
2017-10-28 12:37:58 -05:00
d65983515f Correcting word order of a comment in memory.cpp 2017-10-28 13:23:58 -04:00
79852d3707 Merge pull request #3048 from shinyquagsire23/am-patch
Services/AM: Implement GetPatchTitleInfos, Misc Cleanup
2017-10-27 20:10:56 -05:00
95df4e674a Services/AC: Converted the ac:i and ac:u services to the new service framework. 2017-10-27 19:39:19 -05:00
edfc8d133a Merge pull request #3044 from Dragios/wnarrowing
Get rid of narrowing conversion warning (-Wnarrowing)
2017-10-27 15:55:14 -06:00