summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Services/UDS: Set the proper bit in the ConnectionStatus structure when ↵Gravatar Sebastian Valle2017-06-133-5/+15
| | | | | | | | | | | | creating a network. (#2738) * Services/UDS: Set the proper bit in the ConnectionStatus structure when creating a network. This lets the application know that the host was successfully added to the session. * Services/UDS: Reset the connection status when destroying the network * Services/UDS: Reset the connection status's bitmask of changed nodes after reporting it to the game.
* Kernel/IPC: Use boost::small_vector for HLE context objectsGravatar Yuri Kunde Schlesner2017-06-111-1/+3
|
* Kernel: Allow clearing request_objects to re-use buffer spaceGravatar Yuri Kunde Schlesner2017-06-113-0/+14
| | | | | Reduces the necessary allocation to max(in_handles, out_handles) rather than (in_handles + out_handles).
* Kernel: Basic support for IPC translation for HLE servicesGravatar Yuri Kunde Schlesner2017-06-113-18/+130
|
* Service/sm: Convert srv: to use IPC helpersGravatar Yuri Kunde Schlesner2017-06-111-49/+56
|
* IPC: Add Pop/PushObjects methods to RequestParser/BuilderGravatar Yuri Kunde Schlesner2017-06-111-10/+103
| | | | | These use the context functions to create and look-up handles for the user.
* IPC: Add basic HLERequestContext support to RequestParser/BuilderGravatar Yuri Kunde Schlesner2017-06-111-1/+32
|
* Kernel: Add methods in HLERequestContext abstracting handle creationGravatar Yuri Kunde Schlesner2017-06-112-0/+12
|
* ServiceFramework: Use separate copy of command bufferGravatar Yuri Kunde Schlesner2017-06-113-9/+29
| | | | | | Copy the IPC command buffer to/from the request context before/after the handler is invoked. This is part of a move away from using global data for handling IPC requests.
* Merge pull request #2756 from yuriks/service-frameworkGravatar Yuri Kunde Schlesner2017-06-089-64/+355
|\ | | | | New service framework
| * Service/sm: Convert 'srv:' to ServiceFrameworkGravatar Yuri Kunde Schlesner2017-06-085-51/+75
| |
| * Service: Remove a few redundant namespace qualifiersGravatar Yuri Kunde Schlesner2017-06-081-5/+5
| |
| * Service: Add new ServiceFramework framework for writing HLE servicesGravatar Yuri Kunde Schlesner2017-06-085-4/+269
| | | | | | | | | | | | | | | | | | | | | | | | The old "Interface" class had a few problems such as using free functions (Which didn't allow you to write the service handler as if it were a regular class.) which weren't very extensible. (Only received one parameter with a pointer to the Interface object.) The new ServiceFramework aims to solve these problems by working with member functions and passing a generic context struct as parameter. This struct can be extended in the future without having to update all existing service implementations.
| * Kernel: Remove some unnecessary namespace qualificationsGravatar Yuri Kunde Schlesner2017-06-061-4/+6
| |
* | Session: Remove/add some forward declarationsGravatar Yuri Kunde Schlesner2017-06-082-1/+2
| |
* | Kernel: Ensure objects are kept alive during ClientSession disconnectionGravatar Yuri Kunde Schlesner2017-06-081-7/+13
| | | | | | | | Fixes #2760
* | Merge pull request #2737 from Subv/decryptbeacondataGravatar James Rowe2017-06-071-1/+97
|\ \ | |/ |/| Services/UDS: Implement DecryptBeaconData.
| * Services/UDS: Implement DecryptBeaconData.Gravatar Subv2017-06-061-1/+97
| | | | | | | | This function decrypts the encrypted data tags contained in the 802.11 beacon frames.
* | Service: Remove unnecessary includes from service.hGravatar Yuri Kunde Schlesner2017-06-0631-12/+79
| | | | | | | | | | This has a huge fallout in terms of needing to fix other files because all service implementations included that file.
* | Service: Make service registration part of the sm implementationGravatar Yuri Kunde Schlesner2017-06-066-24/+147
| | | | | | | | Also enhances the GetServiceHandle implementation to be more accurate.
* | Service/sm: Use an actual semaphore for the notification semaphoreGravatar Yuri Kunde Schlesner2017-06-061-8/+9
| | | | | | | | | | An Event was used way back then when we didn't have proper working semaphores. Our Semaphore implementation is good enough now.
* | Service: Move SRV interface to a new sm/ subdirectoryGravatar Yuri Kunde Schlesner2017-06-064-9/+10
| | | | | | | | | | This will contain the implementation of the sm (Service Manager) system module.
* | Kernel: Add a dedicated SetHleHandler method to ServerPort/ServerSessionGravatar Yuri Kunde Schlesner2017-06-0611-62/+73
| | | | | | | | | | | | This allows attaching a HLE handle to a ServerPort at any point after it is created, allowing port/session creation to be generic between HLE and regular services.
* | ResultVal: Add more convenience utils for creating and cascading resultsGravatar Yuri Kunde Schlesner2017-06-061-0/+19
| |
* | HLE: Move SessionRequestHandler from Service:: to Kernel::Gravatar Yuri Kunde Schlesner2017-06-0514-73/+100
| | | | | | | | | | Most of the code that works with this is or will be in the kernel, so it's a more appropriate place for it to be.
* | Addressed Bunnei's review comments, and made some other tweaks:Gravatar TheKoopaKingdom2017-06-026-24/+22
| | | | | | | | | | - Deleted GetStatus() because it wasn't used anywhere outside of Core::System. - Fixed design flaw where the message bar status could be set despite the game being stopped.
* | Switched to the ERROR_NOT_FOUND constant from errors.h.Gravatar TheKoopaKingdom2017-06-022-4/+3
| |
* | Moved whitelist checks from FS_User to the Archive_NCCH handler.Gravatar TheKoopaKingdom2017-06-022-53/+37
| |
* | Created a whitelist of system archives to prevent false positives creating ↵Gravatar TheKoopaKingdom2017-06-026-24/+60
| | | | | | | | dialogs.
* | Optimized messages that were repetitive and added ability for core errors to ↵Gravatar TheKoopaKingdom2017-06-021-2/+15
| | | | | | | | specify more details optionally.
* | Made some changes from review comments:Gravatar TheKoopaKingdom2017-06-028-35/+33
| | | | | | | | | | | | | | | | - Made LoadKernelSystemMode return a pair consisting of a system mode and a result code (Could use review). - Deleted ErrorOpenGL error code in favor of just having ErrorVideoCore. - Made dialog messages more clear. - Compared archive ID in fs_user.cpp to ArchiveIdCode::NCCH as opposed to hex magic. - Cleaned up some other stuff.
* | Added system for handling core errors in citra-qt.Gravatar TheKoopaKingdom2017-06-025-8/+43
| |
* | Fixed encrypted ROM error messages.Gravatar TheKoopaKingdom2017-06-023-9/+19
| |
* | Merge pull request #2722 from wwylele/cam-ipc-helperGravatar bunnei2017-05-312-293/+265
|\ \ | | | | | | CAM: use IPCHelper
| * | fixup!cam: use IPCHelperGravatar wwylele2017-05-272-30/+43
| | |
| * | cam: move u32->u8 trancation to IPCHelperGravatar wwylele2017-05-241-34/+33
| | |
| * | cam: use IPCHelperGravatar wwylele2017-05-241-278/+238
| | |
* | | Merge pull request #2739 from yuriks/kernel-reorgGravatar bunnei2017-05-3125-341/+428
|\ \ \ | | | | | | | | Split-up kernel.h
| * | | Kernel: Move HandleTable to a separate fileGravatar Yuri Kunde Schlesner2017-05-2918-203/+242
| | | |
| * | | Kernel: Move WaitObject to a separate fileGravatar Yuri Kunde Schlesner2017-05-2913-132/+176
| | | | | | | | | | | | | | | | | | | | Now that HandleTable doesn't directly depend on WaitObject anymore, this can be separated from the main kernel.h header.
| * | | Kernel: Removed HandleTable::GetWaitObjectGravatar Yuri Kunde Schlesner2017-05-292-11/+2
| | | | | | | | | | | | | | | | | | | | This isn't necessary anymore since plain Get works correctly for WaitObjects.
| * | | Kernel: Extract dynamic Object pointer cast into its own functionGravatar Yuri Kunde Schlesner2017-05-291-11/+24
| | |/ | |/|
* | | CMake: Remove unnecessary include_directories for dynarmicGravatar Yuri Kunde Schlesner2017-05-271-3/+0
| | | | | | | | | | | | Dynarmic already adds the correct include paths to the library target.
* | | CMake: Add cryptopp include path to target propertyGravatar Yuri Kunde Schlesner2017-05-271-1/+0
| | |
* | | CMake: Use IMPORTED target for BoostGravatar Yuri Kunde Schlesner2017-05-271-1/+1
|/ /
* | CMake: Correct inter-module dependencies and library visibilityGravatar Yuri Kunde Schlesner2017-05-271-2/+2
| | | | | | | | | | | | | | | | | | | | Modules didn't correctly define their dependencies before, which relied on the frontends implicitly including every module for linking to succeed. Also changed every target_link_libraries call to specify visibility of dependencies to avoid leaking definitions to dependents when not necessary.
* | Remove some unnecessary inclusions of video_core.hGravatar Yuri Kunde Schlesner2017-05-272-2/+0
| |
* | Move screen size constants from video_core to coreGravatar Yuri Kunde Schlesner2017-05-275-13/+46
| | | | | | | | | | video_core didn't even properly use them, and they were the source of many otherwise-unnecessary dependencies from core to video_core.
* | Core: Fix some out-of-style includesGravatar Yuri Kunde Schlesner2017-05-274-4/+4
| |
* | Move framebuffer_layout from Common to CoreGravatar Yuri Kunde Schlesner2017-05-274-1/+215
| | | | | | | | | | | | This removes a dependency inversion between core and common. It's also the proper place for the file since it makes screen layout decisions specific to the 3DS.