aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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: device_manager: Add a simple class to manage device RAM.bunnei
2020-04-17dynarmic: Enable strict alignment checks.bunnei
- Also add a missing include.
2020-04-17common: scope_exit: Implement mechanism for canceling a scope exit.bunnei
2020-04-17core: memory: Move to Core::Memory namespace.bunnei
- helpful to disambiguate Kernel::Memory namespace.
2020-04-17common: alignment: Add a helper function for generic alignment checking.bunnei
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-17loader: nso: Fix loading of static objects to be properly sized and aligned.bunnei
2020-04-17common: common_funcs: Add a macro for defining enum flag operators.bunnei
2020-04-17process: SetupMainThread: Zero out argument on process start.bunnei
2020-04-17arm_interface: Ensure ThreadContext is zero'd out.bunnei
2020-04-16CMakeLists: Make missing declarations a compile-time errorLioncash
Ensures that our code always has its linkage explicit.
2020-04-16General: Resolve warnings related to missing declarationsLioncash
2020-04-17gdbstub: Fix some gdbstub jankinessMerryMage
1. Ensure that register information available to gdbstub is most up-to-date. 2. There's no reason to check for current_thread == thread when emitting a trap. Doing this results in random hangs whenever a step happens upon a thread switch.
2020-04-16Merge pull request #3671 from lioncash/switchbunnei
kernel/thread: Resolve -Wswitch warnings
2020-04-16key_manager: Resolve missing field initializer warningLioncash
2020-04-16decode/memory: Resolve unused variable warningLioncash
Only the first element of the returned pair is ever used.
2020-04-16decode/texture: Resolve unused variable warnings.Lioncash
Some variables aren't used, so we can remove these. Unfortunately, diagnostics are still reported on structured bindings even when annotated with [[maybe_unused]], so we need to unpack the elements that we want to use manually.
2020-04-16decode/texture: Collapse loop down into std::generateLioncash
Same behavior, less code.
2020-04-16decode/texture: Eliminate trivial missing field initializer warningsLioncash
We can just specify the initializers.
2020-04-16time_zone_manager: Resolve sign conversion warningsLioncash
ttis and ats will never exceed the length of INT32_MAX in our case, so this is safe.
2020-04-16CMakeLists: Enable -Wmissing-declarations on Linux buildsLioncash
Allows catching cases where internal linkage isn't specified for helper functions when they should be marked as such.
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-16Merge pull request #3673 from lioncash/extrabunnei
CMakeLists: Specify -Wextra on linux builds
2020-04-16maxwell_3d: Initialize format attributes constant as oneReinUsesLisp
nouveau expects this to be true but it doesn't set it.
2020-04-16vk_compute_pass: Implement indexed quadsReinUsesLisp
Implement indexed quads (GL_QUADS used with glDrawElements*) with a compute pass conversion. The compute shader converts from uint8/uint16/uint32 indices to uint32. The format is passed through push constants to avoid having different variants of the same shader. - Used by Fast RMX - Used by Xenoblade Chronicles 2 (it still has graphical due to synchronization issues on Vulkan)
2020-04-16Merge pull request #3600 from ReinUsesLisp/no-pointer-buf-cacheFernando Sahmkow
buffer_cache: Return handles instead of pointer to handles
2020-04-16externals: Move LibreSSL linking to httplib.Markus Wick
Neither core nor web_services use OpenSSL nor LibreSSL. However they need to link them as it's a requirement of httplib. So let's declare this within httplib instead of core and web_services.
2020-04-16input_common: Use the CMake target instead of the variable.Markus Wick
2020-04-16Merge pull request #3659 from bunnei/time-calc-standard-userRodrigo Locatti
service: time: Implement CalculateStandardUserSystemClockDifferenceByUser.
2020-04-16buffer_cache: Return handles instead of pointer to handlesReinUsesLisp
The original idea of returning pointers is that handles can be moved. The problem is that the implementation didn't take that in mind and made everything harder to work with. This commit drops pointer to handles and returns the handles themselves. While it is still true that handles can be invalidated, this way we get an old handle instead of a dangling pointer. This problem can be solved in the future with sparse buffers.
2020-04-16Merge pull request #3689 from lioncash/unused-varRodrigo Locatti
decode/shift: Remove unused variable within Shift()
2020-04-16Merge pull request #3688 from lioncash/nequalRodrigo Locatti
surface_view: Add missing operator!= to ViewParams
2020-04-16Merge pull request #3680 from lioncash/staticRodrigo Locatti
gl_device: Mark stage_swizzle as constexpr
2020-04-16Merge pull request #3687 from lioncash/constnessRodrigo Locatti
surface_base: Make IsInside() a const member function
2020-04-16Merge pull request #3685 from lioncash/copiesRodrigo Locatti
control_flow: Make use of std::move in TryInspectAddress()
2020-04-16decode/shift: Remove unused variable within Shift()Lioncash
Removes a redundant variable that is already satisfied by the IsFull() utility function.
2020-04-16surface_view: Add missing operator!= to ViewParamsLioncash
Provides logical symmetry to the interface.
2020-04-15surface_base: Make IsInside() a const member functionLioncash
This doesn't modify internal state, so this can be made const.
2020-04-15Merge pull request #3683 from lioncash/docsbunnei
video_core: Amend doxygen comment references
2020-04-15texture_cache/format_lookup_table: Fix incorrect green, blue, and alpha indicesLioncash
Previously these were all using the red component to derive the indices, which is definitely not intentional.
2020-04-15control_flow: Make use of std::move in TryInspectAddress()Lioncash
Eliminates redundant atomic reference count increments and decrements.
2020-04-15video_core: Amend doxygen comment referencesLioncash
Fixes broken documentation references.
2020-04-15gl_query_cache: Resolve use-after-move in CachedQuery move assignment operatorLioncash
Avoids potential invalid junk data from being read.
2020-04-15gl_device: Mark stage_swizzle as constexprLioncash
Previously this was mutable even though it shouldn't be.