summaryrefslogtreecommitdiff
path: root/src/core/hle (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Stubbed y2r:u IsBusyConversionGravatar archshift2015-01-101-1/+16
| | | | | There is no documentation available on this function, but we set the result to false as a stub. This allows Super Little Acorns to move all the way in game with pp3c.
* Added Archive ID to fs:USER debug logs involving opening the archive.Gravatar archshift2015-01-101-3/+3
|
* Logging: Log all called service functions (under trace). Compile out all ↵Gravatar archshift2015-01-109-33/+22
| | | | trace logs under release for performance.
* Kernel: Start using boost::intrusive_ptr for lifetime managementGravatar Yuri Kunde Schlesner2015-01-0912-90/+95
|
* Kernel: Don't re-assign object's handle when duplicating oneGravatar Yuri Kunde Schlesner2015-01-092-2/+3
|
* Merge pull request #444 from yuriks/handle-reform2Gravatar bunnei2015-01-0915-360/+289
|\ | | | | Kernel Lifetime Reform Pt. 2
| * Thread: Fix nullptr access in a logging functionGravatar Yuri Kunde Schlesner2015-01-091-1/+2
| |
| * Thread: Rename thread_queue => thread_listGravatar Yuri Kunde Schlesner2015-01-091-6/+6
| |
| * Thread: Reduce use of Handles and move some funcs to inside the class.Gravatar Yuri Kunde Schlesner2015-01-0910-301/+221
| |
| * Kernel: Move Thread's definition to the header fileGravatar Yuri Kunde Schlesner2015-01-093-53/+67
| |
| * Move ThreadContext to core/core.h and deal with the falloutGravatar Yuri Kunde Schlesner2015-01-098-19/+13
| |
* | Merge pull request #436 from kevinhartman/system-coreGravatar bunnei2015-01-091-0/+5
|\ \ | |/ |/| Warn if a new thread is intended to be run on the system CPU core
| * Warn if a new thread is intended to be run on the system CPU core until we ↵Gravatar Kevin Hartman2015-01-071-0/+5
| | | | | | | | implement correct scheduling for such a thread.
* | Merge pull request #255 from Subv/cbranch_3Gravatar bunnei2015-01-087-5/+232
|\ \ | | | | | | Implemented timers
| * | SVC: Implemented the Timer service calls.Gravatar Subv2015-01-087-5/+232
| | |
* | | SVC: Fixed SleepThread.Gravatar Subv2015-01-083-8/+43
| | | | | | | | | | | | 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-073-1/+35
| | | | | | | | | | | | 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.
* | | Merge pull request #404 from bunnei/more-frame-synch-fixesGravatar bunnei2015-01-071-1/+4
|\ \ \ | | | | | | | | GPU: Toggle active framebuffer each frame
| * | | GSP: Toggle active framebuffer each frameGravatar bunnei2015-01-071-1/+4
| | | |
* | | | Merge pull request #431 from yuriks/thread-queue-cleanupGravatar bunnei2015-01-071-1/+1
|\ \ \ \ | |_|/ / |/| | | Common: Clean up ThreadQueueList
| * | | Common: Clean up ThreadQueueListGravatar Yuri Kunde Schlesner2015-01-071-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | 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.
* / | Fix double-free in Service manager during shutdownGravatar Yuri Kunde Schlesner2015-01-072-25/+4
|/ / | | | | | | Fixes #423.
* | Merge pull request #376 from Subv/arc_reorderGravatar bunnei2015-01-064-18/+23
|\ \ | |/ |/| Archives: Change the folder layout of some archives.
| * Archives: Changed the unimplemented archives comment.Gravatar Subv2015-01-061-1/+1
| | | | | | | | It now refers to me as the PoC
| * Archives: Addressed some commentsGravatar Subv2015-01-061-2/+2
| |
| * Archives: Make SYSTEM_ID and SDCARD_ID stringsGravatar Subv2015-01-042-4/+4
| |
| * Archives: Changed the way paths are built for the archives.Gravatar Subv2015-01-034-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.Gravatar Subv2015-01-022-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_cleanGravatar bunnei2015-01-057-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 namesGravatar purpasmart962015-01-057-33/+36
| | |
* | | Merge pull request #272 from rohit-n/sign-compareGravatar bunnei2015-01-051-4/+4
|\ \ \ | | | | | | | | Silence some -Wsign-compare warnings.
| * | | Silence some -Wsign-compare warnings.Gravatar Rohit Nirmal2015-01-011-4/+4
| |/ /
* | | DSP: Signal (faked) interrupt on every frame.Gravatar 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 #407 from Subv/arbiterGravatar bunnei2015-01-051-0/+11
|\ \ \ | | | | | | | | AddressArbiter: Ported arbitration type 2 from 3dmoo.
| * | | AddressArbiter: Ported arbitration type 2 from 3dmoo.Gravatar Subv2015-01-031-0/+11
| | |/ | |/| | | | | | | (Thanks 3dmoo!)
* | | Merge pull request #408 from Subv/mutexGravatar bunnei2015-01-041-2/+2
|\ \ \ | | | | | | | | Mutex: Add the calling thread to the waiting list when needed
| * | | Mutex: Add the calling thread to the waiting list when neededGravatar Subv2015-01-041-2/+2
| |/ / | | | | | | | | | 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.
* | | Merge pull request #386 from archshift/y2ruGravatar bunnei2015-01-043-0/+70
|\ \ \ | |/ / |/| | Stub the y2r:u service
| * | Stub the y2r:u serviceGravatar archshift2015-01-033-0/+70
| |/
* | Archives: Reduced duplicate code in RomFS and SaveCheck.Gravatar Subv2015-01-022-4/+5
| | | | | | | | Fixed a few warnings and cleaned up the code
* | SaveDataCheck: Preliminary work in this archive.Gravatar Subv2015-01-022-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/pedanticGravatar bunnei2015-01-021-3/+3
|\ \ | | | | | | archive/elf: Minor misc changes.
| * | archive: Fix initializer list orderGravatar Lioncash2015-01-021-3/+3
| |/
* / soc_u: Fix a missing formatting argumentGravatar Lioncash2015-01-021-1/+1
|/
* SOC_U: Preliminary implementation of sockets.Gravatar Subv2014-12-314-22/+721
| | | | | | | | | | | | | 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 changesGravatar Subv2014-12-291-12/+12
|
* Archives: Implemented ExtSaveData and SharedExtSaveDataGravatar Subv2014-12-295-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 managerGravatar Yuri Kunde Schlesner2014-12-2813-168/+209
| | | | | | | | | | | 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-288-15/+15
|
* Rename ObjectPool to HandleTableGravatar Yuri Kunde Schlesner2014-12-2812-54/+54
|