summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/apt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* hle: Remove a large amount of 3ds-specific service code.bunnei2017-10-1010-2266/+0
|
* Merge remote-tracking branch 'upstream/master' into nxbunnei2017-10-103-217/+540
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/core/CMakeLists.txt # src/core/arm/dynarmic/arm_dynarmic.cpp # src/core/arm/dyncom/arm_dyncom.cpp # src/core/hle/kernel/process.cpp # src/core/hle/kernel/thread.cpp # src/core/hle/kernel/thread.h # src/core/hle/kernel/vm_manager.cpp # src/core/loader/3dsx.cpp # src/core/loader/elf.cpp # src/core/loader/ncch.cpp # src/core/memory.cpp # src/core/memory.h # src/core/memory_setup.h
| * Merge pull request #2953 from Subv/applet_launchSebastian Valle2017-10-042-30/+47
| |\ | | | | | | HLE/APT: Always set up the APT parameter when starting a library applet.
| | * HLE/APT: Always set up the APT parameter when starting a library applet.Subv2017-09-262-30/+47
| | | | | | | | | | | | | | | | | | | | | | | | Only use the HLE interface if an HLE applet with the desired id was started. This commit reorganizes the APT code surrounding parameter creation and delivery to make it easier to support LLE applets in the future. As future work, the HLE applet interface can be reworked to utilize the same facilities as the LLE interface.
| * | Merge pull request #2946 from Subv/home_menu_aptSebastian Valle2017-09-303-8/+45
| |\ \ | | | | | | | | Implement PrepareToStartNewestHomeMenu and fixed an APT regression.
| | * | HLE/APT: Always return an error from PrepareToStartNewestHomeMenu so that the Home Menu doesn't try to reboot the system.Subv2017-09-243-2/+26
| | | | | | | | | | | | | | | | | | | | As per 3dbrew: "During Home Menu start-up it uses APT:PrepareToStartNewestHomeMenu. If that doesn't return an error(normally NS returns 0xC8A0CFFC for that), Home Menu starts a hardware reboot with APT:StartNewestHomeMenu etc. "
| | * | HLE/APT: Prepare the APT Wakeup parameter when the game calls InitializeSubv2017-09-241-6/+19
| | |/ | | | | | | | | | | | | We need to know what is being run so we can set the APT parameter destination AppId correctly. Delaying the preparation of the parameter until we know which AppId is running lets us support booting both the Home Menu and normal game Applications.
| * / Fixed type conversion ambiguityHuw Pascoe2017-09-301-2/+2
| |/
| * APT: load different shared font depending on the regionwwylele2017-09-031-134/+152
| |
| * Services/APT: Use the AppletAttributes union directly when dealing with applet attrs.Subv2017-08-071-19/+15
| |
| * Services/APT: Use an array to hold data about the 4 possible concurrent applet types (Application, Library, HomeMenu, System).Subv2017-08-072-35/+204
| | | | | | | | This gives each applet type its own set of events as per the real NS module.
| * telemetry: Add field for RequiresSharedFont.bunnei2017-08-041-0/+4
| |
| * Merge pull request #2840 from Subv/apt_parameterbunnei2017-07-272-33/+105
|/| | | | | Services/APT: Corrected the behavior of the Receive/Send/Glance/CancelParameter functions
| * Service/APT: Log Send/Cancel/Receive/GlanceParameter calls even if they return an error.Subv2017-07-211-7/+9
| |
| * Services/APT: Return the proper error code when calling SendParameter with an outstanding parameter already in memory.Subv2017-07-212-4/+17
| |
| * Services/APT: Reset the APT parameter inside CancelParameter if the conditions are met.Subv2017-07-211-6/+23
| |
| * Services/APT: Properly clear the apt parameter after a successful ReceiveParameter call.Subv2017-07-211-2/+8
| |
| * Services/APT: Use the right error codes in ReceiveParameter and GlanceParameter when the parameter doesn't exist.Subv2017-07-211-0/+28
| |
| * Services/APT: Use boost::optional for the APT parameter structure.Subv2017-07-211-20/+26
| |
* | Merge pull request #2799 from yuriks/virtual-cached-range-flushWeiyi Wang2017-07-221-1/+1
|\ \ | |/ |/| Add address conversion functions returning optional, Add function to flush virtual region from rasterizer cache
| * Memory: Make PhysicalToVirtualAddress return a boost::optionalYuri Kunde Schlesner2017-06-221-1/+1
| | | | | | | | And fix a few places in the code to take advantage of that.
* | apt: load shared font from system archivewwylele2017-06-261-20/+134
| |
* | apt/shared_font: don't relocate zero offsetwwylele2017-06-251-2/+4
|/
* ResultVal: Remove MoveFrom()Yuri Kunde Schlesner2017-06-191-6/+6
| | | | | Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue.
* Created a whitelist of system archives to prevent false positives creating dialogs.TheKoopaKingdom2017-06-031-3/+2
|
* Added system for handling core errors in citra-qt.TheKoopaKingdom2017-06-031-2/+5
|
* Kernel: Move HandleTable to a separate fileYuri Kunde Schlesner2017-05-301-0/+2
|
* Merge pull request #2533 from Lectem/apt_ipchelperbunnei2017-04-061-199/+245
|\ | | | | IpcHelper enhancement and APT refactor
| * hopefully fix clang-format issues with old versionLectem2017-03-201-3/+2
| |
| * address more commentsLectem2017-03-191-20/+20
| |
| * Cast size_t to u32 for PushStaticBuffer usagesLectem2017-03-181-2/+2
| |
| * IPCHelper Skip method + address comments for aptLectem2017-03-181-36/+38
| |
| * fix #2560 and other commentsLectem2017-03-181-19/+19
| |
| * refactor APT service to use the new IPC helpersLectem2017-03-181-191/+236
| |
* | apt: fix RequestBuilder parameters for Unwrapwwylele2017-03-181-1/+1
|/
* APT: implement Wrap and Unwrapwwylele2017-02-215-6/+149
|
* Merge pull request #2249 from Subv/sessions_v3Yuri Kunde Schlesner2016-12-154-3/+6
|\ | | | | Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication.
| * Fixed the codestyle to match our clang-format rules.Subv2016-12-141-1/+2
| |
| * HLE: Use a member variable instead of a virtual function to retrieve the max number of sessions that can be connected to an HLE service at the same time.Subv2016-12-054-3/+5
| |
* | APT::GetStartupArgument: force clear startup argumentmailwl2016-12-112-5/+11
| |
* | apt: Update apt function tablesLioncash2016-12-082-7/+73
|/ | | | Updated based off information from 3dbrew.
* Bravely Default/Second stuck #1822 (#2188)pippo29312016-11-244-2/+22
| | | | | | | | | | | | | | | * Bravely Default/Second stuck #1822 CancelLibraryApplet stub * Log parameter. * Taking care of comments * Sync with 3DBrew * White space ? * lower case
* APT/Applets: Renamed the members of the SignalType enum.Subv2016-11-192-7/+18
| | | | Names now make sense and match 3dbrew.
* Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner2016-09-214-4/+4
|
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-213-9/+5
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner2016-09-195-18/+17
|
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-185-311/+337
|
* Merge pull request #2023 from yuriks/autobase-bcfntbunnei2016-08-303-30/+68
|\ | | | | Auto-detect original shared_font.bin memory base
| * Auto-detect original shared_font.bin memory baseYuri Kunde Schlesner2016-08-273-30/+68
| | | | | | | | | | This allows a file dumped from either an o3DS or a n3DS (and potentially even an original unrebased file) to be used.
* | fix #1942 and adds a few IPC functions for descriptorsLectem2016-08-021-2/+2
|/
* Merge pull request #1950 from JamePeng/fix-apt-0x0055004-and-0x00560000bunnei2016-07-295-22/+31
|\ | | | | Correct APT::0x00550040 and APT::0x00560000 function
| * Correct APT::0x00550040 and APT::0x00560000 functionJamePeng2016-07-155-22/+31
| |
* | Instead of segfaulting, log an error to remind the user to dump the shared font fileHenrik Rydgard2016-07-281-0/+7
|/
* HLE/Applets: Implement ErrEula appletmailwl2016-07-041-0/+8
|
* Merge pull request #1692 from Subv/rm_getpointer2bunnei2016-05-302-16/+15
|\ | | | | Memory: Remove most usages of GetPointer
| * APT: Remove use of Memory::GetPointerMerryMage2016-05-212-16/+15
| |
* | Merge pull request #1520 from JamePeng/checknew3dsbunnei2016-05-245-7/+110
|\ \ | |/ |/| Implement CheckNew3DS and CheckNew3DSApp
| * Implement CheckNew3DS and CheckNew3DSAppJamePeng2016-04-205-7/+110
| | | | | | | | | | | | Append an item[is_new3ds] to config file[System] group Implement APT::SetNSStateField,it will update the unknown NS_state_field
* | APT: Move the shared font loading and relocation functions to their own subdirectory services/apt/bcfnt.Subv2016-05-133-66/+165
| |
* | APT: Implement relocating the shared font to its true address.Subv2016-05-131-9/+74
| |
* | Kernel/SharedMemory: Properly implemented shared memory support.Subv2016-05-131-26/+12
| | | | | | | | | | | | | | Applications can request the kernel to allocate a piece of the linear heap for them when creating a shared memory object. Shared memory areas are now properly mapped into the target processes when calling svcMapMemoryBlock. Removed the APT Shared Font hack as it is no longer needed.
* | HLE/Applets: Use the correct size for the framebuffer SharedMemory in the swkbd and MiiSelector applets.Subv2016-05-071-0/+15
|/
* append SetAppCpuTimeLimit and GetAppCpuTimeLimit to APT:AJamePeng2016-04-063-13/+16
|
* implement APT::GetStartupArgumentJamePeng2016-04-045-2/+37
|
* Append the missing function name"GetAppletInfo" to APT:AJamePeng2016-04-041-1/+2
|
* svc: Move ResetType enum to the kernel event headerLioncash2016-03-131-2/+2
|
* svc: Make ResetType an enum classLioncash2016-03-121-2/+2
|
* Merge pull request #1266 from Subv/miiappletbunnei2016-03-123-2/+36
|\ | | | | HLE/Applets: Implemented a dummy Mii Selector applet.
| * HLE/Applets: Implemented a dummy Mii Selector applet.Subv2016-03-123-2/+36
| | | | | | | | This prevents some games (like Super Mario 3D Land) from freezing when trying to launch it, however, it's not complete and won't let you go past Mii selection as the parameter structure hasn't been reverse engineered yet.
* | services: Get rid of unnecessary includesLioncash2016-02-024-8/+0
| |
* | services: Update some function tablesLioncash2015-12-302-0/+12
|/
* Core: Improve APT Shared Font hackYuri Kunde Schlesner2015-08-271-2/+2
| | | | Should fix invalid read loops in some games
* APT: Adjust shared font hack so it works with the new linear heap codeYuri Kunde Schlesner2015-08-161-10/+11
|
* Service/APT: Fixed a regression, PreloadLibraryApplet should also start an applet when called.Subv2015-07-245-4/+35
|
* Service/APT: Return proper parameters in GetLockHandle.Subv2015-07-242-14/+37
| | | | | Documented some APT functions This allows applets to boot.
* Ensure all kernel objects are released during shutdownYuri Kunde Schlesner2015-07-171-0/+3
| | | | | | | | This commit fixes several kernel object leaks. The most severe of them was threads not being removed from the private handle table used for CoreTiming events. This resulted in Threads never being released, which in turn held references to Process, causing CodeSets to never be freed when loading other applications.
* Core: Fix applet includes using iwyu.Emmanuel Gil Peyrot2015-07-121-3/+6
|
* Applets: Reworked how the Applet update event is handled.Subv2015-07-122-3/+3
| | | | Applets are now cleaned up in AppletUpdateEvent after calling their respective Update method.
* Applets: Add infrastructure to allow custom drawing and input handling in Applets.Subv2015-07-121-18/+27
|
* HLE/APT: Initial HLE support for applets.Subv2015-07-124-50/+173
| | | | Currently only the SWKBD is emulated, and there's currently no way to ask the user for input, so it always returns "Subv" as the text.
* Add helpers to create IPC command buffer headers and descriptorsYuri Kunde Schlesner2015-06-231-2/+4
|
* Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot2015-05-292-6/+6
|
* APT/FS: Remove asserts that were causing false positivespurpasmart962015-05-161-2/+0
|
* Kernel: Capture SharedMemory attributes at creation, not when mappingYuri Kunde Schlesner2015-05-111-1/+3
|
* Common: Remove common.hYuri Kunde Schlesner2015-05-073-4/+2
|
* Services: Initialize all state variables at bootup.bunnei2015-05-021-6/+11
|
* APT: (Subv) Fix bug where start event was being incorrectly signaled.bunnei2015-04-101-6/+7
|
* Services: Stubs and minor changespurpasmart962015-04-033-27/+102
|
* Services: Moved the PTM and APT services to their own folderSubv2015-03-048-0/+827
This coincidentally fixes an issue about the PTM service failing to create its SharedExtSaveData archive due to the FS service not being initialized by the time the creating code runs. Ideally I'd like to move each process to its own folder, and have a single file per process that registers the service classes, which would be in their own files inside that folder. Then each service class would just call functions from the process to complete the commands.