aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
AgeCommit message (Collapse)Author
2020-04-24Merge pull request #3780 from lioncash/processbunnei
svc: Re-add MapProcessCodeMemory/UnmapProcessCodeMemory
2020-04-23Merge pull request #3777 from lioncash/warnRodrigo Locatti
page_table: Remove unused captures
2020-04-23Merge pull request #3778 from lioncash/unused-varRodrigo Locatti
svc: Remove unused variable
2020-04-23shared_memory: Amend doxygen referenceLioncash
Amends the parameter to match the documentation reference. Resolves a -Wdocumentation warning with clang.
2020-04-23svc: Re-add MapProcessCodeMemory/UnmapProcessCodeMemoryLioncash
These were lost in the re-implementation of the virtual memory manager.
2020-04-23svc: Remove unused variableLioncash
Since the VMM refactor, this is no longer used or needed.
2020-04-23page_table: Remove unused capturesLioncash
Any time the lambda function is called, the permission being used in the capture would be passed in as an argument to the lambda, so the capture is unnecessary.
2020-04-23kernel: memory: Improve implementation of device shared memory. (#3707)bunnei
* kernel: memory: Improve implementation of device shared memory. * fixup! kernel: memory: Improve implementation of device shared memory. * fixup! kernel: memory: Improve implementation of device shared memory.
2020-04-22Merge pull request #3725 from MerryMage/fpcrbunnei
thread: FPCR.FZ is likely not 1 (and FPCR.RMode = TieAway and FPCR.DN = 0)
2020-04-19Merge pull request #3696 from lioncash/cast-sizebunnei
hle_ipc: Remove std::size_t casts where applicable
2020-04-19thread: FPCR.FZ is likely not 1MerryMage
2020-04-17memory/slab_heap: Make use of static_cast over reinterpret_castLioncash
Casting from void* with static_cast is permitted by the standard, so we can just make use of that instead.
2020-04-17core: hle: Address various feedback & code cleanup.bunnei
- Should be no functional changes.
2020-04-17memory: Add copyright notice for Atmosphere where applicable.bunnei
2020-04-17kernel: Remove old VMManager class.bunnei
2020-04-17kernel: memory: page_table: Simplify GetPhysicalAddr impl.bunnei
2020-04-17kernel: svc: Updates for new VMM.bunnei
- Includes removing some SVC impls. that are untested.
2020-04-17kernel: process: Updates for new VMM.bunnei
2020-04-17kernel: resource_limit: Reserve physical memory.bunnei
2020-04-17kernel: Initialize memory layout for new VMM.bunnei
2020-04-17core: system: Rename GetDeviceManager -> DeviceManager.bunnei
- More consistent with other system components.
2020-04-17kernel: transfer_memory: Refactor for new VMM.bunnei
2020-04-17kernel: shared_memory: Refactor for new VMM.bunnei
2020-04-17kernel: errors: Add ERR_OUT_OF_RESOURCES.bunnei
2020-04-17kernel: process_capability: Update to use Memory::PageTable.bunnei
2020-04-17kernel: memory: Add PageTable class, to manage process address space.bunnei
2020-04-17kernel: memory: Add MemoryLayout class, to build physical memory layout.bunnei
2020-04-17kernel: memory: Add MemoryManager class, to manage page heaps.bunnei
2020-04-17kernel: memory: Add MemoryBlockManager class, to manage memory blocks.bunnei
2020-04-17kernel: memory: Add PageHeap class, to manage a heap of pages.bunnei
2020-04-17kernel: memory: Add PageLinkedList class, to manage a list of pages.bunnei
2020-04-17kernel: memory: Add system_control code, which will be used for ASLR support.bunnei
2020-04-17physical_memory: Add missing include for <vector>.bunnei
2020-04-17kernel: memory: Add MemoryBlock class, for managing memory blocks and their ↵bunnei
state.
2020-04-17kernel: memory: Add memory_types.h, for things that are commonly used in ↵bunnei
memory code.
2020-04-17kernel: memory: Add SlabHeap class, for managing memory heaps.bunnei
- This will be used for TLS pages, among other things.
2020-04-17kernel: memory: Add AddressSpaceInfo class, for managing the memory address ↵bunnei
space.
2020-04-17core: memory: Move to Core::Memory namespace.bunnei
- helpful to disambiguate Kernel::Memory namespace.
2020-04-17core: kernel: Add svc_types header to include SVC-specific types.bunnei
2020-04-17core: kernel: Move SVC to its own namesapce.bunnei
2020-04-17kernel: resource_limit: Improvements to implementation.bunnei
2020-04-17process: SetupMainThread: Zero out argument on process start.bunnei
2020-04-16Merge pull request #3671 from lioncash/switchbunnei
kernel/thread: Resolve -Wswitch warnings
2020-04-16hle_ipc: Remove std::size_t casts where applicableLioncash
These were added in the change that enabled -Wextra on linux builds so as not to introduce interface changes in the same change as a build-system flag addition. Now that the flags are enabled, we can freely change the interface to make these unnecessary.
2020-04-15CMakeLists: Specify -Wextra on linux buildsLioncash
Allows reporting more cases where logic errors may exist, such as implicit fallthrough cases, etc. We currently ignore unused parameters, since we currently have many cases where this is intentional (virtual interfaces). While we're at it, we can also tidy up any existing code that causes warnings. This also uncovered a few bugs as well.
2020-04-15CMakeLists: Make -Wreorder a compile-time errorLioncash
This can result in silent logic bugs within code, and given the amount of times these kind of warnings are caused, they should be flagged at compile-time so no new code is submitted with them.
2020-04-15kernel/thread: Resolve -Wswitch warningsLioncash
2020-03-02core: hle: Implement separate A32/A64 SVC interfaces.bunnei
2020-03-02core: Implement separate A32/A64 ARM interfaces.bunnei
2020-02-22Scheduler: Inline global scheduler in Scheduler Lock.Fernando Sahmkow