summaryrefslogtreecommitdiffstats
path: root/src/core/CMakeLists.txt (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-01-30[WIP] sfdnsres: stub (#146)mailwl1-0/+1
sfdnsres: Add several stubs
2018-01-27memory: Replace all memory hooking with Special regionsMerryMage1-1/+1
2018-01-25hle: Remove Domain and SyncObject kernel objects.bunnei1-3/+0
2018-01-22VI: Move BufferQueue and NVFlinger to their own folder/namespace.Subv1-0/+4
2018-01-22Added stubs for audio services. (#116)st4rk1-0/+10
* stubs for audout:u, audin:u, audrec:u, audren:u, codecctl and decoding tables with nullptr for future implementations * fixing the changes requested (remove private, explicit)
2018-01-21Added nvmemp, Added /dev/nvhost-ctrl, SetClientPID now stores pid (#114)David1-0/+4
* Added nvmemp, Added /dev/nvhost-ctrl, SetClientPID now stores pid * used clang-format-3.9 instead * lowercase pid * Moved nvmemp handlers to cpp * Removed unnecessary logging for NvOsGetConfigU32. Cleaned up log and changed to LOG_DEBUG * using std::arrays instead of c arrays * nvhost get config now uses std::array completely * added pid logging back * updated cmakelist * missing includes * added array, removed memcpy * clang-format6.0
2018-01-21filesystem: Implement basic IStorage functionality.David Marcec1-0/+4
2018-01-21file_sys: Cleanup to better match Switch file system constructs.bunnei1-6/+8
file_sys: Add factory class for RomFS file system.
2018-01-21file_sys: Remove disk_archive, savedata_archive, and title_metadata.bunnei1-6/+0
2018-01-21file_sys: Repurpose 3DS IVFC code for Switch ROMFS.bunnei1-2/+2
2018-01-20loader: Add DeconstructedRomDirectory for game dumps.bunnei1-0/+2
2018-01-20Port citra #3352 to yuzu (#103)River City Ransomware1-3/+9
* Port citra #3352 to yuzu This change allows non x86_64 architectures to compile yuzu by skipping the building of dynarmic * Fixed clang-format errors * fixes more clang-format errors
2018-01-19acc, set, applet_oe: stub various functions, add set service (#105)goaaats1-0/+2
* Stubs for various acc:u0 funcs needed * Stub for GetDesiredLanguage in IApplicationFunctions * Add set service + stubs needed for games * Fix formatting * Implement IProfile, IManagerForApplication, return bool in CheckAvailability, style fixes * Remove IProfile::Get(needs more research), fix IPC response sizes
2018-01-18Start to implement/stub BSD:U and SFDNSRES services (#78)flerovium^-^1-0/+5
* bsd: start stubbing bsd:u and sfdnsres * bsd: stubbed RegisterClient * bsd: attempt to get past socket() * bsd: fix some wrong assumptions about IPC * bsd: fix format specifiers * bsd: stubbed Connect() * bsd: stubbed SendTo() * made requested changes * sockets: respect alphabetical order at service installation * run clang-format * bsd: start stubbing bsd:u and sfdnsres * bsd: stubbed RegisterClient * bsd: attempt to get past socket() * bsd: fix some wrong assumptions about IPC * bsd: fix format specifiers * bsd: stubbed Connect() * bsd: stubbed SendTo() * made requested changes * sockets: respect alphabetical order at service installation * run clang-format * run clang-format (2)
2018-01-18time: Refactor time:* to use a single shared moduleRozlette1-0/+4
2018-01-18CMakeLists: Derive the source directory grouping from targets themselvesLioncash1-170/+167
Removes the need to store to separate SRC and HEADER variables, and then construct the target in most cases.
2018-01-17TIME: consolidate time:* interfaces, stub functions and structsRozlette1-2/+0
2018-01-17Update CMakeLists.txtN00byKing1-0/+1
2018-01-17acc_u0: Add IPC interface and stub InitializeApplicationInfo.bunnei1-0/+4
2018-01-17NV: Implemented the nvdrv service, which uses the same interface as nvdrv:aSubv1-2/+2
2018-01-15time: Implement GetStandardUserSystemClock, GetCurrentTime.bunnei1-0/+4
2018-01-15audio: Add files to CMake.bunnei1-0/+4
2018-01-13Remove references to PICA and rasterizers in video_coreJames Rowe1-16/+1
2018-01-13core: Gut out cryptop, since it doesn't compile with C++17.bunnei1-1/+1
2018-01-12arm_dynarmic: Implement coreMerryMage1-1/+1
2018-01-11CMakeLists: Add framebuffer_layout.cpp.bunnei1-0/+1
2018-01-11frontend: Update for undocked Switch screen layout.bunnei1-2/+0
2018-01-11NV: Move the nv device nodes to their own directory and namespace.Subv1-0/+7
2018-01-11NV: Implemented (with stubs) the vi:m service and some of its subservices.Subv1-0/+8
The homebrew display test application now properly writes graphics data to the graphics buffer but we still don't have a way to compose the display layers.
2018-01-09kernel: Rename Semaphore to ConditionVariable.bunnei1-2/+2
2018-01-04cmake: Don't compile Dynarmic as it's unused.bunnei1-1/+1
2018-01-04unicorn: Use for arm interface on Windows.bunnei1-1/+1
2018-01-04core: Remove unicorn_dynload.bunnei1-2/+0
2018-01-03arm: Remove SkyEye/Dyncom code that is ARMv6-only.bunnei1-25/+0
2018-01-03hle: Move SVC code to kernel namespace.bunnei1-3/+3
2018-01-01cmake: Add missing object_address_table.bunnei1-0/+2
2017-12-29service: Add empty interface for pctl:a.bunnei1-0/+4
2017-12-29kernel: Add basic support for Domain object.bunnei1-0/+2
2017-12-29kernel: Add SyncObject primitive, use it for ClientSession.bunnei1-0/+1
2017-12-28service: Add empty interface for aoc:u.bunnei1-0/+2
2017-10-15core: Refactor MakeMagic usage and remove dead code.bunnei1-3/+0
2017-10-15hle: Add service stubs for apm and appletOE.bunnei1-0/+6
2017-10-15hle: Initial implementation of NX service framework and IPC.bunnei1-2/+4
2017-10-13Remove more 3DS-specific code.bunnei1-2/+0
2017-10-13Remove more 3DS-specific code.bunnei1-44/+0
2017-10-10hle: Remove a large amount of 3ds-specific service code.bunnei1-190/+0
2017-10-06loader: Add support for NRO, as well as various fixes and shared linker.bunnei1-0/+4
2017-10-01file_sys: add class for Title Metadata (TMD)shinyquagsire231-0/+1
2017-09-30loader: Add support for loading an NSO.bunnei1-0/+2
2017-09-30externals: Add lz4.bunnei1-1/+1
2017-09-25Loader/NCCH: Add support for loading application updates (#2927)Max Thomas1-0/+1
* loader/ncch: split NCCH parsing into its own file * loader/ncch: add support for loading update NCCHs from the SD card * loader/ncch: fix formatting * file_sys/ncch_container: Return a value for OpenFile * loader/ncch: cleanup, always instantiate overlay_ncch to base_ncch * file_sys/ncch_container: better encryption checks, allow non-app NCCHs to load properly and for the existence of NCCH structures to be checked * file_sys/ncch_container: pass filepath as a const reference
2017-09-16Services/NS: Port ns:s to the new service framework.Subv1-2/+4
2017-08-27Services/UDS: Add functions to generate 802.11 auth and assoc response frames.Subv1-0/+2
2017-08-22Kernel/HLE: Use a mutex to synchronize access to the HLE kernel state between the cpu thread and any other possible threads that might touch the kernel (network thread, etc).Subv1-0/+2
This mutex is acquired in SVC::CallSVC, ie, as soon as the guest application enters the HLE kernel, and should be acquired by the aforementioned threads before modifying kernel structures.
2017-08-19Added missing parts in libnetwork (#2838)B3n301-1/+1
* Network: Set and send the game information over enet Added Callbacks for RoomMember and GetMemberList to Room in preparation for web_services.
2017-08-11move MotionEmu from core/frontend to input_common as a InputDevicewwylele1-2/+0
2017-07-12web_service: Add CMake flag to enable.bunnei1-1/+4
2017-07-10web_service: Add skeleton project.bunnei1-1/+1
2017-06-26apt: load shared font from system archivewwylele1-0/+2
2017-06-15UDS: Stub SendTo to generate the unencrypted data frame with the right headers.Subv1-0/+2
2017-06-08Service: Add new ServiceFramework framework for writing HLE servicesYuri Kunde Schlesner1-1/+1
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-06Service: Make service registration part of the sm implementationYuri Kunde Schlesner1-0/+2
Also enhances the GetServiceHandle implementation to be more accurate.
2017-06-06Service: Move SRV interface to a new sm/ subdirectoryYuri Kunde Schlesner1-2/+2
This will contain the implementation of the sm (Service Manager) system module.
2017-06-06HLE: Move SessionRequestHandler from Service:: to Kernel::Yuri Kunde Schlesner1-0/+2
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-05-30Kernel: Move HandleTable to a separate fileYuri Kunde Schlesner1-0/+2
2017-05-30Kernel: Move WaitObject to a separate fileYuri Kunde Schlesner1-0/+2
Now that HandleTable doesn't directly depend on WaitObject anymore, this can be separated from the main kernel.h header.
2017-05-28CMake: Remove unnecessary include_directories for dynarmicYuri Kunde Schlesner1-3/+0
Dynarmic already adds the correct include paths to the library target.
2017-05-28CMake: Add cryptopp include path to target propertyYuri Kunde Schlesner1-1/+0
2017-05-28CMake: Use IMPORTED target for BoostYuri Kunde Schlesner1-1/+1
2017-05-28CMake: Correct inter-module dependencies and library visibilityYuri Kunde Schlesner1-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.
2017-05-28Move screen size constants from video_core to coreYuri Kunde Schlesner1-0/+1
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-28Move framebuffer_layout from Common to CoreYuri Kunde Schlesner1-0/+2
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-25Kernel: Centralize error definitions in errors.hYuri Kunde Schlesner1-0/+1
2017-05-25core: Keep track of telemetry for the current emulation session.bunnei1-0/+2
2017-05-15Services/UDS: Generate the UDS beacons when the beacon callback fires.Subv1-0/+2
2017-05-15Kernel: Use a Session object to keep track of the status of a Client/Server session pair.Subv1-0/+1
Reduce the associated port's connection count when a ServerSession is destroyed.
2017-05-08Dyncom: Remove disassembler codeYuri Kunde Schlesner1-2/+0
Had licensing issue around it, in addition to several bugs. Closes #1632, #1280
2017-05-08Remove unused symbols codeYuri Kunde Schlesner1-2/+0
2017-05-03ir: implement circle pad prowwylele1-0/+2
2017-03-01Input: remove unused stuff & clean upwwylele1-2/+0
1. removed zl, zr and c-stick from HID::PadState. They are handled by IR, not HID 2. removed button handling in EmuWindow 3. removed key_map 4. cleanup #include
2017-03-01Input: add device and factory templatewwylele1-0/+1
2017-02-27Add performance statistics to status barYuri Kunde Schlesner1-0/+2
2017-02-21HW: add AES engine & implement AES-CCMwwylele1-0/+6
2017-02-15core: add missing errors.h in CMakeLists.txtwwylele1-0/+1
2017-02-13Core: add cryptopp library (#2412)Weiyi Wang1-1/+2
2017-02-13loader: use self NCCH archivewwylele1-2/+0
2017-02-13file_sys: add Self NCCH archivewwylele1-0/+2
2017-02-03arm_dynarmic: CP15 supportMerryMage1-0/+2
2017-01-31HLE/Applets: Stub Mint (eShop) Applet (#2463)mailwl1-0/+2
This allows Phoenix Wright - Dual Destinies to boot.
2017-01-11CAM: implement basic camera functions with a blank camerawwylele1-0/+6
2016-12-30Service/AC: add ac:i servicemailwl1-2/+6
2016-12-26IPC helpersLectem1-0/+1
2016-12-26Frontend: emulate motion sensorwwylele1-0/+2
2016-12-23core: Move emu_window and key_map into coreMerryMage1-0/+4
* Removes circular dependences (common should not depend on core)
2016-12-22Service/NWM: add nwm servicesmailwl1-2/+16
2016-12-22core: Remove HLE module, consolidate code & various cleanups.bunnei1-2/+0
2016-12-22core: Consolidate core and system state, remove system module & cleanups.bunnei1-2/+0
2016-12-15Service/CECD: Add cecd:ndm servicemailwl1-0/+2
2016-12-14Service/ACT: move ACT services to foldermailwl1-4/+6
2016-12-09service: Add cfg:nor serviceLioncash1-0/+2
2016-12-08Use std::move where appropriate.Subv1-0/+1
2016-12-08service: Add ptm::gets and ptm::sets servicesLioncash1-0/+4
2016-12-08service: Add mvd and qtm servicesLioncash1-0/+12
Adds the two New3DS-only modules. 3dbrew was used for command information.
2016-12-08service: Add nfc servicesLioncash1-0/+6
3dbrew was used for the command information.
2016-12-01 Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication.Subv1-2/+4
All handles obtained via srv::GetServiceHandle or svcConnectToPort are references to ClientSessions. Service modules will wait on the counterpart of those ClientSessions (Called ServerSessions) using svcReplyAndReceive or svcWaitSynchronization[1|N], and will be awoken when a SyncRequest is performed. HLE Interfaces are now ClientPorts which override the HandleSyncRequest virtual member function to perform command handling immediately.
2016-11-29FileSys: Implement OtherSaveDatawwylele1-0/+2
2016-11-29FileSys: abstract SD save data archive sourcewwylele1-0/+2
2016-11-19FileSys: rename SaveDataCheck archive to NCCH archivewwylele1-2/+2
According to the observation from game and 3dbrew "Used for accessing general NCCH data"
2016-11-19FileSys: add SDMCWriteOnlyArchivewwylele1-0/+2
2016-11-19FileSys: add SaveDataArchivewwylele1-0/+2
The error checking of SaveDataArchive is completely different from DiskArchive, so it has to be a new class instead of a subclass of DiskArchive.
2016-11-19FileSys: add PathParserwwylele1-0/+2
2016-09-15dynarmic: Implement ARM CPU interface.bunnei1-0/+6
2016-08-27LDR: Implement CROwwylele1-2/+6
2016-07-04HLE/Applets: Implement ErrEula appletmailwl1-0/+2
2016-06-12Make arm_dyncom_trans* into a fully fledged compilation unitarchshift1-0/+2
2016-06-11Revert "Split huge interpreter source file into translation info and interpreter (+ some tiny misc style fixes)"archshift1-2/+0
2016-06-09arm_dyncom_interpreter.cpp: Split by translation and interpreter logicarchshift1-0/+2
To facilitate the split, some small changes were made to names of various structures and functions.
2016-06-05Kernel: Added ClientPort and ServerPort classes.Subv1-0/+4
This is part of an ongoing effort to implement support for multiple processes.
2016-06-05service: Add other DLP servicesLioncash1-2/+8
Specifically, dlp::CLNT and dlp::FKCL Moves them to their own folder like with other services.
2016-05-21Loader: Split SMDH into its own header and import helpers from QGameListEmmanuel Gil Peyrot1-0/+2
Also rewrite Qt wrappers to use those.
2016-05-18Update ACT:U and create ACT:A (#1809)András Domonkos1-0/+2
* Update ACT_U * Create act_a.h * Create act_a.cpp * Add service ACT:A * Add ACT:A source and header * Fix wrong header
2016-05-13APT: Move the shared font loading and relocation functions to their own subdirectory services/apt/bcfnt.Subv1-0/+2
2016-04-02Dummy implementation dlp:SRVR Service.exhalatio1-0/+2
2016-03-14Reorganize the ndm service path for dummy implement functionJamePeng1-2/+4
SuspendDaemons , ResumeDaemons , OverrideDefaultDaemons The NDM file move to /core/hle/service/ndm/ now!
2016-03-12HLE/Applets: Implemented a dummy Mii Selector applet.Subv1-0/+2
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.
2016-01-30Memory: Implement MMIOMerryMage1-0/+1
2015-10-04Implement gdbstubpolaris-1-0/+2
2015-09-20Implement gdbstubpolaris-1-0/+2
2015-08-16Move core/mem_map.{cpp,h} => core/hle/kernel/memory.{cpp,h}Yuri Kunde Schlesner1-2/+2
2015-07-26dyncom: Use ARMul_State as an objectLioncash1-3/+1
Gets rid of C-like parameter passing.
2015-07-26dyncom: Rename armdefs.h to armstate.hLioncash1-1/+1
2015-07-26dyncom: Move helper functions to their own headerLioncash1-0/+1
2015-07-26dyncom: Move arminit.cpp and armsupp.cpp into skyeye_commonLioncash1-2/+2
2015-07-13CiTrace: Record default vertex attributes.Tony Wasserka1-1/+1
2015-07-13Add CiTrace recording support.Tony Wasserka1-0/+3
This is exposed in the GUI as a new "CiTrace Recording" widget. Playback is implemented by a standalone 3DS homebrew application (which only runs reliably within Citra currently; on an actual 3DS it will often crash still).
2015-07-12HLE/APT: Initial HLE support for applets.Subv1-0/+4
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.
2015-06-22Y2R: Rework conversion process, enabling support for all formatsYuri Kunde Schlesner1-0/+2
2015-06-12Services: Continue separation of services into their own folderspurpasmart961-28/+52
2015-05-27Kernel: Add VMManager to manage process address spacesYuri Kunde Schlesner1-0/+2
This enables more dynamic management of the process address space, compared to just directly configuring the page table for major areas. This will serve as the foundation upon which the rest of the Kernel memory management functions will be built.
2015-05-24dyncom: Get rid of armemu.hLioncash1-1/+0
2015-05-15Core/ResourceLimits: Implemented the basic structure of ResourceLimits.Subv1-0/+2
Implemented svcs GetResourceLimit, GetResourceLimitCurrentValues and GetResourceLimitLimitValues. Note that the resource limits do not currently keep track of used objects, since we have no way to distinguish between an object created by the application, and an object created by some HLE module once we're inside Kernel::T::Create.
2015-05-15Memory: Use a table based lookup scheme to read from memory regionsYuri Kunde Schlesner1-0/+1
2015-05-15Memmap: Re-organize memory function in two filesYuri Kunde Schlesner1-1/+2
memory.cpp/h contains definitions related to acessing memory and configuring the address space mem_map.cpp/h contains higher-level definitions related to configuring the address space accoording to the kernel and allocating memory.
2015-05-09Kernel: Introduce skeleton Process class to hold process dataYuri Kunde Schlesner1-0/+2
2015-05-08Core: Fix sorting in CMakeFiles.txtYuri Kunde Schlesner1-21/+21
2015-05-08Remove unnecessary dyncom header filesLioncash1-2/+0
2015-05-07FileSys: De-inline Path membersYuri Kunde Schlesner1-0/+1
2015-04-18dyncom: Remove unused/unnecessary VFP cruftLioncash1-1/+0
2015-04-04IR: Move The IR services to their own folder and implement "GetHandles"purpasmart961-4/+8
2015-04-03Services: Stubs and minor changespurpasmart961-0/+2
2015-03-09Added LCD registers, and implementation for color filling in OGL code.archshift1-0/+2
2015-03-04Services: Moved the PTM and APT services to their own folderSubv1-12/+16
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.
2015-02-02Explicitly instantiate constructors/destructors for Kernel objectsYuri Kunde Schlesner1-0/+1
This should speed up compile times a bit, as well as enable more liberal use of forward declarations. (Due to SharedPtr not trying to emit the destructor anymore.)
2015-02-01arm: Adios armemuLioncash1-5/+0
2015-01-30arm: Get rid of armcpu.h and skyeye_types.hLioncash1-2/+0
2015-01-24Services: Stubbed more services.Subv1-0/+14
Implemented FSUser::CreateExtSaveData
2015-01-21Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxxarchshift1-2/+6
2015-01-21Stubbed cam:u servicearchshift1-0/+2
2015-01-21Stubbed ptm:play servicearchshift1-0/+2
2015-01-16Add some support for the shared page (currently 3d slider is implemented)Zhuowei Zhang1-0/+2
2015-01-13Services: Added some missing services.Subv1-0/+6
cfg:s, ptm:sysm, apt:s. apt:s is almost exactly the same as apt:u as per 3dbrew
2015-01-09SVC: Implemented the Timer service calls.Subv1-0/+2
2015-01-03Stub the y2r:u servicearchshift1-0/+2
2015-01-03Archives: Reduced duplicate code in RomFS and SaveCheck.Subv1-4/+4
Fixed a few warnings and cleaned up the code
2014-12-30Archives: Implemented ExtSaveData and SharedExtSaveDataSubv1-0/+2
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.
2014-12-26More services & small clean upspurpasmart961-4/+12
2014-12-21CFG: Create a new subfolder cfg inside service to handle cfgSubv1-4/+6
Moved most of the shared CFG code there, implemented a few CFG:I functions
2014-12-18SaveData: Implemented the SystemSaveData archive.Subv1-0/+2
It will be stored in the /syssavedata folder. This archive is user by various Services and possibly games via the FS:U service.
2014-12-18Filesystem/Archives: Implemented the SaveData archiveSubv1-4/+4
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
2014-12-16Service.FS: Rename FileSys::File to FileBackendYuri Kunde Schlesner1-1/+1
2014-12-16Service.FS: Rename FileSys::Directory to DirectoryBackendYuri Kunde Schlesner1-1/+1
2014-12-16Service.FS: Rename FileSys::Archive to ArchiveBackendYuri Kunde Schlesner1-1/+1
2014-12-16HLE: Move kernel/archive.* to service/fs/Yuri Kunde Schlesner1-4/+4
2014-12-16Added stub for nim:aoc service...archshift1-0/+2
2014-12-16Added stub for cecd:u service...archshift1-0/+2
I couldn't find any information about this service...
2014-12-16Added stub for ldr:ro service...archshift1-0/+2
2014-12-16Added am:app service stub.archshift1-0/+2
Apparently nothing at all is known about this service...
2014-12-15Remove SyncRequest from K::Object and create a new K::Session typeYuri Kunde Schlesner1-0/+1
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.)
2014-12-13SVC: Implemented svcCreateSemaphoreSubv1-0/+2
ToDo: Implement svcReleaseSemaphore * Some testing against hardware needed
2014-12-09Remove unused NDMA moduleYuri Kunde Schlesner1-2/+0
2014-12-08Loader: Add 3DSX supportichfly1-0/+2
2014-11-24HLE: Revamp error handling throrough the HLE codeYuri Kunde Schlesner1-0/+1
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.
2014-11-21Add more services and some fixes, along with more "override"purpasmart961-0/+12
in the service's headers
2014-11-17Add missing boss:U service, needed according to Nintendo Zone logs.archshift1-0/+2
2014-11-11Add FRD:U service and functionsarchshift1-0/+2
2014-11-02Added stub err:f service.archshift1-0/+2
2014-11-01Added a bunch of servicespurpasmart961-0/+16
2014-10-29Renamed souce files of services to match port namesGareth Poole1-10/+10
2014-10-25ARM: Removed unnecessary and unused SkyEye MMU code.bunnei1-15/+0
Added license header back in. I originally removed this because I mostly rewrote the file, but meh
2014-10-25ARM: Removed unused armos code from SkyEye.bunnei1-1/+0
2014-10-25ARM: Integrate SkyEye faster "dyncom" interpreter.bunnei1-5/+14
Fixed typo (make protected member public) Added license header back in. I originally removed this because I mostly rewrote the file, but meh ARM: Fixed a type error in dyncom interpreter. ARM: Updated dyncom to use unique_ptr for internal ARM state.
2014-10-25ARM: Reorganized file structure to move shared SkyEye code to a more common area.bunnei1-15/+15
Removed s_ prefix
2014-10-08Added configuration file system.archshift1-0/+2
Uses QSettings on citra-qt, and inih on citra-cli.
2014-09-17Core: Add a Directory object, with both a stub and a passthrough implementations.Emmanuel Gil Peyrot1-0/+5
2014-09-17Core: Add a passthrough backend for the filesystem, exposed as SDMC.Emmanuel Gil Peyrot1-0/+4
2014-09-17Core: Add a new File class, obtainable from an Archive, and a stub implementation.Emmanuel Gil Peyrot1-0/+3
2014-09-01CMake cleanupYuri Kunde Schlesner1-47/+56
Several cleanups to the buildsystem: - Do better factoring of common libs between platforms. - Add support to building on Windows. - Remove Qt4 support. - Re-sort file lists and add missing headers.
2014-07-09Kernel: Added preliminary support for address arbiters.bunnei1-0/+2
AddressArbiter: Added documentation comment, fixed whitespace issue. AddressArbiter: Fixed incorrect comment, reordered if-statement to be more clear. SVC: Removed trailing whitespace.
2014-07-05Kernel: Added support for shared memory objects.bunnei1-0/+2
SharedMemory: Added optional name field for tracking known objects.
2014-07-05FileSys: Added preliminary support for applications reading the RomFS archive.bunnei1-1/+3
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.
2014-06-27FS: Added stubbed code to intercept and decode file system service functions.bunnei1-0/+2
FS: Added to CMakeLists.txt
2014-06-27Kernel: Added stubbed code to support creation of kernel Archive objects.bunnei1-0/+2
2014-06-27Core: Removed unused directory_file_system and meta_file_system modules.bunnei1-4/+0
Core: Updated CMakeLists.txt to remove directory_file_system and meta_file_system modules.
2014-06-17Elf: Renamed modules to be consistent with new loader naming, fixed tabs -> spaces.bunnei1-3/+2
2014-06-17Loader: Added support for booting NCCH executables.bunnei1-0/+2
NCCH: Fixed typo in printing NCCH filename.
2014-06-17Loader: Moved elf and loader modules to a "loader" subdirectory.bunnei1-5/+5
2014-06-12Rename LCD to GPU.Tony Wasserka1-2/+2
2014-05-30hle: added stubbed service for ndm_ubunnei1-0/+1
2014-05-28event: fixed typos and updated CMakeListsbunnei1-0/+1
2014-05-23core: fixed headers in CMakeListsbunnei1-1/+4
2014-05-21mutex: initial commit of HLE modulebunnei1-0/+1
2014-05-21renamed "syscall" module to "svc" (more accurate naming)bunnei1-1/+1
2014-05-20CMakeLists: rename HEADS, improved commentsarchshift1-2/+2
Changes for clarity of comments, removed redundant compiler flags.
2014-05-17Updated cmakelistsarchshift1-6/+12
2014-05-17fixed typo in CMakeLists.txtbunnei1-1/+1
2014-05-16added maverick.cpp to ARM core from skyeyebunnei1-1/+2
2014-05-16added missing armcopro from skyeyebunnei1-0/+1
2014-05-16added missing skyeye mmu codebunnei1-0/+6
2014-05-16- moved mmu to arm/interpreter folderbunnei1-1/+5
- added initial VFP code from skyeye
2014-05-10added initial kernel/thread modulesbunnei1-0/+2
2014-05-07added config_mem module for HLE of firmware configuration memory settingsbunnei1-0/+1
2014-05-02renamed hle "mrc" module to "coprocessor"bunnei1-1/+1
2014-05-01added a module to load symbol map files for debuggingbunnei1-0/+1
2014-05-01Fixed indentsarchshift1-2/+2
2014-05-01A bit of Cmake lovearchshift1-1/+38
2014-04-25moved HLE::MRC to its own module, added support for catching data synchronization barrier commandbunnei1-0/+1
2014-04-23updated CMakeLists for missing filesShizZy1-1/+9
2014-04-10fixed a bunch of errors in CMakeListsbunnei1-1/+1
2014-04-10updated CMakeListsbunnei1-8/+21
2013-08-30adding initial project layoutShizZy1-0/+10