Commit Graph

37 Commits (c96f22490a4a459d477f446fd4e5f894f580b69c)

Author SHA1 Message Date
Yuri Kunde Schlesner ecff2351a1 HLE: Clean up SVC dispatch mechanism 11 years ago
bunnei d3c2f9a4a4 HLE: Properly initialize and shutdown remaining modules. 11 years ago
Yuri Kunde Schlesner ad3e25b414 De-inline functions from Interface, removing them from service.h
This reduces the time for a full recompile from 65.43s to 59.53s (~9%)
11 years ago
Tony Wasserka 93e32bce72 Merge pull request #538 from yuriks/perf-stat
Add profiling infrastructure and widget
11 years ago
Subv 83a8975cb8 Services: Moved the PTM and APT services to their own folder
This coincidentally fixes an issue about the PTM service failing to create its SharedExtSaveData archive due to the FS service not being initialized by the time the creating code runs.

Ideally I'd like to move each process to its own folder, and have a single file per process that registers the service classes, which would be in their own files inside that folder. Then each service class would just call functions from the process to complete the commands.
11 years ago
Yuri Kunde Schlesner cd1fbfcf1b Add profiling infrastructure and widget 11 years ago
bunnei 745b42d236 Merge pull request #570 from purpasmart96/config_mem
ConfigMem: Clean up the Config memory to be more like the shared page
11 years ago
purpasmart96 c3c309f33d ConfigMem: Clean up the Config memory to be more like the shared page and moved
the helper macro for padding to common_funcs.h
11 years ago
Lioncash 0c6434c379 core: Apply static to local functions 11 years ago
archshift ef24e72b26 Asserts: break/crash program, fit to style guide; log.h->assert.h
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time)
As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing)

Also removed some GEKKO cruft.
11 years ago
archshift 1f109c6b49 Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxx 11 years ago
bunnei be8f665142 Merge pull request #383 from zhuowei/shared_page
Add some support for the shared page
11 years ago
Zhuowei Zhang edb8450420 Add some support for the shared page (currently 3d slider is implemented) 11 years ago
Yuri Kunde Schlesner 7b3452c730 Move ThreadContext to core/core.h and deal with the fallout 11 years ago
bunnei 4783133bbd ARM: Add a mechanism for faking CPU time elapsed during HLE.
- Also a few cleanups.
11 years ago
Subv 6115f013a9 CFG: Create a new subfolder cfg inside service to handle cfg
Moved most of the shared CFG code there, implemented a few CFG:I functions
11 years ago
purpasmart96 ebfd831ccb License change 11 years ago
Yuri Kunde Schlesner ca67bb7945 HLE: Rename namespaces to match move & fix initialization order 11 years ago
Yuri Kunde Schlesner 0600e2d8b5 Convert old logging calls to new logging macros 11 years ago
Emmanuel Gil Peyrot f5d38649c7 Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated 11 years ago
archshift 6e606c515f core: Prune redundant includes 11 years ago
bunnei 4620e2a741 HLE: Removed usnused EatCycles function. 12 years ago
bunnei c95972275e HLE: Updated all uses of NULL to nullptr (to be C++11 compliant) 12 years ago
bunnei 174cc9a0ed hle: added a hokey way to force a thread reschedule during CPU single step mode (as used by the debugger) 12 years ago
bunnei 10447d1f48 kernel: changed main thread priority to default, updated Kernel::Reschedule to use PrepareReschedule 12 years ago
bunnei c404d22036 hle: cleaned up log messages 12 years ago
bunnei 143bba2045 renamed "syscall" module to "svc" (more accurate naming) 12 years ago
bunnei 4d7f3c74fd added function stubs for EatCycles and ReSchedule 12 years ago
bunnei 72622a1b5a - removed HLE mem "hack" and replaced with kernel mem region
- 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)
12 years ago
bunnei cb0663de51 moved HLE::MRC to its own module, added support for catching data synchronization barrier command 12 years ago
bunnei de3dcd38f6 - fixed tabs in function_wrappers.h
- fixed log message wording in hle.cpp
- added syscall stubs for CloseHandle and WaitSynchronization1
12 years ago
bunnei 9f4d677cdf added framework for APT service (application and title launching service) 12 years ago
bunnei 67f6e41470 added a GetPointer function for reading from HLE command buffer 12 years ago
bunnei 6f6d5158de added OS memory read/write for thread command buffer 12 years ago
bunnei 68e198476f - added HLE to connect to "srv:" service
- added a manager for keeping track of services/ports
- added a memory mapped region for memory accessed by HLE
- added HLE for GetThreadCommandBuffer function
12 years ago
bunnei 02fbd42e7f - renamed hle_syscall to just syscall
- added service.h as an initial service interface
12 years ago
bunnei f6c328cf37 moved hle.cpp into hle folder (due to mistake earlier) 12 years ago