aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
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-27CMake: Correct inter-module dependencies and library visibilityYuri Kunde Schlesner
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.
2017-05-27Remove some unnecessary inclusions of video_core.hYuri Kunde Schlesner
2017-05-27Move screen size constants from video_core to coreYuri Kunde Schlesner
video_core didn't even properly use them, and they were the source of many otherwise-unnecessary dependencies from core to video_core.
2017-05-27Core: Fix some out-of-style includesYuri Kunde Schlesner
2017-05-27Move framebuffer_layout from Common to CoreYuri Kunde Schlesner
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.
2017-05-26Merge pull request #2716 from yuriks/decentralized-resultbunnei
Decentralize ResultCode
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-24telemetry: Log a few simple data fields throughout core.bunnei
2017-05-24core: Keep track of telemetry for the current emulation session.bunnei
2017-05-22Merge pull request #2692 from Subv/vfp_ftzSebastian Valle
Dyncom/VFP: Convert denormal outputs into 0 when the FTZ flag is enabled.
2017-05-21Merge pull request #2406 from Subv/session_disconnectYuri Kunde Schlesner
Kernel: Properly update port counters on session disconnection.
2017-05-21fixup! Dyncom/VFP: Convert denormal outputs into 0 when the FTZ flag is enabled.Subv
2017-05-21Kernel/Sessions: Remove the ClientSession::Create function.Subv
It is not meant to be used by anything other than CreateSessionPair.
2017-05-22Merge pull request #2694 from Subv/vfp_vsub_ftzMerry
Dyncom/VFP: Perform flush-to-zero on the second operand of vsub before sending it to vadd.
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-13Dyncom/VFP: Perform flush-to-zero on the second operand of vsub before ↵Subv
sending it to vadd. Previously we were letting vadd flush the value to positive 0, but there are cases where this behavior is wrong, for example, vsub: -0 - +0 = -0 vadd: -0 + +0 = +0 Now we'll flush the value to +0 inside vsub, and then negate it.
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-09Memory: Add constants for the n3DS additional RAMYuri Kunde Schlesner
This is 4MB of extra, separate memory that was added on the New 3DS.
2017-05-08Merge pull request #2696 from Subv/vfp_revertYuri Kunde Schlesner
Dyncom/VFP: Revert edf30d8 and fix the FPSCR getting invalid values.
2017-05-09Dyncom/VFP: Strip the VFP_NAN_FLAG sentinel value when setting vfp exceptions.Subv
2017-05-09Revert "Remove `exceptions` parameter from `normaliseround` VFP functions"Subv
This reverts commit edf30d84cc0e8299d61c98f5bb40a6428d1576bc. Conflicts: src/core/arm/skyeye_common/vfp/vfp_helper.h src/core/arm/skyeye_common/vfp/vfpdouble.cpp src/core/arm/skyeye_common/vfp/vfpsingle.cpp
2017-05-08Dyncom/VFP: Convert denormal outputs into 0 when the FTZ flag is enabled.Subv
Inputs are still not flushed to 0 if they are denormals.
2017-05-07Dyncom: Remove disassembler codeYuri Kunde Schlesner
Had licensing issue around it, in addition to several bugs. Closes #1632, #1280
2017-05-07Dyncom: Tweak types and log formattingYuri Kunde Schlesner
2017-05-07Remove unused symbols codeYuri Kunde Schlesner
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
2017-05-04ir: implement new 3ds HID via ir:rstwwylele
2017-05-03Merge pull request #2606 from wwylele/irbunnei
ir: implement circle pad pro
2017-05-03ir: implement circle pad prowwylele
2017-04-18Merge pull request #2532 from wwylele/ldrro-ipcYuri Kunde Schlesner
ldr_ro: use IPC helper
2017-04-17ldr_ro: use IPC helperwwylele