aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/kernel
Commit message (Collapse)AuthorAge
* Filesystem/Archives: Implemented the SaveData archiveGravatar Subv2014-12-17
| | | | | | | | | | 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
* HLE: Rename namespaces to match move & fix initialization orderGravatar Yuri Kunde Schlesner2014-12-16
|
* HLE: Move kernel/archive.* to service/fs/Gravatar Yuri Kunde Schlesner2014-12-16
|
* Remove SyncRequest from K::Object and create a new K::Session typeGravatar Yuri Kunde Schlesner2014-12-15
| | | | | | | 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.)
* Kernel/Semaphore: Small style changeGravatar Subv2014-12-13
|
* Kernel/Semaphores: Invert the available count checking.Gravatar Subv2014-12-13
| | | | Same semantics, idea by @yuriks
* Kernel/Semaphores: Addressed some issues.Gravatar Subv2014-12-13
|
* Semaphore: Removed an unneeded functionGravatar Subv2014-12-13
|
* Semaphores: Addressed some style issuesGravatar Subv2014-12-13
|
* Semaphore: Implemented the initial_count parameter.Gravatar Subv2014-12-13
|
* SVC: Implemented ReleaseSemaphore.Gravatar Subv2014-12-13
| | | | This behavior was tested on hardware, however i'm still not sure what use the "initial_count" parameter has
* SVC: Implemented svcCreateSemaphoreGravatar Subv2014-12-13
| | | | | ToDo: Implement svcReleaseSemaphore * Some testing against hardware needed
* kernel: Remove unused log argumentsGravatar Lioncash2014-12-13
|
* Convert old logging calls to new logging macrosGravatar Yuri Kunde Schlesner2014-12-13
|
* Merge pull request #256 from Subv/mutexGravatar bunnei2014-12-10
|\ | | | | Kernel/Mutex: Properly lock the mutex when a thread enters it
* | Thread: Fixed to wait on address when in arbitration.Gravatar bunnei2014-12-08
| |
* | Make OpenDirectory fail if the directory doesn't existGravatar archshift2014-12-07
| | | | | | | | | | | | | | This is in line with what the hardware itself does. It does this by splitting the initial directory opening into Directory.Open(), which will return false if a stat fails. Then, Archive::OpenDirectory will return nullptr, and archive.cpp will return an error code .
| * Mutex: Remove some forward declarationsGravatar Subv2014-12-07
| | | | | | | | Moved Mutex::WaitSynchronization to the end of the file.
| * Mutex: Release all held mutexes when a thread exits.Gravatar Subv2014-12-07
| |
| * Mutex: Properly lock the mutex when a thread enters itGravatar Subv2014-12-05
|/ | | | Also resume only the next immediate thread waiting for the mutex when it is released, instead of resuming them all.
* Merge pull request #250 from Subv/cbranch_2Gravatar bunnei2014-12-04
|\ | | | | SVC: Implemented GetThreadId.
* \ Merge pull request #222 from archshift/renamexyzGravatar bunnei2014-12-04
|\ \ | | | | | | Implemented RenameFile and RenameDirectory in FS:USER
| | * Threads: Remove a redundant function.Gravatar Subv2014-12-04
| | | | | | | | | | | | Use the next_thread_id variable directly.
| | * Threads: Implemented a sequential thread idGravatar Subv2014-12-04
| | |
| * | Updated archive.cpp functions for proper error handlingGravatar archshift2014-12-03
| | |
| | * SVC: Implemented GetThreadId.Gravatar Subv2014-12-04
| | | | | | | | | | | | For now threads are using their Handle value as their Id, it should not really cause any problems because Handle values are unique in Citra, but it should be changed. I left a ToDo there because this is not correct behavior as per hardware.
* | | kernel: Shorten GetCountGravatar Lioncash2014-12-03
| | |
* | | kernel: Make some functions constGravatar Lioncash2014-12-03
| |/ |/|
* | Merge pull request #225 from bunnei/fix-release-mutexGravatar bunnei2014-11-30
|\ \ | | | | | | Mutex: Changed behavior to always release mutex for all threads.
* | | Thread: Check that thread is actually in "wait state" when verifying wait.Gravatar bunnei2014-11-26
| | |
| * | Mutex: Changed behavior to always release mutex for all threads.Gravatar bunnei2014-11-26
|/ /
| * Implemented RenameDirectory in FS:USERGravatar archshift2014-11-24
| |
| * Implemented RenameFile in FS:USERGravatar archshift2014-11-24
|/
* Use pointers instead of passing handles around in some functions.Gravatar Yuri Kunde Schlesner2014-11-24
|
* Remove duplicated docs/update them for changed parameters.Gravatar Yuri Kunde Schlesner2014-11-24
|
* HLE: Revamp error handling throrough the HLE codeGravatar Yuri Kunde Schlesner2014-11-24
| | | | | | | | | | | | | | | | | | | | | | | | | | 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/deletexyzGravatar bunnei2014-11-23
|\ | | | | Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.
| * Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.Gravatar archshift2014-11-23
| |
* | Merge pull request #211 from linkmauve/masterGravatar bunnei2014-11-19
|\ \ | | | | | | Remove trailing spaces from the entire project
* \ \ Merge pull request #208 from lioncash/staticsGravatar bunnei2014-11-19
|\ \ \ | | | | | | | | Add static to some variables
| | * | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP ↵Gravatar Emmanuel Gil Peyrot2014-11-19
| |/ / |/| | | | | | | | or generated
| * | Add static to some variablesGravatar Lioncash2014-11-18
| |/
* / Remove extraneous semicolonsGravatar Lioncash2014-11-18
|/
* Archive: Fixed to not destroy archive handle on close.Gravatar bunnei2014-11-17
|
* Archive: Fixed close archive before freeing.Gravatar bunnei2014-11-17
|
* FS_User: Support FileSye::Path in a more generic way.Gravatar bunnei2014-11-17
| | | | added a todo to kernel archive
* FileSys: Updated backend code to use FileSys::Path instead of string for paths.Gravatar bunnei2014-11-17
|
* Fix two format strings.Gravatar Lioncash2014-11-14
|
* Added CreateDirectory function to service/fs.cpp, and in Archive.Gravatar archshift2014-11-02
|
* Fix some warningsGravatar Sean2014-10-29
|