aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle
AgeCommit message (Collapse)Author
2017-06-08Service: Remove a few redundant namespace qualifiersYuri Kunde Schlesner
2017-06-08Service: Add new ServiceFramework framework for writing HLE servicesYuri Kunde Schlesner
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.
2017-06-07Merge pull request #2737 from Subv/decryptbeacondataJames Rowe
Services/UDS: Implement DecryptBeaconData.
2017-06-06Kernel: Remove some unnecessary namespace qualificationsYuri Kunde Schlesner
2017-06-06Services/UDS: Implement DecryptBeaconData.Subv
This function decrypts the encrypted data tags contained in the 802.11 beacon frames.
2017-06-06Service: Remove unnecessary includes from service.hYuri Kunde Schlesner
This has a huge fallout in terms of needing to fix other files because all service implementations included that file.
2017-06-06Service: Make service registration part of the sm implementationYuri Kunde Schlesner
Also enhances the GetServiceHandle implementation to be more accurate.
2017-06-06Service/sm: Use an actual semaphore for the notification semaphoreYuri Kunde Schlesner
An Event was used way back then when we didn't have proper working semaphores. Our Semaphore implementation is good enough now.
2017-06-06Service: Move SRV interface to a new sm/ subdirectoryYuri Kunde Schlesner
This will contain the implementation of the sm (Service Manager) system module.
2017-06-06Kernel: Add a dedicated SetHleHandler method to ServerPort/ServerSessionYuri Kunde Schlesner
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.
2017-06-06ResultVal: Add more convenience utils for creating and cascading resultsYuri Kunde Schlesner
2017-06-05HLE: Move SessionRequestHandler from Service:: to Kernel::Yuri Kunde Schlesner
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.
2017-06-02Addressed Bunnei's review comments, and made some other tweaks:TheKoopaKingdom
- 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.
2017-06-02Switched to the ERROR_NOT_FOUND constant from errors.h.TheKoopaKingdom
2017-06-02Moved whitelist checks from FS_User to the Archive_NCCH handler.TheKoopaKingdom
2017-06-02Created a whitelist of system archives to prevent false positives creating ↵TheKoopaKingdom
dialogs.
2017-06-02Made some changes from review comments:TheKoopaKingdom
- 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.
2017-06-02Added system for handling core errors in citra-qt.TheKoopaKingdom
2017-05-31Merge pull request #2722 from wwylele/cam-ipc-helperbunnei
CAM: use IPCHelper
2017-05-29Kernel: Move HandleTable to a separate fileYuri Kunde Schlesner
2017-05-29Kernel: Move WaitObject to a separate fileYuri Kunde Schlesner
Now that HandleTable doesn't directly depend on WaitObject anymore, this can be separated from the main kernel.h header.
2017-05-29Kernel: Removed HandleTable::GetWaitObjectYuri Kunde Schlesner
This isn't necessary anymore since plain Get works correctly for WaitObjects.
2017-05-29Kernel: Extract dynamic Object pointer cast into its own functionYuri Kunde Schlesner
2017-05-27Remove some unnecessary inclusions of video_core.hYuri Kunde Schlesner
2017-05-27Core: Fix some out-of-style includesYuri Kunde Schlesner
2017-05-27fixup!cam: use IPCHelperwwylele
2017-05-24FS: Remove unused result definitionYuri Kunde Schlesner
2017-05-24Kernel: Centralize error definitions in errors.hYuri Kunde Schlesner
2017-05-24GSP_GPU: Move error codes from result.h to local fileYuri Kunde Schlesner
2017-05-24FileSys: Move all result description to errors.hYuri Kunde Schlesner
2017-05-24result: Make error description a generic integerYuri Kunde Schlesner
It is now known that result code description vary depending on the module, and so they're best defined on a per-module basis. To support this, allow passing in an arbitrary integer instead of limiting to the ones in the ErrorDescription enum. These will be gradually migrated to their individual users, but a few will be kept as "common" codes shared by all modules.
2017-05-24Make BitField and ResultCode constexpr-initializableYuri Kunde Schlesner
2017-05-24cam: move u32->u8 trancation to IPCHelperwwylele
2017-05-24cam: use IPCHelperwwylele
2017-05-21Merge pull request #2406 from Subv/session_disconnectYuri Kunde Schlesner
Kernel: Properly update port counters on session disconnection.
2017-05-21Kernel/Sessions: Remove the ClientSession::Create function.Subv
It is not meant to be used by anything other than CreateSessionPair.
2017-05-19Merge pull request #2661 from Subv/uds5bunnei
Services/UDS: Generate 802.11 beacon frames when a network is open.
2017-05-19use IPCHelper for PTM servicesemmaus
2017-05-15Services/UDS: Use the new IPC helper functions.Subv
2017-05-15Services/UDS: Implement RecvBeaconBroadcastData.Subv
This allows the applications to retrieve 802.11 beacon frames from nearby UDS networks. Note that the networks are still not announced anywhere.
2017-05-15Services/UDS: Generate the UDS beacons when the beacon callback fires.Subv
2017-05-15Kernel: Remove a now unused enum and variable regarding a session's status.Subv
2017-05-15Kernel: Use a Session object to keep track of the status of a Client/Server ↵Subv
session pair. Reduce the associated port's connection count when a ServerSession is destroyed.
2017-05-14Merge pull request #2687 from yuriks/address-mappingsYuri Kunde Schlesner
Kernel: Map special regions according to ExHeader
2017-05-10Merge pull request #2676 from wwylele/irrstbunnei
ir: implement new 3ds HID via ir:rst
2017-05-09Kernel: Map special regions according to ExHeaderYuri Kunde Schlesner
This replaces the hardcoded VRAM/DSP mappings with ones made based on the ExHeader ARM11 Kernel caps list. While this has no visible effect for most applications (since they use a standard set of mappings) it does improve support for system modules and n3DS exclusives.
2017-05-09DSP: Create backing memory for entire DSP RAMYuri Kunde Schlesner
Also move address space mapping out of video_core.
2017-05-07Remove ability to load symbol mapsYuri Kunde Schlesner
This was now mostly unused except by thread creation, which used a symbol of the entrypoint, if available, to name the thread.
2017-05-07fixup!ir: implement new 3ds HID via ir:rstwwylele
2017-05-05Create a random console_unique_id (#2668)B3n30
* Create a random console_id when config save_file is created Added button in system config to refresh the console unique id * Moved the connect for the button from .ui file to constructor of ConfigureSystem * Added warning and info dialog Fixup: Make use of qt5 style connects, renamed the refresh button, removed some duplicate code, changed random device and moved all to the generate function * Changed the random generator to reflect what a real 3DS stores as console unique id Fixup: Changed the warning message * Fixup: Set and Create * Fixup: Added console id label, therfore removed second message box * Fixup: fixed the endianess * Fixup: more endianness fixes * Fixup: Endianness the 3rd