summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Kernel: Start using boost::intrusive_ptr for lifetime managementYuri Kunde Schlesner2015-01-091-1/+2
|
* Move ThreadContext to core/core.h and deal with the falloutYuri Kunde Schlesner2015-01-091-0/+1
|
* Merge pull request #404 from bunnei/more-frame-synch-fixesbunnei2015-01-081-1/+4
|\ | | | | GPU: Toggle active framebuffer each frame
| * GSP: Toggle active framebuffer each framebunnei2015-01-081-1/+4
| |
* | Fix double-free in Service manager during shutdownYuri Kunde Schlesner2015-01-072-25/+4
| | | | | | | | Fixes #423.
* | Merge pull request #376 from Subv/arc_reorderbunnei2015-01-074-18/+23
|\ \ | |/ |/| Archives: Change the folder layout of some archives.
| * Archives: Changed the unimplemented archives comment.Subv2015-01-061-1/+1
| | | | | | | | It now refers to me as the PoC
| * Archives: Addressed some commentsSubv2015-01-061-2/+2
| |
| * Archives: Make SYSTEM_ID and SDCARD_ID stringsSubv2015-01-042-4/+4
| |
| * Archives: Changed the way paths are built for the archives.Subv2015-01-044-15/+20
| | | | | | | | Each archive now takes a mount point of either NAND or SDMC, and builds its own directory structure there, trying to simulate an HLE-friendly hardware layout
| * Archives: Change the folder layout of some archives.Subv2015-01-032-2/+2
| | | | | | | | This is to better represent the hardware layout, they are still aren't quite accurate, but this better and will help a bit when implementing the other archives like NAND-RO and NAND-RW
* | Merge pull request #413 from purpasmart96/serv_cleanbunnei2015-01-067-33/+36
|\ \ | | | | | | Services: Clean up a few things and add a few function names
| * | Services: Clean up a few things and add a few function namespurpasmart962015-01-067-33/+36
| | |
* | | Merge pull request #272 from rohit-n/sign-comparebunnei2015-01-061-4/+4
|\ \ \ | | | | | | | | Silence some -Wsign-compare warnings.
| * | | Silence some -Wsign-compare warnings.Rohit Nirmal2015-01-011-4/+4
| |/ /
* | | DSP: Signal (faked) interrupt on every frame.bunnei2015-01-052-4/+21
| | | | | | | | | | | | - Hack to work around games checking that the DSP event has been signaled by a real DSP interrupt.
* | | Merge pull request #386 from archshift/y2rubunnei2015-01-053-0/+70
|\ \ \ | |_|/ |/| | Stub the y2r:u service
| * | Stub the y2r:u servicearchshift2015-01-033-0/+70
| |/
* | Archives: Reduced duplicate code in RomFS and SaveCheck.Subv2015-01-032-4/+5
| | | | | | | | Fixed a few warnings and cleaned up the code
* | SaveDataCheck: Preliminary work in this archive.Subv2015-01-032-3/+35
| | | | | | | | | | | | This allows Steel Diver to boot further, some files are needed. This is still not ready and needs a big cleanup, this will possibly be delayed until the way we handle archives is fixed (with factory classes instead of ahead-of-time creation of archives)
* | Merge pull request #391 from lioncash/pedanticbunnei2015-01-031-3/+3
|\ \ | | | | | | archive/elf: Minor misc changes.
| * | archive: Fix initializer list orderLioncash2015-01-031-3/+3
| |/
* / soc_u: Fix a missing formatting argumentLioncash2015-01-031-1/+1
|/
* SOC_U: Preliminary implementation of sockets.Subv2014-12-312-21/+701
| | | | | | | | | | | | | Stubbed CreateMemoryBlock Using Berkeley sockets, and Winsock2.2 on Windows. So far ftpony creates the socket and accepts incoming connections SOC_U: Renamed functions to maintain consistency Also prevents possible scope errors / conflicts with the actual Berkeley socket functions SOCU: Close all the opened sockets when cleaning up SOCU
* APT:A: Some style changesSubv2014-12-301-12/+12
|
* Archives: Implemented ExtSaveData and SharedExtSaveDataSubv2014-12-305-45/+94
| | | | | | | | They will be stored in /extsavedata/SDMC and /extsavedata/NAND respectively. Also redirect some APT_A functions to their APT_U equivalents. Implemented the gamecoin.dat file in SharedExtSaveData in the PTM module. Implemented formatting the savegame. Retake a previous savegame if it exists instead of reporting them as not formatted every time a game is loaded.
* Kernel: New handle managerYuri Kunde Schlesner2014-12-283-7/+11
| | | | | | | | | | | This handle manager more closely mirrors the behaviour of the CTR-OS one. In addition object ref-counts and support for DuplicateHandle have been added. Note that support for DuplicateHandle is still experimental, since parts of the kernel still use Handles internally, which will likely cause troubles if two different handles to the same object are used to e.g. wait on a synchronization primitive.
* Rename ObjectPool to HandleTableYuri Kunde Schlesner2014-12-283-8/+8
|
* Merge pull request #330 from purpasmart96/new_srvbunnei2014-12-2660-305/+355
|\ | | | | More services & small clean ups
| * More services & small clean upspurpasmart962014-12-2660-305/+355
| |
* | Stubbed IsSdmcWriteable to always return writeable.archshift2014-12-241-1/+18
| |
* | Merge pull request #322 from chinhodado/masterbunnei2014-12-221-2/+2
|\ \ | |/ |/| More warning cleanups
| * More warning cleanupsChin2014-12-211-2/+2
| |
* | CFG: Fixed some warnings and errors in ClangSubv2014-12-222-4/+4
| |
* | CFG: More style changesSubv2014-12-221-5/+5
| |
* | CFGU: IndentationSubv2014-12-211-4/+3
| |
* | CFG: Some indentationSubv2014-12-211-11/+13
| |
* | CFG: Changed the CreateConfigInfoBlk search loopSubv2014-12-211-7/+4
| |
* | CFG: Corrected the licenses in cfg_i.cpp and cfg_u.cppSubv2014-12-212-2/+2
| |
* | CFG: Create a new subfolder cfg inside service to handle cfgSubv2014-12-218-485/+607
| | | | | | | | Moved most of the shared CFG code there, implemented a few CFG:I functions
* | CFGU: Some changesSubv2014-12-211-12/+33
| |
* | CFGU: Addressed some issues.Subv2014-12-211-43/+55
| |
* | CFGU: Addressed some comments.Subv2014-12-211-11/+13
| |
* | Style: Addressed some commentsSubv2014-12-211-4/+5
| |
* | CFG_U: Use Common::make_unique instead of the std versionSubv2014-12-211-1/+2
| |
* | CFG:U: Implemented some more blocksSubv2014-12-211-4/+30
| |
* | CFG: Implemented block 0x00070001 in the config savefileSubv2014-12-211-0/+5
| |
* | CFGU: Use an absolute offset in the config savefile blocksSubv2014-12-211-1/+3
| |
* | CFG: Load the Config savedata file if it already exists.Subv2014-12-211-3/+4
| |
* | CFGU: Added block 0x000A0002 to the default savegame fileSubv2014-12-211-0/+18
| | | | | | | | That's the language id block, we're using LANGUAGE_EN for now. This block allows some games to boot further
* | CFG: Refactored how the config file works.Subv2014-12-211-55/+126
| | | | | | | | It is now kept in memory as per 3dbrew, all updates happen on memory, then they can be saved using UpdateConfigNANDSavegame.
* | CFG:U: Add some data to the 0x00050005 config block.Subv2014-12-211-6/+11
| | | | | | | | Seems to allow some games to boot further, thanks @Normmatt for sharing this information
* | CFG: Implemented the GetConfigInfoBlk2 function.Subv2014-12-212-12/+188
| | | | | | | | | | | | Added a "config" file to the CFG process service (CFG:U), and added a few default blocks to it. Implemented GetSystemModel and GetModelNintendo2DS
* | Merge pull request #291 from purpasmart96/licensebunnei2014-12-2158-59/+59
|\ \ | | | | | | License change
| * | License changepurpasmart962014-12-2158-59/+59
| | |
* | | Added CreateFile to the FS_USER servicearchshift2014-12-213-1/+47
| |/ |/| | | | | Tested with hwtests.
* | Common: Add a clone of std::make_uniqueYuri Kunde Schlesner2014-12-201-6/+7
| |
* | Merge pull request #306 from Subv/even_more_savedatabunnei2014-12-201-2/+31
|\ \ | | | | | | SaveData: Added some documentation to FormatSaveData
| * | FS_U: Added the command to the docs of SaveData functionsSubv2014-12-201-0/+2
| | |
| * | SaveData: Added some documentation to FormatSaveDataSubv2014-12-181-2/+29
| | | | | | | | | | | | | | | We still don't know what the other parameters do, but they appear to be very similar to those of FormatThisUserSaveData. Most likely FormatThisUserSaveData is just an alias for FormatSaveData with LowPathType Empty
* | | Merge pull request #302 from purpasmart96/flushshutupbunnei2014-12-191-1/+25
|\ \ \ | |_|/ |/| | GSP_GPU: Shut up FlushDataCache
| * | GSP_GPU: Shut up FlushDataCachepurpasmart962014-12-191-1/+25
| |/
* | SystemSaveData: Fixed a typo that was segfaultingSubv2014-12-191-1/+1
| |
* | SaveData: Implemented the SystemSaveData archive.Subv2014-12-181-0/+9
|/ | | | It will be stored in the /syssavedata folder. This archive is user by various Services and possibly games via the FS:U service.
* Filesystem/Archives: Implemented the SaveData archiveSubv2014-12-183-13/+86
| | | | | | | | | | The savedata for each game is stored in /savedata/<ProgramID> for NCCH files. ELF files and 3DSX files use the folder 0 because they have no ID information Got rid of the code duplication in File and Directory Files that deal with the host machine's file system now live in DiskFile, similarly for directories and DiskDirectory and archives with DiskArchive. FS_U: Use the correct error code when a file wasn't found
* Comment out empty arrays causing compile errors in MSVCYuri Kunde Schlesner2014-12-162-6/+8
|
* Merge pull request #283 from yuriks/archive-refactorbunnei2014-12-165-59/+598
|\ | | | | Archive refactor
| * Work around libstdc++'s lack of support for std::hash on enumsYuri Kunde Schlesner2014-12-161-0/+15
| |
| * FS.Archive: Clean up treatment of archives and their handlesYuri Kunde Schlesner2014-12-163-196/+175
| | | | | | | | | | | | | | - Refactor FS::Archive internals to make Archive creation and lifetime management clearer. - Remove the "Archive as a File" hack. - Implement 64-bit Archive handles.
| * Service.FS: Rename FileSys::File to FileBackendYuri Kunde Schlesner2014-12-161-1/+1
| |
| * Service.FS: Rename FileSys::Directory to DirectoryBackendYuri Kunde Schlesner2014-12-161-2/+2
| |
| * Service.FS: Rename FileSys::Archive to ArchiveBackendYuri Kunde Schlesner2014-12-162-5/+5
| |
| * Service.FS: Do archive registration using IdCode instead of nameYuri Kunde Schlesner2014-12-163-16/+27
| |
| * HLE: Rename namespaces to match move & fix initialization orderYuri Kunde Schlesner2014-12-165-31/+33
| |
| * HLE: Move kernel/archive.* to service/fs/Yuri Kunde Schlesner2014-12-165-4/+536
| |
* | Merge pull request #282 from archshift/servicesbunnei2014-12-169-0/+221
|\ \ | |/ |/| Added stubs for ldr:ro, cecd:u, nim:aoc, and am:app services
| * Added stub for nim:aoc service...archshift2014-12-163-0/+60
| |
| * Added stub for cecd:u service...archshift2014-12-163-0/+52
| | | | | | | | I couldn't find any information about this service...
| * Added stub for ldr:ro service...archshift2014-12-163-0/+57
| |
| * Added am:app service stub.archshift2014-12-163-0/+52
| | | | | | | | Apparently nothing at all is known about this service...
* | Remove SyncRequest from K::Object and create a new K::Session typeYuri Kunde Schlesner2014-12-1510-59/+49
|/ | | | | | | This is a first step at fixing the conceptual insanity that is our handling of service and IPC calls. For now, interfaces still directly derived from Session because we don't have the infrastructure to do it properly. (That is, Processes and scheduling them.)
* Convert old logging calls to new logging macrosYuri Kunde Schlesner2014-12-1311-84/+60
|
* Merge pull request #267 from bunnei/apt-shared-fontbunnei2014-12-131-34/+100
|\ | | | | APT shared font loading
| * APT_U: Added GetSharedFont service function.bunnei2014-12-131-34/+100
| |
* | DSP: Added stub for ReadPipeIfPossible.bunnei2014-12-121-1/+45
|/
* CFG:U: Store country codes as u16 instead of char pointers, and return the correct error in GetCountryCodeID.Emmanuel Gil Peyrot2014-12-101-44/+48
|
* GSP: Trigger GPU interrupts at more accurate locations.bunnei2014-12-101-7/+6
|
* GSP: Updated TriggerCmdReqQueue to return success code.bunnei2014-12-101-0/+3
|
* GSP: Updated RegisterInterruptRelayQueue to return expected magic number.bunnei2014-12-101-1/+4
|
* GPU: Fixed bug in command list size decoding.bunnei2014-12-101-1/+1
|
* Merge pull request #217 from archshift/cmd_buffbunnei2014-12-091-12/+12
|\ | | | | Log the cmd_buff arguments when citra comes across an unimplemented function
| * Log the cmd_buff arguments when citra comes across an unimplemented functionarchshift2014-11-251-12/+12
| |
* | Merge pull request #222 from archshift/renamexyzbunnei2014-12-051-5/+89
|\ \ | | | | | | Implemented RenameFile and RenameDirectory in FS:USER
| * | Updated archive.cpp functions for proper error handlingarchshift2014-12-041-5/+5
| | |
| * | Implemented RenameDirectory in FS:USERarchshift2014-11-251-1/+43
| | |
| * | Implemented RenameFile in FS:USERarchshift2014-11-251-1/+43
| |/
* | Merge pull request #247 from lioncash/constbunnei2014-12-042-4/+4
|\ \ | | | | | | hid_user: Pass by reference with PadButtonPress/PadButtonRelease
| * | hid_user: Pass by reference with PadButtonPress/PadButtonReleaseLioncash2014-12-042-4/+4
| | |
* | | Merge pull request #238 from archshift/dspbunnei2014-12-041-25/+44
|\ \ \ | | | | | | | | Add stub for ConvertProcessFromDspDram
| * | | Add stub for ConvertProcessFromDspDramarchshift2014-12-041-25/+44
| | | | | | | | | | | | | | | | Should theoretically push retail stuff further along
* | | | PTM_U: Added a stub for GetBatteryLevel & GetBatteryChargeState & GetAdapterStatepurpasmart962014-12-041-3/+72
| |/ / |/| |
* | | Merge pull request #231 from purpasmart96/serv_ac_wifi_statusbunnei2014-12-031-1/+19
|\ \ \ | | | | | | | | AC_U: Added a stub for GetWifiStatus
| * | | AC_U: Added a stub for GetWifiStatuspurpasmart962014-12-031-1/+19
| | |/ | |/|
* | | Merge pull request #219 from Subv/ptmbunnei2014-12-031-1/+18
|\ \ \ | |_|/ |/| | PTM_U: Implemented the GetShellState function.
| * | PTM_U: Implemented the GetShellState function.Subv2014-12-011-1/+18
| | |
* | | Merge pull request #224 from bunnei/dsp-service-improvementsbunnei2014-12-012-26/+107
|\ \ \ | | | | | | | | Dsp service improvements
| * | | DSP: Added stubs for several commonly used DSP service functions.bunnei2014-12-011-25/+106
| | | |
| * | | DSP: Fixed typo in port name.bunnei2014-12-011-1/+1
| | |/ | |/|
* | | CFG:U: Implemented the GetCountryCodeID and GetCountryCodeString.Subv2014-11-301-2/+86
| | |
* | | Fixed formatting and switch statement warningsvaguilar2014-11-271-3/+3
|/ /
* | Remove duplicated docs/update them for changed parameters.Yuri Kunde Schlesner2014-11-241-10/+0
| |
* | HLE: Revamp error handling throrough the HLE codeYuri Kunde Schlesner2014-11-246-62/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All service calls in the CTR OS return result codes indicating the success or failure of the call. Previous to this commit, Citra's HLE emulation of services and the kernel universally either ignored errors or returned dummy -1 error codes. This commit makes an initial effort to provide an infrastructure for error reporting and propagation which can be use going forward to make HLE calls accurately return errors as the original system. A few parts of the code have been updated to use the new system where applicable. One part of this effort is the definition of the `ResultCode` type, which provides facilities for constructing and parsing error codes in the structured format used by the CTR. The `ResultVal` type builds on `ResultCode` by providing a container for values returned by function that can report errors. It enforces that correct error checking will be done on function returns by preventing the use of the return value if the function returned an error code. Currently this change is mostly internal since errors are still suppressed on the ARM<->HLE border, as a temporary compatibility hack. As functionality is implemented and tested this hack can be eventually removed.
* | Merge pull request #191 from archshift/deletexyzbunnei2014-11-241-25/+67
|\ \ | |/ |/| Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.
| * Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.archshift2014-11-231-25/+67
| |
* | Add more services and some fixes, along with more "override"purpasmart962014-11-2125-17/+452
| | | | | | | | in the service's headers
* | Merge pull request #211 from linkmauve/masterbunnei2014-11-1911-21/+21
|\ \ | | | | | | Remove trailing spaces from the entire project
| * | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot2014-11-1911-21/+21
| | |
* | | Add static to some variablesLioncash2014-11-191-1/+1
|/ /
* / core: Mark some hle functions as staticLioncash2014-11-184-20/+20
|/ | | | These functions are not referred to by their linkage name outside of the translation unit, so they can be marked as static.
* FS_User: Support FileSye::Path in a more generic way.bunnei2014-11-181-42/+65
| | | | added a todo to kernel archive
* FileSys: Updated backend code to use FileSys::Path instead of string for paths.bunnei2014-11-181-4/+4
|
* Add missing boss:U service, needed according to Nintendo Zone logs.archshift2014-11-173-0/+57
|
* Merge pull request #183 from archshift/lowpathbunnei2014-11-131-83/+81
|\ | | | | Add support for UTF-16 strings for LowPaths in FS:USER
| * Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functionsarchshift2014-11-132-138/+40
| |
| * Add support for UTF-16 strings for LowPaths in FS:USERarchshift2014-11-102-86/+182
| |
* | Merge pull request #188 from bunnei/apt-fixesbunnei2014-11-121-19/+90
|\ \ | | | | | | APT_U: Various improvements and bug fixes.
| * | APT_U: Added stub for function AppletUtility.bunnei2014-11-121-1/+29
| | |
| * | APT_U: Set a valid parameter buffer size in GlanceParameter.bunnei2014-11-121-17/+39
| | | | | | | | | | | | - Also Clarified GlanceParameter/ReceiveParameter documentation.
| * | APT_U: Release service lock on initialization.bunnei2014-11-121-0/+4
| | |
| * | APT_U: Fixes for GetLockHandle to boot system titles.bunnei2014-11-121-1/+18
| |/ | | | | | | - Also added comment to GetLockHandle function.
* / Add FRD:U service and functionsarchshift2014-11-113-0/+64
|/
* Merge pull request #163 from archshift/create-directorybunnei2014-11-021-2/+38
|\ | | | | Added CreateDirectory function to service/fs.cpp, and in Archive.
| * Added CreateDirectory function to service/fs.cpp, and in Archive.archshift2014-11-021-2/+38
| |
* | Added ReceiveNotification, PublishToSubscriber unimplemented functions to SRVarchshift2014-11-021-0/+2
|/
* Added stub err:f service.archshift2014-11-023-0/+56
|
* Added a bunch of servicespurpasmart962014-11-0117-0/+581
|
* FS:USER - Implemented IsSdmcDetectedarchshift2014-10-301-1/+17
|
* Renamed souce files of services to match port namesGareth Poole2014-10-2911-10/+10
|
* Merge pull request #141 from archshift/crash-huntbunnei2014-10-281-0/+4
|\ | | | | hid.cpp: Fixed crash when updating pad data while null
| * hid.cpp: Fixed crash when updating pad data while nullarchshift2014-10-141-0/+4
| | | | | | | | Fixes #137
* | Add `override` keyword through the code.Yuri Kunde Schlesner2014-10-267-11/+11
| | | | | | | | This was automated using `clang-modernize`.
* | Don’t fail on empty filename in OpenFileDirectly, return the archive handle insteadEmmanuel Gil Peyrot2014-10-251-8/+7
|/
* APT: Added a stub for the "GlanceParameter" function.purpasmart962014-10-081-1/+31
|
* Added some more names to the function tablepurpasmart962014-10-051-0/+2
| | | Added "SetApplicationCpuTimeLimit" and "GetApplicationCpuTimeLimit" to apt.cpp
* added "StoreDataCache" to the function tablepurpasmart962014-09-301-0/+1
| | | seems simple enough
* FS: Implement OpenArchive, OpenDirectory, OpenFile and OpenFileDirectly calls.Emmanuel Gil Peyrot2014-09-171-20/+177
|
* Added support for multiple input device types for KeyMap and connected Qt.Kevin Hartman2014-09-122-113/+127
|
* Initial HID PAD work, with GLFW only.Kevin Hartman2014-09-122-24/+197
|
* Created structure for PAD.Kevin Hartman2014-09-122-0/+28
|
* core: Prune redundant includesarchshift2014-09-095-11/+0
|
* core: Pass string by reference in FetchFromPortName and DeleteServiceLioncash2014-09-062-4/+4
|
* srv::Initialize: Return "success" status code.bunnei2014-08-281-0/+4
|
* Pica/citra-qt: Replace command list view and command list debugging code with something more sophisticated.Tony Wasserka2014-08-251-5/+0
|
* GSP: Update framebuffer information when necessary.Tony Wasserka2014-08-252-2/+41
|
* GSP: Implement SetBufferSwap.Tony Wasserka2014-08-252-1/+47
|
* GSP: Add a helper function for convenience.Tony Wasserka2014-08-251-17/+22
|
* Core: Alter the kernel string functions to use std::string instead of const char*.Lioncash2014-08-187-11/+11
| | | | Most functions already operate on std::strings. This also removes the need to manually null terminate thread names.
* Merge pull request #39 from bunnei/hid-minor-improvementsbunnei2014-08-131-5/+44
|\ | | | | Hid minor improvements
| * HID: Added new function entries from 3dbrew to FunctionTable.bunnei2014-08-131-0/+5
| | | | | | | | HID: Fix typo with DisableGyroscopeLow command.
| * HID: Implemented HID_User::GetIPCHandles service function.bunnei2014-08-081-5/+39
| |
* | Pica/GPU: Change hardware registers to use physical addresses rather than virtual ones.Tony Wasserka2014-08-121-9/+9
| | | | | | | | | | This cleans up the mess that address reading/writing had become and makes the code a *lot* more sensible. This adds a physical<->virtual address converter to mem_map.h. For further accuracy, we will want to properly extend this to support a wider range of address regions. For now, this makes simply homebrew applications work in a good manner though.
* | GSP: Fix a major regression introduced in ffda035c, due to which no display transfers were triggered at all anymore.Tony Wasserka2014-08-121-4/+13
| |
* | Remove the fancy RegisterSet class introduced in 4c2bff61e.Tony Wasserka2014-08-121-18/+18
|/ | | | | While it was some nice and fancy template usage, it ultimately had many practical issues regarding length of involved expressions under regular usage as well as common code completion tools not being able to handle the structures. Instead, we now use a more conventional approach which is a lot more clean to use.
* GSP: Cleaned up command buffer decoding.bunnei2014-08-072-61/+69
| | | | | | | | GSP: Cleaned up code and added additional comments. GSP: Removed unnecessary TODO comment. GSP: Changed u32 iterators in TriggerCmdReqQueue to unsigned.
* GSP: Added reinitialization of other state objects.bunnei2014-08-061-0/+3
|
* GSP: Removed dumb GX prefixes to functions/structs in GSP namespace.bunnei2014-08-062-77/+78
| | | | - Various other cleanups.
* GSP: Removed unnecessary GX_FinishCommand function.bunnei2014-08-061-13/+5
|
* GSP: Implements preliminary command synchronization via GPU interrupts.bunnei2014-08-062-18/+109
| | | | Core: Added a comment to explain the logic for the RunLoop iterations.
* SRV: Updated GetProcSemaphore to create an event instead of a mutex.bunnei2014-08-061-8/+10
|
* FS: Fix port name (old port name was based on an unaligned memory read).bunnei2014-08-061-1/+1
|
* GSP: Add a few comments.Tony Wasserka2014-07-232-1/+15
|
* GSP: Clean up GX command processing a lot and treat command id as a u8 rather than a u32.Tony Wasserka2014-07-232-37/+79
| | | | Anonymous structs are not standard C++, hence don't use them.
* GPU: Make use of RegisterSet.Tony Wasserka2014-07-231-21/+28
|
* GPU: Emulate memory fills.Tony Wasserka2014-07-232-1/+9
|
* GSP: HLE GXCommandId::SET_DISPLAY_TRANSFER and GXCommandId::SET_TEXTURE_COPY.Tony Wasserka2014-07-231-2/+9
|
* GSP: Implement ReadHWRegs and WriteHWRegs properly.Tony Wasserka2014-07-231-27/+46
|
* GSP: Fixed to use real shared memory object, various cleanups.bunnei2014-07-051-25/+34
| | | | | | | | - Previously, used a hard-coded shared memory handle of 0x10002000 (as used by libctru homebrew) GSP: Added name for shared memory. GSP: Cleaned up assertion message.
* FileSys: Added preliminary support for applications reading the RomFS archive.bunnei2014-07-051-3/+30
| | | | | | | | | | Archive: Fixed brace ugliness for neobrain :) FS: Commented out unused local variables to prevent warnings. ...But keeping them here for future use. archive_romfs: Removed unused #include.
* APT: Added stubbed ReceiveParameter and various cleanups.bunnei2014-07-041-71/+93
| | | | | | APT: More cleanups. APT: Changed SignalType to be type u32.
* FS: Added stubbed code to intercept and decode file system service functions.bunnei2014-06-273-0/+154
| | | | FS: Added to CMakeLists.txt
* Merge branch 'threading' of https://github.com/bunnei/citrabunnei2014-06-149-148/+271
|\ | | | | | | | | | | Conflicts: src/core/hle/function_wrappers.h src/core/hle/service/gsp.cpp
| * HLE: Updated all uses of NULL to nullptr (to be C++11 compliant)bunnei2014-06-137-118/+118
| |
| * HLE: Updated various handle debug assertions to be more clear.bunnei2014-06-131-1/+1
| |
| * Kernel: Updated several member functions to be constbunnei2014-06-131-2/+2
| |
| * service: added a error log messages for unimplemented WaitSynchronizationbunnei2014-06-051-0/+1
| |
| * svc: added optional name field to Event and Mutex (used for debugging)bunnei2014-06-032-4/+4
| |
| * gsp: always pass through synchronization barrier for commandsbunnei2014-06-011-1/+16
| |
| * hle: added stubbed service for ndm_ubunnei2014-05-302-0/+65
| |
| * service: cleaned up log messagesbunnei2014-05-301-2/+2
| |
| * service: removed PT_A from, as this was just an alias for APT_Ubunnei2014-05-301-2/+0
| |
| * srv: fix to log unimplemented service (instead of crash)bunnei2014-05-301-6/+2
| |
| * hle: cleaned up log messagesbunnei2014-05-304-11/+15
| |
| * service: added additional hack to return success on unimplemented service callsbunnei2014-05-301-2/+10
| |
| * srv: changed a NOTICE_LOG to DEBUG_LOGbunnei2014-05-301-1/+1
| |
| * apt: added stubbed function for InquireNotificationbunnei2014-05-291-78/+86
| |
| * service: changed interface to return 0 (no error) when a service method is unimplemented - hack to make apps boot furtherbunnei2014-05-291-2/+2
| |
| * APT_U: added stubbed function for APT_U::Enable, fixed some log messages to be more consistentbunnei2014-05-281-3/+10
| |
| * APT_U: added event creation to Initialize methodbunnei2014-05-281-1/+11
| |
| * kernel: added WaitSynchronization method to Kernel::Objectbunnei2014-05-271-0/+10
| |
| * kernel: updated SyncRequest to take boolean thread wait result as a parameterbunnei2014-05-271-3/+4
| |
| * service: Renamed Sync to SyncRequestbunnei2014-05-271-1/+1
| |
| * srv: added a real mutex for GetProcSemaphore (instead of stubbed)bunnei2014-05-271-3/+10
| |
| * kernel: add a SyncRequest method to KernelObject for use with svcSendSyncRequestbunnei2014-05-271-6/+0
| |
* | GPU debugger: Add functionality to inspect command lists.Tony Wasserka2014-06-121-0/+4
| |
* | GPU: Cleanup register definitions.Tony Wasserka2014-06-121-3/+3
| |
* | Rename LCD to GPU.Tony Wasserka2014-06-121-8/+8
| |
* | Add initial graphics debugger interface.Tony Wasserka2014-06-121-0/+6
| |
* | GSP: Define more GX commands.Tony Wasserka2014-06-122-14/+54
| |
* | service: fixed typo that MSVC did not catch as an errorbunnei2014-05-231-1/+1
|/
* APT_U: added a debug log on calling GetLockHandlebunnei2014-05-231-0/+1
|
* mutex: refactored the interface to code to return a Mutex* handlebunnei2014-05-211-1/+2
|
* mutex: initial commit of HLE modulebunnei2014-05-211-6/+4
|
* service: removed redundant include of common_types.hbunnei2014-05-211-1/+0
|
* renamed "syscall" module to "svc" (more accurate naming)bunnei2014-05-211-1/+1
|
* - created a Kernel namespacebunnei2014-05-212-8/+8
| | | | | - cleaned up Kernel code a bit (moved stuff into namespace, fixed whitespace issues) - added handle types for all different CTROS handles
* apt: changed stubbed handle to be something other than 0xDEADBEEF (used as a magic value in other places) so that I can track how it propagates through the app codebunnei2014-05-201-1/+1
|
* - renamed NewHandle to CreateHandlebunnei2014-05-192-8/+8
| | | | - updated CreateHandle/DeleteHandle to use KernelObject's
* - updated service(s) to be KernelObject'sbunnei2014-05-196-55/+26
| | | | - various cleanups
* renamed "UID" to "Handle" where appropriatebunnei2014-05-193-22/+20
|
* - moved Handle/Result definitions to kernel.hbunnei2014-05-193-7/+9
| | | | - added ResetType enum
* added stubbed GetProcSemaphore - does nothing but avoids an exceptionbunnei2014-05-171-1/+7
|
* updated APT_U::GetLockHandle to return a valid handlebunnei2014-05-171-1/+5
|
* removed unknown fields from GX_CmdBufferHeaderbunnei2014-05-081-5/+0
|
* - removed HLE mem "hack" and replaced with kernel mem regionbunnei2014-05-084-8/+84
| | | | | - added a helper function for getting command buffer for services - fixed bug where GSP DMA was incorrectly being done in DataSynchronizationBarrier (instead of gsp_TriggerCmdReqQueue)
* removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable classbunnei2014-04-283-9/+0
|
* fixed weird spacingbunnei2014-04-281-1/+1
|
* hackish but working way to set the framebuffer location to VRAM (used in ARM11 demos tested thus far, e.g. yeti3DS)bunnei2014-04-271-3/+9
|
* added simple GSP GPU ReadHWRegs function to support returning the framebuffer addressbunnei2014-04-261-1/+37
|
* added GSP::RegisterInterruptRelayQueue functionbunnei2014-04-251-31/+40
|
* - refactored how service functions are calledbunnei2014-04-255-19/+39
| | | | - added option to create/delete service handles
* fixed bug with printing std::string in log messagesbunnei2014-04-171-2/+2
|
* added class stub for HID:User servicebunnei2014-04-173-0/+72
|
* updated service commentsbunnei2014-04-176-5/+17
|
* - added stubbed out GSP::Gpu service interfacebunnei2014-04-167-7/+103
| | | | - various cleanups/refactors to HLE services
* removed no longer used function headerbunnei2014-04-161-2/+0
|
* restructured hle:services completely to use function lookup tablesbunnei2014-04-165-137/+215
|
* fixed naming for APT_Ubunnei2014-04-163-9/+9
|
* - extracted srv: calls from service.cpp and put in its own modulebunnei2014-04-164-106/+105
| | | | | - added function tables for service calls - lots of refactoring
* added a stub for GetLockHandlebunnei2014-04-143-9/+44
|
* added framework for APT service (application and title launching service)bunnei2014-04-134-5/+117
|
* renamed class Interface_SRV to SRVbunnei2014-04-131-6/+6
|
* added some very initial command parsing for SRV Syncbunnei2014-04-131-5/+31
|
* cleanups to service HLEbunnei2014-04-132-8/+8
|
* - added HLE to connect to "srv:" servicebunnei2014-04-132-2/+170
| | | | | | - added a manager for keeping track of services/ports - added a memory mapped region for memory accessed by HLE - added HLE for GetThreadCommandBuffer function
* - renamed hle_syscall to just syscallbunnei2014-04-121-0/+60
- added service.h as an initial service interface