aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
AgeCommit message (Collapse)Author
2014-12-16HLE: Rename namespaces to match move & fix initialization orderYuri Kunde Schlesner
2014-12-16HLE: Move kernel/archive.* to service/fs/Yuri Kunde Schlesner
2014-12-15Remove SyncRequest from K::Object and create a new K::Session typeYuri Kunde Schlesner
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-13Kernel/Semaphore: Small style changeSubv
2014-12-13Kernel/Semaphores: Invert the available count checking.Subv
Same semantics, idea by @yuriks
2014-12-13Kernel/Semaphores: Addressed some issues.Subv
2014-12-13Semaphore: Removed an unneeded functionSubv
2014-12-13Semaphores: Addressed some style issuesSubv
2014-12-13Semaphore: Implemented the initial_count parameter.Subv
2014-12-13SVC: Implemented ReleaseSemaphore.Subv
This behavior was tested on hardware, however i'm still not sure what use the "initial_count" parameter has
2014-12-13SVC: Implemented svcCreateSemaphoreSubv
ToDo: Implement svcReleaseSemaphore * Some testing against hardware needed
2014-12-13kernel: Remove unused log argumentsLioncash
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner
2014-12-10Merge pull request #256 from Subv/mutexbunnei
Kernel/Mutex: Properly lock the mutex when a thread enters it
2014-12-08Thread: Fixed to wait on address when in arbitration.bunnei
2014-12-07Make OpenDirectory fail if the directory doesn't existarchshift
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 .
2014-12-07Mutex: Remove some forward declarationsSubv
Moved Mutex::WaitSynchronization to the end of the file.
2014-12-07Mutex: Release all held mutexes when a thread exits.Subv
2014-12-05Mutex: Properly lock the mutex when a thread enters itSubv
Also resume only the next immediate thread waiting for the mutex when it is released, instead of resuming them all.
2014-12-04Merge pull request #250 from Subv/cbranch_2bunnei
SVC: Implemented GetThreadId.
2014-12-04Merge pull request #222 from archshift/renamexyzbunnei
Implemented RenameFile and RenameDirectory in FS:USER
2014-12-04Threads: Remove a redundant function.Subv
Use the next_thread_id variable directly.
2014-12-04Threads: Implemented a sequential thread idSubv
2014-12-03Updated archive.cpp functions for proper error handlingarchshift
2014-12-04SVC: Implemented GetThreadId.Subv
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.
2014-12-03kernel: Shorten GetCountLioncash
2014-12-03kernel: Make some functions constLioncash
2014-11-30Merge pull request #225 from bunnei/fix-release-mutexbunnei
Mutex: Changed behavior to always release mutex for all threads.
2014-11-26Thread: Check that thread is actually in "wait state" when verifying wait.bunnei
2014-11-26Mutex: Changed behavior to always release mutex for all threads.bunnei
2014-11-24Implemented RenameDirectory in FS:USERarchshift
2014-11-24Implemented RenameFile in FS:USERarchshift
2014-11-24Use pointers instead of passing handles around in some functions.Yuri Kunde Schlesner
2014-11-24Remove duplicated docs/update them for changed parameters.Yuri Kunde Schlesner
2014-11-24HLE: Revamp error handling throrough the HLE codeYuri Kunde Schlesner
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-23Merge pull request #191 from archshift/deletexyzbunnei
Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.
2014-11-23Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.archshift
2014-11-19Merge pull request #211 from linkmauve/masterbunnei
Remove trailing spaces from the entire project
2014-11-19Merge pull request #208 from lioncash/staticsbunnei
Add static to some variables
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP ↵Emmanuel Gil Peyrot
or generated
2014-11-18Add static to some variablesLioncash
2014-11-18Remove extraneous semicolonsLioncash
2014-11-17Archive: Fixed to not destroy archive handle on close.bunnei
2014-11-17Archive: Fixed close archive before freeing.bunnei
2014-11-17FS_User: Support FileSye::Path in a more generic way.bunnei
added a todo to kernel archive
2014-11-17FileSys: Updated backend code to use FileSys::Path instead of string for paths.bunnei
2014-11-14Fix two format strings.Lioncash
2014-11-02Added CreateDirectory function to service/fs.cpp, and in Archive.archshift
2014-10-29Fix some warningsSean
2014-10-26Add `override` keyword through the code.Yuri Kunde Schlesner
This was automated using `clang-modernize`.