| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Core: Replace a sprintf in core_timing with StringFromFormat
|
| | | |
|
|\ \ \
| | | |
| | | | |
Core: Get rid of unnecessary switch statement in Kernel
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
Core: Fix warnings in gpu.cpp
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
Small, general code cleanup
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace
|
| | | | |
|
| | |/
| |/|
| | |
| | | |
Instead of forcibly taking the last 4 characters, it now finds the last extension separator (the period) and takes a substr of its location.
|
|/ / |
|
|\ \
| | |
| | | |
core: Make the ARM disassembler use std::string internally
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Removed redundant headers for std implementations
|
| |/ |
|
|\ \
| | |
| | | |
core: Pass string by reference in FetchFromPortName and DeleteService
|
| |/ |
|
| |
| |
| |
| | |
In C++ you can simply just declare it as is.
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Several cleanups to the buildsystem:
- Do better factoring of common libs between platforms.
- Add support to building on Windows.
- Remove Qt4 support.
- Re-sort file lists and add missing headers.
|
|\
| |
| | |
Fix GPU/HW synchronization
|
| | |
|
| |
| |
| |
| |
| |
| | |
Core: Cleaned up comment to be more readable.
Citra: Changed loop to be more readable.
|
| |
| |
| |
| |
| |
| | |
- Useful for debugging homebrew
Qt: Updated GUI to support loading .bin files.
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Introduce VAddr and PAddr typedefs for ARM addresses.
|
| |/ |
|
| |
| |
| |
| |
| |
| | |
- Useful for debugging homebrew
Qt: Updated GUI to support loading .bin files.
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Added FS functions to Archive and Archive_RomFS
|
| | |
|
|/ |
|
|
|
|
| |
These avoid relying on memset for clearing the arrays.
|
|\
| |
| | |
Core: Alter the kernel string functions to use std::string instead of const char*.
|
| |
| |
| |
| | |
Most functions already operate on std::strings. This also removes the need to manually null terminate thread names.
|
|/
|
|
| |
Changed HLE function return methods to be static inline functions.
|
|\
| |
| | |
Core: Fix undefined behavior in mem_map_funcs' WriteBlock function
|
| | |
|
|/
|
|
|
| |
entry_point would not be added to the string. Also used StringFromFormat
so that the buffer is unnecessary.
|
|\
| |
| | |
Hid minor improvements
|
| |
| |
| |
| | |
HID: Fix typo with DisableGyroscopeLow command.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This cleans up the mess that address reading/writing had become and makes the code a *lot* more sensible.
This adds a physical<->virtual address converter to mem_map.h. For further accuracy, we will want to properly extend this to support a wider range of address regions. For now, this makes simply homebrew applications work in a good manner though.
|
| | |
|
|/
|
|
|
| |
While it was some nice and fancy template usage, it ultimately had many practical issues regarding length of involved expressions under regular usage as well as common code completion tools not being able to handle the structures.
Instead, we now use a more conventional approach which is a lot more clean to use.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
GSP: Cleaned up code and added additional comments.
GSP: Removed unnecessary TODO comment.
GSP: Changed u32 iterators in TriggerCmdReqQueue to unsigned.
|
| |
|
|
|
|
| |
- Various other cleanups.
|
| |
|
|
|
|
| |
Core: Added a comment to explain the logic for the RunLoop iterations.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Fix memory unaligned reads
|
| | |
|
| |
| |
| |
| |
| | |
- Unused code
- Was not correct for unaligned memory reads
|
| | |
|
| |
| |
| |
| | |
MemMap: Cleaned up Read32 unaligned memory access.
|
|/ |
|
| |
|
|
|
|
| |
Templates shouldn't be marked as inline if they aren't defined in the header.
|
|
|
|
| |
Also makes the illogical component order more obvious.
|
| |
|
| |
|
|
|
|
| |
Anonymous structs are not standard C++, hence don't use them.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
AddressArbiter: Added documentation comment, fixed whitespace issue.
AddressArbiter: Fixed incorrect comment, reordered if-statement to be more clear.
SVC: Removed trailing whitespace.
|
|
|
|
|
|
| |
Thread: Cleaned up arbitrate address functions.
Thread: Cleaned up ArbitrateAllThreads function.
|
| |
|
|
|
|
| |
- Also added some safety checks to MapSharedMemory.
|
| |
|
|
|
|
|
|
|
|
| |
- Previously, used a hard-coded shared memory handle of 0x10002000 (as used by libctru homebrew)
GSP: Added name for shared memory.
GSP: Cleaned up assertion message.
|
|
|
|
| |
SharedMemory: Added optional name field for tracking known objects.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
- Required "file" handle to be made local and explicitly opened/closed as needed
|
|
|
|
|
|
|
|
|
|
| |
Archive: Fixed brace ugliness for neobrain :)
FS: Commented out unused local variables to prevent warnings.
...But keeping them here for future use.
archive_romfs: Removed unused #include.
|
|
|
|
|
|
| |
APT: More cleanups.
APT: Changed SignalType to be type u32.
|
|
|
|
| |
NCCH: Removed extra qualification ‘Loader::AppLoader_NCCH::’.
|
|
|
|
| |
FS: Added to CMakeLists.txt
|
| |
|
|
|
|
| |
Core: Updated CMakeLists.txt to remove directory_file_system and meta_file_system modules.
|
|
|
|
| |
NCCH: Updated LoadExec to use Memory::WriteBlock function to load binary code.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Loader: Added ErrorNotUsed ReturnStatus type to specify when something is not used.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Various cleanups/refactorings to Loader, ELF, and NCCH modules.
- Added AppLoader interface to ELF and NCCH.
- Updated Qt/GLFW frontends to check AppLoader ResultStatus.
NCCH: Removed extra qualification typos.
Loader: Removed unnecessary #include's.
NCCH: Improved readability of memcmp statements.
NCCH: Added missing space.
Elf: Removed unnecessary usage of unique_ptr.
Loader: Removed unnecessary usage of unique_ptr.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
NCCH: Fixed typo in printing NCCH filename.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| | |
Conflicts:
src/core/hle/function_wrappers.h
src/core/hle/service/gsp.cpp
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- SVC: Added ExitThread support
- SVC: Added SignalEvent support
- Thread: Added WAITTYPE_EVENT for waiting threads for event signals
- Thread: Added support for blocking on other threads to finish (e.g. Thread::Join)
- Thread: Added debug function for printing current threads ready for execution
- Thread: Removed hack/broken thread ready state code from Kernel::Reschedule
- Mutex: Moved WaitCurrentThread from SVC to Mutex::WaitSynchronization
- Event: Added support for blocking threads on event signalling
Kernel: Added missing algorithm #include for use of std::find on non-Windows platforms.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
- force kernel reschedule after svcWaitSynchronization
- fixed some bugs with passing in pointer arguments
- cleaned up some comments and log messages
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\| |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
- cleaned up Kernel code a bit (moved stuff into namespace, fixed whitespace issues)
- added handle types for all different CTROS handles
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
- updated CreateHandle/DeleteHandle to use KernelObject's
|
| | |
|
| |
| |
| |
| | |
- various cleanups
|
| | |
|
| |
| |
| |
| | |
- added ResetType enum
|
| |
| |
| |
| | |
- changed some stubbed SVCs to return unique handle names for debugging purposes
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
- reorganized some kernel thread functions
- added placeholder __KernelWaitThread_Synchronization function
|
| | |
| | |
| | |
| | | |
- added KERNEL_DEFAULT_STACK_SIZE definition (0x4000)
|
| | | |
|
| | | |
|
| | | |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | | |
- added SVC structs MemoryInfo and PageInfo
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
- cleaned up CreateThread svc
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- added __KernelSwitchToThread for enabling a thread
- added __KernelRotateThreadReadyQueue
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
- fixed some logging
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
Fixes issues with building Citra on OSX
|
| | | |
| | | |
| | | |
| | | | |
Changes for clarity of comments, removed redundant compiler flags.
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | |/
| | |/| |
|
| | | | |
|
| |\ \ \ |
|
| | | | | |
|
| |\ \ \ \ |
|
| | | | | | |
|
| |_|_|/ /
|/| | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
- removed HLE::CallMCR function (was pointless)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- fixed some compiler issues with xscale_copro when porting code to Windows
- fixed some #include's
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| |_|_|/
|/| | |
| | | |
| | | | |
- added initial VFP code from skyeye
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- 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 stubbed HLE syscall functions for svc_GetResourceLimit and svc_GetResourceLimitCurrentValues
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
- handle RD in STREX/STREXB
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
- moved instruction decoding to coprocessor HLE module
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- added stub for SVC CreateAddressArbiter
- added OutputDebugString SVC
|
| | | |
| | | |
| | | |
| | | | |
- updated load launcher.dat function to use ARM11 format hack
|
| | | | |
|
| |_|/
|/| | |
|
| | | |
|
| |/
|/| |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
- added hooks to catch LCD IO read/writes
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- added shared memory region
- moarrrr cleanups to memory_map
|
| |
|
| |
|
|
|
|
| |
- added option to create/delete service handles
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
- fixed log message wording in hle.cpp
- added syscall stubs for CloseHandle and WaitSynchronization1
|
| |
| |
| |
| | |
- various cleanups/refactors to HLE services
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
- added function tables for service calls
- lots of refactoring
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
- added a manager for keeping track of services/ports
- added a memory mapped region for memory accessed by HLE
- added HLE for GetThreadCommandBuffer function
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
- added service.h as an initial service interface
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
- added hle.cpp and module registration
- removed unused code
|
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/
|/| |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
src/core/src/core.h
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
- cleaned up core.cpp a bit
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
-moved scratchpad memory out of MemArena
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|