Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - added stub for CreateEvent | bunnei | 2014-05-18 | 1 | -8/+22 |
| | | | | - changed some stubbed SVCs to return unique handle names for debugging purposes | ||||
* | added stubbed function for WaitSynchronizationN | bunnei | 2014-05-18 | 2 | -4/+19 |
| | |||||
* | changed a comment | bunnei | 2014-05-17 | 2 | -2/+2 |
| | |||||
* | cleanups to SVC CreateThread | bunnei | 2014-05-17 | 1 | -8/+15 |
| | |||||
* | - added enum ThreadProcessorId | bunnei | 2014-05-17 | 2 | -53/+107 |
| | | | | | - reorganized some kernel thread functions - added placeholder __KernelWaitThread_Synchronization function | ||||
* | - replaced KERNELOBJECT_MAX_NAME_LENGTH with KERNEL_MAX_NAME_LENGTH | bunnei | 2014-05-17 | 3 | -8/+12 |
| | | | | - added KERNEL_DEFAULT_STACK_SIZE definition (0x4000) | ||||
* | added stubbed GetProcSemaphore - does nothing but avoids an exception | bunnei | 2014-05-17 | 1 | -1/+7 |
| | |||||
* | updated APT_U::GetLockHandle to return a valid handle | bunnei | 2014-05-17 | 1 | -1/+5 |
| | |||||
* | Merge master into threading to add support for VFP | bunnei | 2014-05-17 | 2 | -21/+2 |
|\ | |||||
| * | - reenabled MCR and MRC functions now that VFP is attached | bunnei | 2014-05-17 | 2 | -21/+2 |
| | | | | | | | | - removed HLE::CallMCR function (was pointless) | ||||
* | | - added SVC stubs for QueryMemory and GetThreadId | bunnei | 2014-05-16 | 3 | -2/+30 |
| | | | | | | | | - added SVC structs MemoryInfo and PageInfo | ||||
* | | completely gutted/refactored threading code to be simpler | bunnei | 2014-05-16 | 2 | -658/+230 |
| | | |||||
* | | changed "UID" to "Handle" to be a little more consistent with CTR naming | bunnei | 2014-05-16 | 2 | -18/+21 |
| | | |||||
* | | - added ThreadContext struct | bunnei | 2014-05-16 | 2 | -8/+26 |
| | | | | | | | | - cleaned up CreateThread svc | ||||
* | | - added helper function for __KernelCreateThread | bunnei | 2014-05-15 | 2 | -4/+76 |
| | | | | | | | | | | - added __KernelSwitchToThread for enabling a thread - added __KernelRotateThreadReadyQueue | ||||
* | | changed primary thread priority to 0x30 - this is typical, not 0x31 | bunnei | 2014-05-15 | 1 | -1/+2 |
| | | |||||
* | | added function stubs for EatCycles and ReSchedule | bunnei | 2014-05-15 | 2 | -0/+15 |
| | | |||||
* | | fixed thread reset to not set stack address | bunnei | 2014-05-14 | 1 | -1/+1 |
| | | |||||
* | | various cleanups / remove unused code | bunnei | 2014-05-14 | 2 | -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 point | bunnei | 2014-05-14 | 2 | -70/+543 |
| | | |||||
* | | added CreateThread, CreateMutex, and ReleaseMutex SVC stubs (just parameter decoding for now) | bunnei | 2014-05-14 | 2 | -7/+38 |
| | | |||||
* | | - added __KernelLoadExec function | bunnei | 2014-05-14 | 2 | -13/+35 |
| | | | | | | | | - fixed some logging | ||||
* | | added initial kernel/thread modules | bunnei | 2014-05-10 | 4 | -0/+527 |
|/ | |||||
* | removed unknown fields from GX_CmdBufferHeader | bunnei | 2014-05-08 | 1 | -5/+0 |
| | |||||
* | removed unnecessary log message | bunnei | 2014-05-08 | 1 | -1/+1 |
| | |||||
* | - removed HLE mem "hack" and replaced with kernel mem region | bunnei | 2014-05-08 | 7 | -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.cpp | bunnei | 2014-05-07 | 2 | -135/+173 |
| | | | | - added stubbed HLE syscall functions for svc_GetResourceLimit and svc_GetResourceLimitCurrentValues | ||||
* | added config_mem module for HLE of firmware configuration memory settings | bunnei | 2014-05-07 | 2 | -0/+91 |
| | |||||
* | - added CallMCR function to coprocessor HLE module | bunnei | 2014-05-02 | 2 | -7/+20 |
| | | | | - moved instruction decoding to coprocessor HLE module | ||||
* | fixed include in coprocessor.cpp | bunnei | 2014-05-02 | 1 | -1/+1 |
| | |||||
* | renamed hle "mrc" module to "coprocessor" | bunnei | 2014-05-02 | 2 | -0/+0 |
| | |||||
* | - added some function wrappers for HLE | bunnei | 2014-05-02 | 2 | -10/+29 |
| | | | | | - added stub for SVC CreateAddressArbiter - added OutputDebugString SVC | ||||
* | removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable class | bunnei | 2014-04-28 | 3 | -9/+0 |
| | |||||
* | fixed weird spacing | bunnei | 2014-04-28 | 1 | -1/+1 |
| | |||||
* | hackish but working way to set the framebuffer location to VRAM (used in ARM11 demos tested thus far, e.g. yeti3DS) | bunnei | 2014-04-27 | 1 | -3/+9 |
| | |||||
* | added simple GSP GPU ReadHWRegs function to support returning the framebuffer address | bunnei | 2014-04-26 | 1 | -1/+37 |
| | |||||
* | added preliminary DataSynchronizationBarrier support with simple DMA copy | bunnei | 2014-04-26 | 1 | -7/+39 |
| | |||||
* | moved HLE::MRC to its own module, added support for catching data synchronization barrier command | bunnei | 2014-04-25 | 4 | -10/+52 |
| | |||||
* | fixed bug where svc_ControlMemory was not properly getting passed in parameters | bunnei | 2014-04-25 | 1 | -2/+2 |
| | |||||
* | - added preliminary support for svc_MapMemoryBlock | bunnei | 2014-04-25 | 1 | -4/+34 |
| | | | | | - added shared memory region - moarrrr cleanups to memory_map | ||||
* | added GSP::RegisterInterruptRelayQueue function | bunnei | 2014-04-25 | 1 | -31/+40 |
| | |||||
* | - refactored how service functions are called | bunnei | 2014-04-25 | 5 | -19/+39 |
| | | | | - added option to create/delete service handles | ||||
* | renamed hw_lcd module to just lcd | bunnei | 2014-04-18 | 1 | -2/+0 |
| | |||||
* | added GSP heap memory allocation | bunnei | 2014-04-18 | 1 | -1/+25 |
| | |||||
* | added a new function wrapper | bunnei | 2014-04-17 | 1 | -0/+5 |
| | |||||
* | fixed bug with printing std::string in log messages | bunnei | 2014-04-17 | 1 | -2/+2 |
| | |||||
* | added class stub for HID:User service | bunnei | 2014-04-17 | 3 | -0/+72 |
| | |||||
* | updated service comments | bunnei | 2014-04-17 | 6 | -5/+17 |
| | |||||
* | - fixed tabs in function_wrappers.h | bunnei | 2014-04-17 | 4 | -395/+413 |
| | | | | | - fixed log message wording in hle.cpp - added syscall stubs for CloseHandle and WaitSynchronization1 | ||||
* | - added stubbed out GSP::Gpu service interface | bunnei | 2014-04-16 | 7 | -7/+103 |
| | | | | - various cleanups/refactors to HLE services | ||||
* | removed no longer used function header | bunnei | 2014-04-16 | 1 | -2/+0 |
| | |||||
* | restructured hle:services completely to use function lookup tables | bunnei | 2014-04-16 | 5 | -137/+215 |
| | |||||
* | fixed naming for APT_U | bunnei | 2014-04-16 | 3 | -9/+9 |
| | |||||
* | - extracted srv: calls from service.cpp and put in its own module | bunnei | 2014-04-16 | 4 | -106/+105 |
| | | | | | - added function tables for service calls - lots of refactoring | ||||
* | added a stub for GetLockHandle | bunnei | 2014-04-14 | 3 | -9/+44 |
| | |||||
* | added framework for APT service (application and title launching service) | bunnei | 2014-04-13 | 5 | -5/+118 |
| | |||||
* | renamed class Interface_SRV to SRV | bunnei | 2014-04-13 | 1 | -6/+6 |
| | |||||
* | added some very initial command parsing for SRV Sync | bunnei | 2014-04-13 | 1 | -5/+31 |
| | |||||
* | added a GetPointer function for reading from HLE command buffer | bunnei | 2014-04-13 | 2 | -0/+14 |
| | |||||
* | added OS memory read/write for thread command buffer | bunnei | 2014-04-13 | 2 | -3/+55 |
| | |||||
* | cleanups to service HLE | bunnei | 2014-04-13 | 2 | -8/+8 |
| | |||||
* | - added HLE to connect to "srv:" service | bunnei | 2014-04-13 | 5 | -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 syscall | bunnei | 2014-04-12 | 5 | -101/+145 |
| | | | | - added service.h as an initial service interface | ||||
* | replace tabs with spaces | bunnei | 2014-04-12 | 1 | -6/+6 |
| | |||||
* | moved hle.cpp into hle folder (due to mistake earlier) | bunnei | 2014-04-12 | 1 | -0/+57 |
| | |||||
* | added remaining known syscall functions to Syscall_Table | bunnei | 2014-04-11 | 1 | -0/+80 |
| | |||||
* | base code to call a syscall from ARM11 appcore | bunnei | 2014-04-11 | 3 | -7/+56 |
| | |||||
* | changed some naming/misc cleanups | bunnei | 2014-04-11 | 3 | -18/+17 |
| | |||||
* | - removed syscall classes (will just use HLEFunction) | bunnei | 2014-04-11 | 3 | -15/+17 |
| | | | | | - added hle.cpp and module registration - removed unused code | ||||
* | added initial modules for setting up SysCall HLE | bunnei | 2014-04-11 | 4 | -0/+825 |