aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/kernel
Commit message (Collapse)AuthorAge
* core: Fix a few docstringsGravatar Lioncash2015-01-20
|
* AddrArbiter: Implement arbitration types 3 and 4.Gravatar Subv2015-01-13
|
* Merge pull request #466 from Subv/wakeGravatar bunnei2015-01-11
|\ | | | | Thread: Prevent waking a thread multiple times.
| * Thread: Prevent waking a thread multiple times.Gravatar Subv2015-01-11
| | | | | | | | If a thread was woken up by something, cancel the wakeup timeout.
* | Kernel: Start using boost::intrusive_ptr for lifetime managementGravatar Yuri Kunde Schlesner2015-01-09
| |
* | Kernel: Don't re-assign object's handle when duplicating oneGravatar Yuri Kunde Schlesner2015-01-09
|/
* Thread: Fix nullptr access in a logging functionGravatar Yuri Kunde Schlesner2015-01-09
|
* Thread: Rename thread_queue => thread_listGravatar Yuri Kunde Schlesner2015-01-09
|
* Thread: Reduce use of Handles and move some funcs to inside the class.Gravatar Yuri Kunde Schlesner2015-01-09
|
* Kernel: Move Thread's definition to the header fileGravatar Yuri Kunde Schlesner2015-01-09
|
* Move ThreadContext to core/core.h and deal with the falloutGravatar Yuri Kunde Schlesner2015-01-09
|
* Merge pull request #255 from Subv/cbranch_3Gravatar bunnei2015-01-08
|\ | | | | Implemented timers
| * SVC: Implemented the Timer service calls.Gravatar Subv2015-01-08
| |
* | SVC: Fixed SleepThread.Gravatar Subv2015-01-08
| | | | | | | | It will now properly wait the specified number of nanoseconds and then wake up the thread.
* | Threads: Use a dummy idle thread when no other are ready.Gravatar Subv2015-01-07
| | | | | | | | This thread will not actually execute instructions, it will only advance the timing/events and try to yield immediately to the next ready thread, if there aren't any ready threads then it will be rescheduled and start its job again.
* | Common: Clean up ThreadQueueListGravatar Yuri Kunde Schlesner2015-01-07
|/ | | | | | | | Replace all the C-style complicated buffer management with a std::deque. In addition to making the code easier to understand it also adds support for non-POD IdTypes. Also clean the rest of the code to follow our code style.
* Merge pull request #407 from Subv/arbiterGravatar bunnei2015-01-05
|\ | | | | AddressArbiter: Ported arbitration type 2 from 3dmoo.
* | Mutex: Add the calling thread to the waiting list when neededGravatar Subv2015-01-04
| | | | | | | | This will happen when the mutex is already owned by another thread. Should fix some issues with games being stuck due to waiting threads not being awoken.
| * AddressArbiter: Ported arbitration type 2 from 3dmoo.Gravatar Subv2015-01-03
|/ | | | (Thanks 3dmoo!)
* Kernel: New handle managerGravatar Yuri Kunde Schlesner2014-12-28
| | | | | | | | | | | 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.
* Kernel: Replace GetStaticHandleType by HANDLE_TYPE constantsGravatar Yuri Kunde Schlesner2014-12-28
|
* Rename ObjectPool to HandleTableGravatar Yuri Kunde Schlesner2014-12-28
|
* Merge pull request #291 from purpasmart96/licenseGravatar bunnei2014-12-21
|\ | | | | License change
| * License changeGravatar purpasmart962014-12-20
| |
* | Thread: Wait current thread on svc_SleepThreadGravatar bunnei2014-12-20
| | | | | | | | | | | | - Removed unused VBLANK sleep mode - Added error log for bad context switch - Renamed VerifyWait to CheckWaitType to be more clear
* | Merge pull request #316 from yuriks/thread-handleGravatar bunnei2014-12-20
|\ \ | | | | | | Kernel: Implement support for current thread pseudo-handle
* | | Clean up some warningsGravatar Chin2014-12-20
| |/ |/|
| * Kernel: Implement support for current thread pseudo-handleGravatar Yuri Kunde Schlesner2014-12-20
| | | | | | | | This boots a few (mostly Nintendo 1st party) games further.
* | Merge pull request #185 from purpasmart96/mem_permGravatar bunnei2014-12-17
|\ \ | | | | | | Kernel: Add missing permissions
* | | 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.