aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
AgeCommit message (Collapse)Author
2020-05-07Merge pull request #3879 from lioncash/global2bunnei
hle_ipc: Eliminate core memory globals
2020-05-05Merge pull request #3881 from lioncash/mem-warningbunnei
kernel/memory: Resolve several compiler warnings
2020-05-03kernel/memory: Remove #pragma once within cpp fileLioncash
This isn't necessary in a cpp file and will cause warnings on clang.
2020-05-03kernel/memory: Remove unused includesLioncash
Prevents header churn and needing to recompile these files if these headers are ever changed in the future.
2020-05-03kernel/memory: Remove unused variables in memory_block_managerLioncash
Prevents unused variable warnings.
2020-05-03kernel/memory: Make use of std::array consistently in address_space_infoLioncash
This allows tuning standard library implementations to enable or disable range checks at runtime, which is nicer for debugging.
2020-05-03kernel/memory: Resolve -Wshadow warningsLioncash
Prevents variable name clashing.
2020-05-03kernel/memory: Amend potential encoding warningsLioncash
While èis generally representable in some language encodings, in some it isn't and will result in compilation warnings occurring. To remain friendly with other language's codepages on Windows, we normalize it to an ASCII e.
2020-05-03hle_ipc: Eliminate core memory globalsLioncash
We can just pass the required instances into the constructor of the request, eliminating all usages of the global system accessor.
2020-05-02readable_event: Remove unnecessary semicolon in Signal()Lioncash
Resolves a -Wextra-semi warning. While we're at it, we can invert the branch to form a guard clause, unindenting all of the contained code.
2020-04-29kernel: Don't fail silentlyDavid Marcec
2020-04-28Merge pull request #3783 from lioncash/pointerMat M
physical_core: Make use of std::make_unique instead of std::make_shared in ctor
2020-04-29kernel: Bad GetInfo ids should not be marked as stubsDavid Marcec
As we currently match hardware and don't return a successful result, these should be marked as errors instead of warnings and as stubs.
2020-04-24Merge pull request #3780 from lioncash/processbunnei
svc: Re-add MapProcessCodeMemory/UnmapProcessCodeMemory
2020-04-24physical_core: Make use of std::make_unique instead of std::make_shared in ctorLioncash
We can also allow unicorn to be constructed in 32-bit mode or 64-bit mode to satisfy the need for both interpreter instances. Allows this code to compile successfully of non x86-64 architectures.
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.