summaryrefslogtreecommitdiffstats
path: root/src/core/hle (follow)
Commit message (Collapse)AuthorAgeFilesLines
* kernel: updated SyncRequest to take boolean thread wait result as a parameterbunnei2014-05-275-10/+33
|
* svc: added some assertionsbunnei2014-05-271-6/+4
|
* service: Renamed Sync to SyncRequestbunnei2014-05-271-1/+1
|
* kernel: added enum for known CurrentThread and CurrentProcess handlesbunnei2014-05-271-0/+5
|
* srv: added a real mutex for GetProcSemaphore (instead of stubbed)bunnei2014-05-271-3/+10
|
* svc: changed SendSyncRequest to use Kernel::Object SyncRequest (instead of just service Interface class)bunnei2014-05-271-2/+2
|
* kernel: add a SyncRequest method to KernelObject for use with svcSendSyncRequestbunnei2014-05-274-6/+11
|
* svc: added stub for DuplicateHandle SVC callbunnei2014-05-271-1/+8
|
* svc: added a check to ensure that a service was implemented before attempting to connect to its portbunnei2014-05-231-1/+5
|
* thread: renamed "WaitCurThread" to "WaitCurrentThread", removed unused "reason" argumentbunnei2014-05-233-6/+6
|
* thread: removed unused SwitchContext/Reschedule reason field, added missing arg parameter to SVC CreateThreadbunnei2014-05-233-12/+9
|
* kernel: refactored function naming to remove "__" prefixbunnei2014-05-235-62/+72
|
* thread: moved ThreadStatus/WaitType to header, added support for arg on CreateThread, added correct CPSR resetbunnei2014-05-232-35/+40
|
* APT_U: added a debug log on calling GetLockHandlebunnei2014-05-231-0/+1
|
* thread: fixed bug where result of __NextThread was not being properly checked when NULLbunnei2014-05-221-1/+1
|
* svc: added Kernel::Reschedule to svc WaitSynchronization1, updated log messages to include newly created handlesbunnei2014-05-221-4/+7
|
* svc: enabled use of newly created kernel thread handlebunnei2014-05-211-5/+5
|
* mutex: refactored the interface to code to return a Mutex* handlebunnei2014-05-214-5/+16
|
* mutex: initial commit of HLE modulebunnei2014-05-214-10/+157
|
* svc: added some commentsbunnei2014-05-211-0/+7
|
* kernel: fixed include, in general include "common.h" not "common_types.h"bunnei2014-05-211-1/+1
|
* service: removed redundant include of common_types.hbunnei2014-05-211-1/+0
|
* thread: added correct lowest thread priority, added a thread priority check, and added some commentsbunnei2014-05-212-6/+10
|
* thread: exposed ResumeThreadFromWait function for use in other kernel modulesbunnei2014-05-212-8/+11
|
* thread: moved threading calls to the Kernel namespacebunnei2014-05-214-103/+117
|
* ARM_Interface: added SaveContext and LoadContext functions for HLE thread switchingbunnei2014-05-211-36/+2
|
* renamed "syscall" module to "svc" (more accurate naming)bunnei2014-05-216-17/+19
|
* thread: whitespace change - fixed * and & placementbunnei2014-05-212-27/+27
|
* - created a Kernel namespacebunnei2014-05-216-75/+87
| | | | | - cleaned up Kernel code a bit (moved stuff into namespace, fixed whitespace issues) - added handle types for all different CTROS handles
* apt: changed stubbed handle to be something other than 0xDEADBEEF (used as a magic value in other places) so that I can track how it propagates through the app codebunnei2014-05-201-1/+1
|
* thread: added declaration for __KernelReschedule to be used by syscall modulebunnei2014-05-201-0/+3
|
* renamed "session" to "handle"bunnei2014-05-191-3/+3
|
* - renamed NewHandle to CreateHandlebunnei2014-05-192-8/+8
| | | | - updated CreateHandle/DeleteHandle to use KernelObject's
* fix warningbunnei2014-05-191-1/+1
|
* - updated service(s) to be KernelObject'sbunnei2014-05-197-59/+31
| | | | - various cleanups
* renamed "UID" to "Handle" where appropriatebunnei2014-05-194-24/+22
|
* - moved Handle/Result definitions to kernel.hbunnei2014-05-196-14/+19
| | | | - added ResetType enum
* - added stub for CreateEventbunnei2014-05-181-8/+22
| | | | - changed some stubbed SVCs to return unique handle names for debugging purposes
* added stubbed function for WaitSynchronizationNbunnei2014-05-182-4/+19
|
* changed a commentbunnei2014-05-172-2/+2
|
* cleanups to SVC CreateThreadbunnei2014-05-171-8/+15
|
* - added enum ThreadProcessorIdbunnei2014-05-172-53/+107
| | | | | - reorganized some kernel thread functions - added placeholder __KernelWaitThread_Synchronization function
* - replaced KERNELOBJECT_MAX_NAME_LENGTH with KERNEL_MAX_NAME_LENGTHbunnei2014-05-173-8/+12
| | | | - added KERNEL_DEFAULT_STACK_SIZE definition (0x4000)
* added stubbed GetProcSemaphore - does nothing but avoids an exceptionbunnei2014-05-171-1/+7
|
* updated APT_U::GetLockHandle to return a valid handlebunnei2014-05-171-1/+5
|
* Merge master into threading to add support for VFPbunnei2014-05-172-21/+2
|\
| * - reenabled MCR and MRC functions now that VFP is attachedbunnei2014-05-172-21/+2
| | | | | | | | - removed HLE::CallMCR function (was pointless)
* | - added SVC stubs for QueryMemory and GetThreadIdbunnei2014-05-163-2/+30
| | | | | | | | - added SVC structs MemoryInfo and PageInfo
* | completely gutted/refactored threading code to be simplerbunnei2014-05-162-658/+230
| |
* | changed "UID" to "Handle" to be a little more consistent with CTR namingbunnei2014-05-162-18/+21
| |
* | - added ThreadContext structbunnei2014-05-162-8/+26
| | | | | | | | - cleaned up CreateThread svc
* | - added helper function for __KernelCreateThreadbunnei2014-05-152-4/+76
| | | | | | | | | | - added __KernelSwitchToThread for enabling a thread - added __KernelRotateThreadReadyQueue
* | changed primary thread priority to 0x30 - this is typical, not 0x31bunnei2014-05-151-1/+2
| |
* | added function stubs for EatCycles and ReSchedulebunnei2014-05-152-0/+15
| |
* | fixed thread reset to not set stack addressbunnei2014-05-141-1/+1
| |
* | various cleanups / remove unused codebunnei2014-05-142-65/+29
| |
* | added a bunch of threading code, recycled from PPSSPP, with lots of hacks in for 3DS... doesn't really do much yet. Just a jumping off pointbunnei2014-05-142-70/+543
| |
* | added CreateThread, CreateMutex, and ReleaseMutex SVC stubs (just parameter decoding for now)bunnei2014-05-142-7/+38
| |
* | - added __KernelLoadExec functionbunnei2014-05-142-13/+35
| | | | | | | | - fixed some logging
* | added initial kernel/thread modulesbunnei2014-05-104-0/+527
|/
* removed unknown fields from GX_CmdBufferHeaderbunnei2014-05-081-5/+0
|
* removed unnecessary log messagebunnei2014-05-081-1/+1
|
* - removed HLE mem "hack" and replaced with kernel mem regionbunnei2014-05-087-105/+89
| | | | | - added a helper function for getting command buffer for services - fixed bug where GSP DMA was incorrectly being done in DataSynchronizationBarrier (instead of gsp_TriggerCmdReqQueue)
* - added debug logging to syscall.cppbunnei2014-05-072-135/+173
| | | | - added stubbed HLE syscall functions for svc_GetResourceLimit and svc_GetResourceLimitCurrentValues
* added config_mem module for HLE of firmware configuration memory settingsbunnei2014-05-072-0/+91
|
* - added CallMCR function to coprocessor HLE modulebunnei2014-05-022-7/+20
| | | | - moved instruction decoding to coprocessor HLE module
* fixed include in coprocessor.cppbunnei2014-05-021-1/+1
|
* renamed hle "mrc" module to "coprocessor"bunnei2014-05-022-0/+0
|
* - added some function wrappers for HLEbunnei2014-05-022-10/+29
| | | | | - added stub for SVC CreateAddressArbiter - added OutputDebugString SVC
* removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable classbunnei2014-04-283-9/+0
|
* fixed weird spacingbunnei2014-04-281-1/+1
|
* hackish but working way to set the framebuffer location to VRAM (used in ARM11 demos tested thus far, e.g. yeti3DS)bunnei2014-04-271-3/+9
|
* added simple GSP GPU ReadHWRegs function to support returning the framebuffer addressbunnei2014-04-261-1/+37
|
* added preliminary DataSynchronizationBarrier support with simple DMA copybunnei2014-04-261-7/+39
|
* moved HLE::MRC to its own module, added support for catching data synchronization barrier commandbunnei2014-04-254-10/+52
|
* fixed bug where svc_ControlMemory was not properly getting passed in parametersbunnei2014-04-251-2/+2
|
* - added preliminary support for svc_MapMemoryBlockbunnei2014-04-251-4/+34
| | | | | - added shared memory region - moarrrr cleanups to memory_map
* added GSP::RegisterInterruptRelayQueue functionbunnei2014-04-251-31/+40
|
* - refactored how service functions are calledbunnei2014-04-255-19/+39
| | | | - added option to create/delete service handles
* renamed hw_lcd module to just lcdbunnei2014-04-181-2/+0
|
* added GSP heap memory allocationbunnei2014-04-181-1/+25
|
* added a new function wrapperbunnei2014-04-171-0/+5
|
* fixed bug with printing std::string in log messagesbunnei2014-04-171-2/+2
|
* added class stub for HID:User servicebunnei2014-04-173-0/+72
|
* updated service commentsbunnei2014-04-176-5/+17
|
* - fixed tabs in function_wrappers.hbunnei2014-04-174-395/+413
| | | | | - fixed log message wording in hle.cpp - added syscall stubs for CloseHandle and WaitSynchronization1
* - added stubbed out GSP::Gpu service interfacebunnei2014-04-167-7/+103
| | | | - various cleanups/refactors to HLE services
* removed no longer used function headerbunnei2014-04-161-2/+0
|
* restructured hle:services completely to use function lookup tablesbunnei2014-04-165-137/+215
|
* fixed naming for APT_Ubunnei2014-04-163-9/+9
|
* - extracted srv: calls from service.cpp and put in its own modulebunnei2014-04-164-106/+105
| | | | | - added function tables for service calls - lots of refactoring
* added a stub for GetLockHandlebunnei2014-04-143-9/+44
|
* added framework for APT service (application and title launching service)bunnei2014-04-135-5/+118
|
* renamed class Interface_SRV to SRVbunnei2014-04-131-6/+6
|
* added some very initial command parsing for SRV Syncbunnei2014-04-131-5/+31
|
* added a GetPointer function for reading from HLE command bufferbunnei2014-04-132-0/+14
|
* added OS memory read/write for thread command bufferbunnei2014-04-132-3/+55
|
* cleanups to service HLEbunnei2014-04-132-8/+8
|
* - added HLE to connect to "srv:" servicebunnei2014-04-135-130/+328
| | | | | | - added a manager for keeping track of services/ports - added a memory mapped region for memory accessed by HLE - added HLE for GetThreadCommandBuffer function
* - renamed hle_syscall to just syscallbunnei2014-04-125-101/+145
| | | | - added service.h as an initial service interface
* replace tabs with spacesbunnei2014-04-121-6/+6
|
* moved hle.cpp into hle folder (due to mistake earlier)bunnei2014-04-121-0/+57
|
* added remaining known syscall functions to Syscall_Tablebunnei2014-04-111-0/+80
|
* base code to call a syscall from ARM11 appcorebunnei2014-04-113-7/+56
|
* changed some naming/misc cleanupsbunnei2014-04-113-18/+17
|
* - removed syscall classes (will just use HLEFunction)bunnei2014-04-113-15/+17
| | | | | - added hle.cpp and module registration - removed unused code
* added initial modules for setting up SysCall HLEbunnei2014-04-114-0/+825