aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle
AgeCommit message (Collapse)Author
2014-08-19Core: Use std::array for managing kernel object spaceLioncash
These avoid relying on memset for clearing the arrays.
2014-08-18Merge pull request #55 from lioncash/stringbunnei
Core: Alter the kernel string functions to use std::string instead of const char*.
2014-08-18SVC: Added support for svc_GetSystemTick.bunnei
Changed HLE function return methods to be static inline functions.
2014-08-17Core: Alter the kernel string functions to use std::string instead of const ↵Lioncash
char*. Most functions already operate on std::strings. This also removes the need to manually null terminate thread names.
2014-08-17Core: Fix a formatting error in svc.cppLioncash
entry_point would not be added to the string. Also used StringFromFormat so that the buffer is unnecessary.
2014-08-12Merge pull request #39 from bunnei/hid-minor-improvementsbunnei
Hid minor improvements
2014-08-12HID: Added new function entries from 3dbrew to FunctionTable.bunnei
HID: Fix typo with DisableGyroscopeLow command.
2014-08-12Pica/GPU: Change hardware registers to use physical addresses rather than ↵Tony Wasserka
virtual ones. 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.
2014-08-12GSP: Fix a major regression introduced in ffda035c, due to which no display ↵Tony Wasserka
transfers were triggered at all anymore.
2014-08-12Remove the fancy RegisterSet class introduced in 4c2bff61e.Tony Wasserka
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.
2014-08-07HID: Implemented HID_User::GetIPCHandles service function.bunnei
2014-08-07SVC: Fixed typo with MapMemoryBlock DEBUG_LOG call.bunnei
2014-08-06Thread: Added more descriptive comment to WaitCurrentThread.bunnei
2014-08-06GSP: Cleaned up command buffer decoding.bunnei
GSP: Cleaned up code and added additional comments. GSP: Removed unnecessary TODO comment. GSP: Changed u32 iterators in TriggerCmdReqQueue to unsigned.
2014-08-05GSP: Added reinitialization of other state objects.bunnei
2014-08-05GSP: Removed dumb GX prefixes to functions/structs in GSP namespace.bunnei
- Various other cleanups.
2014-08-05GSP: Removed unnecessary GX_FinishCommand function.bunnei
2014-08-05GSP: Implements preliminary command synchronization via GPU interrupts.bunnei
Core: Added a comment to explain the logic for the RunLoop iterations.
2014-08-05AddressArbiter: Removed unnecessary HLE::Reschedule.bunnei
2014-08-05AddressArbiter: Fixed bug with break statements missing from case statements.bunnei
2014-08-05SRV: Updated GetProcSemaphore to create an event instead of a mutex.bunnei
2014-08-05SVC: Removed ArbitrateAddress log message that spams to much.bunnei
2014-08-05Kernel: Updated Event and Mutex to specify handle that they are blocking for.bunnei
2014-08-05FS: Fix port name (old port name was based on an unaligned memory read).bunnei
2014-07-23Fix a few warnings.Tony Wasserka
Templates shouldn't be marked as inline if they aren't defined in the header.
2014-07-23GSP: Add a few comments.Tony Wasserka
2014-07-23GSP: Clean up GX command processing a lot and treat command id as a u8 ↵Tony Wasserka
rather than a u32. Anonymous structs are not standard C++, hence don't use them.
2014-07-23GPU: Make use of RegisterSet.Tony Wasserka
2014-07-23GPU: Emulate memory fills.Tony Wasserka
2014-07-23GSP: HLE GXCommandId::SET_DISPLAY_TRANSFER and GXCommandId::SET_TEXTURE_COPY.Tony Wasserka
2014-07-23GSP: Implement ReadHWRegs and WriteHWRegs properly.Tony Wasserka
2014-07-08Kernel: Added preliminary support for address arbiters.bunnei
AddressArbiter: Added documentation comment, fixed whitespace issue. AddressArbiter: Fixed incorrect comment, reordered if-statement to be more clear. SVC: Removed trailing whitespace.
2014-07-08Thread: Added functions to resume threads from address arbitration.bunnei
Thread: Cleaned up arbitrate address functions. Thread: Cleaned up ArbitrateAllThreads function.
2014-07-07function_wrappers: Fixed incorrect wrapper, added another.bunnei
2014-07-05SharedMemory: Updated MapSharedMemory to use an enum for permissions.bunnei
- Also added some safety checks to MapSharedMemory.
2014-07-05GSP: Fixed to use real shared memory object, various cleanups.bunnei
- 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.
2014-07-05Kernel: Added support for shared memory objects.bunnei
SharedMemory: Added optional name field for tracking known objects.
2014-07-04Archive: Added Init/Shutdown methods to reset kernel archive state.bunnei
2014-07-04FileSys: Added preliminary support for applications reading the RomFS archive.bunnei
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.
2014-07-04APT: Added stubbed ReceiveParameter and various cleanups.bunnei
APT: More cleanups. APT: Changed SignalType to be type u32.
2014-06-27FS: Added stubbed code to intercept and decode file system service functions.bunnei
FS: Added to CMakeLists.txt
2014-06-27Kernel: Added stubbed code to support creation of kernel Archive objects.bunnei
2014-06-14Merge branch 'threading' of https://github.com/bunnei/citrabunnei
Conflicts: src/core/hle/function_wrappers.h src/core/hle/service/gsp.cpp
2014-06-13Kernel: Removed unnecessary "#pragma once".bunnei
2014-06-13Kernel: Added freeing of kernel objects on emulator shutdown.bunnei
2014-06-13Event: Updated several log messages to be assertions.bunnei
2014-06-13HLE: Moved "PARAM" and "RETURN" macros to function_wrappers.h (this is only ↵bunnei
module where they are needed).
2014-06-13SVC: Renamed all function wrapper templates to Wrap, moved to HLE namespace.bunnei
2014-06-13Thread: Renamed occurrences of "t" to "thread" to improve readability.bunnei
2014-06-13Thread: Cleaned up VerifyWait, fixed issue where nullptr msg could ↵bunnei
unnecessarily be logged.