summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | dyncom: Remove unused structsGravatar Lioncash2015-05-141-8/+0
| |/ /
* | | Core/ResourceLimits: Implemented the basic structure of ResourceLimits.Gravatar Subv2015-05-1412-14/+341
| | | | | | | | | | | | | | | | | | 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.
* | | Memory: Use a table based lookup scheme to read from memory regionsGravatar Yuri Kunde Schlesner2015-05-155-128/+174
| | |
* | | Memory: Read SharedPage directly from Memory::ReadGravatar Yuri Kunde Schlesner2015-05-153-59/+37
| | |
* | | Memory: Read ConfigMem directly from Memory::ReadGravatar Yuri Kunde Schlesner2015-05-153-50/+38
| | |
* | | Memmap: Re-organize memory function in two filesGravatar Yuri Kunde Schlesner2015-05-1526-257/+247
| | | | | | | | | | | | | | | | | | | | | 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.
* | | Memmap: Remove unused declarationsGravatar Yuri Kunde Schlesner2015-05-152-20/+3
| | |
* | | thread: Fix a conditional check in RescheduleGravatar Lioncash2015-05-141-1/+1
|/ /
* | dyncom: Removed irrelevant log.Gravatar bunnei2015-05-141-2/+0
| |
* | dyncom: Fix decoding of BKPT's immediateGravatar Lioncash2015-05-131-1/+1
|/ | | | A shift here is intended since the representation is imm12:imm4
* Merge pull request #756 from purpasmart96/ptm_service_changesGravatar bunnei2015-05-125-125/+112
|\ | | | | PTM: Changed the ptm services to be like the IR, HID, and APT services.
| * PTM: Changed the way the ptm services are handled to be like theGravatar purpasmart962015-05-115-125/+112
| | | | | | | | IR, HID, and APT services.
* | Merge pull request #748 from Subv/tls_maxGravatar bunnei2015-05-114-10/+24
|\ \ | | | | | | Core/Memory: Add TLS support for creating up to 300 threads
| * | Core/Memory: Add TLS support for creating up to 300 threadsGravatar Subv2015-05-114-10/+24
| | |
* | | Merge pull request #751 from yuriks/idle-threadGravatar bunnei2015-05-113-46/+21
|\ \ \ | | | | | | | | Thread: Remove the idle thread
| * | | Thread: Remove the idle threadGravatar Yuri Kunde Schlesner2015-05-113-46/+21
| | | | | | | | | | | | | | | | Instead just use nullptr to represent no thread is active.
* | | | Merge pull request #757 from Subv/schedulingGravatar bunnei2015-05-111-0/+2
|\ \ \ \ | | | | | | | | | | Core/Scheduling: Prepare the new priority in the thread queue when svcSetPriority is called
| * | | | Core/Scheduling: Prepare the new priority in the thread queue when ↵Gravatar Subv2015-05-111-0/+2
| |/ / / | | | | | | | | | | | | svcSetPriority is called
* | | | Merge pull request #752 from lioncash/flushGravatar bunnei2015-05-113-84/+98
|\ \ \ \ | | | | | | | | | | vfp: Handle flush-to-zero mode.
| * | | | vfp: Handle flush-to-zero mode.Gravatar Lioncash2015-05-113-84/+98
| |/ / /
* | | | Merge pull request #755 from lioncash/mcrr-mrrcGravatar bunnei2015-05-111-7/+68
|\ \ \ \ | |_|/ / |/| | | dyncom: Stub MCRR and MRRC
| * | | dyncom: Stub MCRR and MRRCGravatar Lioncash2015-05-111-7/+68
| |/ / | | | | | | | | | | | | 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.
* | | Merge pull request #750 from Subv/process_svcGravatar Yuri Kunde Schlesner2015-05-116-4/+46
|\ \ \ | |_|/ |/| | Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThread
| * | fixup!Gravatar Subv2015-05-113-16/+12
| | |
| * | Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThreadGravatar Subv2015-05-116-4/+50
| | |
* | | NWM_UDS: Fix a typo in the nwm service port nameGravatar purpasmart962015-05-111-1/+1
| |/ |/|
* | Thread: Correctly set main thread initial stack positionGravatar Yuri Kunde Schlesner2015-05-113-5/+4
|/
* Merge pull request #740 from yuriks/gsp-shmemGravatar archshift2015-05-107-34/+67
|\ | | | | Fix crashes due to un-initialized GSP shared memory
| * fixup! GSP: Small tweaks to shared memory initializationGravatar Yuri Kunde Schlesner2015-05-101-1/+1
| |
| * GSP: Small tweaks to shared memory initializationGravatar Yuri Kunde Schlesner2015-05-101-9/+11
| |
| * Kernel: Zero-fill shared memory blocks when mappingGravatar Yuri Kunde Schlesner2015-05-101-0/+8
| | | | | | | | | | | | 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.
| * Kernel: Capture SharedMemory attributes at creation, not when mappingGravatar Yuri Kunde Schlesner2015-05-107-28/+51
| |
* | fixup! Set the TLS address in the schedulerGravatar Subv2015-05-106-11/+10
| |
* | Core/Memory: Give every emulated thread it's own TLS area.Gravatar Subv2015-05-108-11/+31
|/ | | | | 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.
* Common: Remove the BIT macroGravatar Yuri Kunde Schlesner2015-05-091-2/+2
| | | | | | | 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.
* Merge pull request #734 from yuriks/memmapGravatar Tony Wasserka2015-05-0910-167/+181
|\ | | | | Small memory map definitions cleanup
| * Memory: Add GetPhysicalPointer helper functionGravatar Yuri Kunde Schlesner2015-05-092-5/+14
| |
| * Memory: Support more regions in the VAddr-PAddr translation functionsGravatar Yuri Kunde Schlesner2015-05-092-28/+33
| | | | | | | | | | Also adds better documentation and removes the one-off reimplementation of the function in pica.h.
| * Memory: Sort memory region variables by VAddrGravatar Yuri Kunde Schlesner2015-05-092-10/+10
| |
| * Memory: Re-organize and rename memory area address constantsGravatar Yuri Kunde Schlesner2015-05-099-131/+131
| |
* | Loader: Add missing includeGravatar Yuri Kunde Schlesner2015-05-091-0/+1
|/
* Loader: Remove .bin file supportGravatar Yuri Kunde Schlesner2015-05-082-20/+0
| | | | | It is of very limited practical utility currently, and will soon be impossible to support due to more accurate memory map emulation.
* Kernel: Remove unused g_main_thread variableGravatar Yuri Kunde Schlesner2015-05-083-5/+1
|
* Process: Rename StaticAddressMapping => AddressMappingGravatar Yuri Kunde Schlesner2015-05-086-10/+10
|
* Process: Add more documentation to the class membersGravatar Yuri Kunde Schlesner2015-05-081-2/+16
|
* Process: Use BitField to store process flagsGravatar Yuri Kunde Schlesner2015-05-082-16/+24
|
* Loader/NCCH: Fix formatting of bracesGravatar Yuri Kunde Schlesner2015-05-081-9/+9
|
* Process: Support parsing of exheader kernel capsGravatar Yuri Kunde Schlesner2015-05-086-4/+77
|
* Kernel: Remove g_program_idGravatar Yuri Kunde Schlesner2015-05-086-21/+3
| | | | This has been obsoleted by the field in Process.
* Kernel: Introduce skeleton Process class to hold process dataGravatar Yuri Kunde Schlesner2015-05-0813-48/+191
|