aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2015-05-14Core/ResourceLimits: Implemented the basic structure of ResourceLimits.Subv
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 Schlesner
2015-05-15Memory: Read SharedPage directly from Memory::ReadYuri Kunde Schlesner
2015-05-15Memory: Read ConfigMem directly from Memory::ReadYuri Kunde Schlesner
2015-05-15Memmap: Re-organize memory function in two filesYuri Kunde Schlesner
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-15Memmap: Remove unused declarationsYuri Kunde Schlesner
2015-05-14dyncom: Add ARMv6K NOP and hint instructions to the decoding tableLioncash
2015-05-14dyncom: Handle some MSR variants individuallyLioncash
This is necessary, as hint instructions will be recognized as MSR, which is pretty bad.
2015-05-14dyncom: Move exclusive load/stores above bbl and swi in the decoding tableLioncash
2015-05-14dyncom: Remove duplicate enums/prototypesLioncash
These are already defined in arm_dyncom_interpreter_dec.cpp.
2015-05-14dyncom: Remove unnecessary definesLioncash
These can simply be const vars.
2015-05-14dyncom: Make translation-unit functions and variables staticLioncash
2015-05-14vfp: Get rid of warningsLioncash
- Unary minus operator applied to unsigned type. - Unsafe use of bool.
2015-05-14process: Get rid of warningsLioncash
Sign mismatches and "forcing value to bool" warnings.
2015-05-14dyncom: Remove unnecessary typedefsLioncash
2015-05-14dyncom: Remove unused structsLioncash
2015-05-14thread: Fix a conditional check in RescheduleLioncash
2015-05-14dyncom: Removed irrelevant log.bunnei
2015-05-13dyncom: Fix decoding of BKPT's immediateLioncash
A shift here is intended since the representation is imm12:imm4
2015-05-12Merge pull request #756 from purpasmart96/ptm_service_changesbunnei
PTM: Changed the ptm services to be like the IR, HID, and APT services.
2015-05-11Merge pull request #748 from Subv/tls_maxbunnei
Core/Memory: Add TLS support for creating up to 300 threads
2015-05-11Merge pull request #751 from yuriks/idle-threadbunnei
Thread: Remove the idle thread
2015-05-11Merge pull request #757 from Subv/schedulingbunnei
Core/Scheduling: Prepare the new priority in the thread queue when svcSetPriority is called
2015-05-11Merge pull request #752 from lioncash/flushbunnei
vfp: Handle flush-to-zero mode.
2015-05-11Merge pull request #755 from lioncash/mcrr-mrrcbunnei
dyncom: Stub MCRR and MRRC
2015-05-11Thread: Remove the idle threadYuri Kunde Schlesner
Instead just use nullptr to represent no thread is active.
2015-05-11Core/Memory: Add TLS support for creating up to 300 threadsSubv
2015-05-11Merge pull request #750 from Subv/process_svcYuri Kunde Schlesner
Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThread
2015-05-11Core/Scheduling: Prepare the new priority in the thread queue when ↵Subv
svcSetPriority is called
2015-05-11PTM: Changed the way the ptm services are handled to be like thepurpasmart96
IR, HID, and APT services.
2015-05-11fixup!Subv
2015-05-11dyncom: Stub MCRR and MRRCLioncash
There's no other coprocessor outside the VFP (which has its own VMOV variants) in which the MPCore can send/retrieve data from. Stubbed so citra won't crash and burn on the odd chance someone actually tries to use these.
2015-05-11NWM_UDS: Fix a typo in the nwm service port namepurpasmart96
2015-05-11vfp: Handle flush-to-zero mode.Lioncash
2015-05-11Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThreadSubv
2015-05-11Thread: Correctly set main thread initial stack positionYuri Kunde Schlesner
2015-05-10Merge pull request #740 from yuriks/gsp-shmemarchshift
Fix crashes due to un-initialized GSP shared memory
2015-05-10fixup! Set the TLS address in the schedulerSubv
2015-05-10Core/Memory: Give every emulated thread it's own TLS area.Subv
The TLS area for thread T with id Ti is located at TLS_AREA_VADDR + (Ti - 1) * 0x200. This allows some games like Mario Kart 7 to continue further.
2015-05-10fixup! GSP: Small tweaks to shared memory initializationYuri Kunde Schlesner
2015-05-10GSP: Small tweaks to shared memory initializationYuri Kunde Schlesner
2015-05-10Kernel: Zero-fill shared memory blocks when mappingYuri Kunde Schlesner
This works around crashes related to GSP/HID/etc. shared memory blocks having garbage values. The proper fix requires proper management of mapped memory blocks in the process.
2015-05-10Kernel: Capture SharedMemory attributes at creation, not when mappingYuri Kunde Schlesner
2015-05-09Common: Remove the BIT macroYuri Kunde Schlesner
When the macro was introduced in 326ec51261299e48de97592631c02523da9c8118 it wasn't noticed that it conflicted in name with a heavily used macro inside of dyncom. This causes some compiler warnings. Since it's only lightly used, it was opted to simply remove the new macro.
2015-05-09Merge pull request #734 from yuriks/memmapTony Wasserka
Small memory map definitions cleanup
2015-05-09Loader: Add missing includeYuri Kunde Schlesner
2015-05-09Memory: Add GetPhysicalPointer helper functionYuri Kunde Schlesner
2015-05-09Memory: Support more regions in the VAddr-PAddr translation functionsYuri Kunde Schlesner
Also adds better documentation and removes the one-off reimplementation of the function in pica.h.
2015-05-09Memory: Sort memory region variables by VAddrYuri Kunde Schlesner
2015-05-09Memory: Re-organize and rename memory area address constantsYuri Kunde Schlesner