aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
AgeCommit message (Collapse)Author
2020-06-27SVC: Remove global HLE Lock.Fernando Sahmkow
2020-06-27SVC: Correct GetThreadPriority, SetThreadPriority, GetThreadCoreMask, ↵Fernando Sahmkow
SetThreadCoreMask, GetCurrentProcessorNumber
2020-06-27SVC: Correct CreateThread, StartThread, ExitThread, SleepThread.Fernando Sahmkow
2020-06-27General: Recover Prometheus project from harddrive failure Fernando Sahmkow
This commit: Implements CPU Interrupts, Replaces Cycle Timing for Host Timing, Reworks the Kernel's Scheduler, Introduce Idle State and Suspended State, Recreates the bootmanager, Initializes Multicore system.
2020-06-26Merge pull request #4152 from ogniK5377/ipc-errbunnei
Mark invalid IPC buffers as ASSERT_OR_EXECUTE_MSG
2020-06-25memory_manager: Remove useless assertionDavid Marcec
num_pages is an std::size_t. It will always be >= 0
2020-06-24Mark invalid IPC buffers as ASSERT_OR_EXECUTE_MSGDavid Marcec
Previously if applications would send faulty buffers(example homebrew) it would lead to us returning uninitalized data. Switching from ASSERT_MSG to ASSERT_OR_EXECUTE_MSG allows us to have a fail safe to prevent crashes but also continue execution without introducing undefined behavior
2020-06-18memory_manager: Explicitly specifcy std::min<size_t>MerryMage
2020-06-14Merge pull request #4069 from ogniK5377/total-phys-membunnei
kernel: Account for system resource size for memory usage
2020-06-12Merge pull request #4010 from ogniK5377/reserve-always-breakbunnei
kernel: ResourceLimit::Reserve remove useless while loop
2020-06-10kernel: Account for system resource size for memory usageDavid Marcec
GetTotalPhysicalMemoryAvailableWithoutSystemResource & GetTotalPhysicalMemoryUsedWithoutSystemResource seem to subtract the resource size from the usage.
2020-06-04Downgrade "handle not signaled" error to traceDavid Marcec
clogs logs quite a bit
2020-05-29kernel: ResourceLimit::Reserve remove useless while loopDavid Marcec
Timeout is a u64, it will always be >= 0
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