summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2020-07-25Merge pull request #4415 from lioncash/maybebunnei
virtual_buffer: Mark size parameter of FreeMemoryPages() as [[maybe_unused]]
2020-07-25common/string_util: Remove unimplemented function prototype (#4414)LC
This function was relocated to log.h as a constexpr function, so this can be removed.
2020-07-25virtual_buffer: Mark size parameter of FreeMemoryPages() as [[maybe_unused]]Lioncash
This isn't used on Windows, but is used on non-Windows operating systems.
2020-07-18alignment: explicitly include <new> after 723edb4c0659Jan Beich
In file included from src/core/hle/kernel/memory/page_table.cpp:5: src/./common/alignment.h:67:68: error: no member named 'align_val_t' in namespace 'std' return static_cast<T*>(::operator new (n * sizeof(T), std::align_val_t{Align})); ~~~~~^ src/./common/alignment.h:71:51: error: no member named 'align_val_t' in namespace 'std' ::operator delete (p, n * sizeof(T), std::align_val_t{Align}); ~~~~~^
2020-07-17alignment: Simplify AlignmentAllocator implementationLioncash
With C++20, much of the allocator interface has been simplified, so we can make the same adjustments.
2020-07-14common/swap: Make use of std::endianLioncash
Allows removing a bunch of defines in favor of a two liner.
2020-07-12common/alignment: Fix compilation errors (#4303)Tobias
2020-07-11Revert "Port citra-emu/citra#5441: "Common: remove a mod from AlignUp""bunnei
2020-07-11Common: remove a mod from AlignUp (#5441)Marshall Mohror
In cases where the size is not a known constant when inlining, AlignUp<std::size_t> currently generates two 64-bit div instructions. This generates one div and a cmov which is significantly cheaper.
2020-07-10cmake: Fix libfmt linking errorsDavid Marcec
2020-07-09cmake: fix fmt linking when foundJohn Galt
This is a new attempt at #4206 that shouldn't break windows builds. If someone else could test on windows, it would be much appreciated. Previously, the build bot passed but the actual builds failed.
2020-07-02Revert "cmake: fix fmt linking"bunnei
2020-07-02Merge pull request #4206 from RealJohnGalt/linkfixbunnei
cmake: fix fmt linking
2020-06-30common: switch to nullptr for sysctl's empty new valueJan Beich
2020-06-29common: add sysconf() fallbackJan Beich
src/common/memory_detect.cpp:15:10: fatal error: 'sys/sysinfo.h' file not found #include <sys/sysinfo.h> ^~~~~~~~~~~~~~~
2020-06-29cmake: fix fmt linkingJohn Galt
On gcc/ld, and clang/lld, fmt::v6 symbols are excluded, so linking fails. This fixes the issue. Note: This was included in the FindBoost changes I shared with BlinkHawk, however only they were merged. I'm not sure if it was missed, or if there was an issue with this part of the change.
2020-06-27Core/Common: Address Feedback.Fernando Sahmkow
2020-06-27Common/Kernel: Corrections and small bug fixing.Fernando Sahmkow
2020-06-27Common/NativeClockx86: Reduce native clock accuracy further.Fernando Sahmkow
2020-06-27Common/AtomicOps: Correct GCC Intrinsic argument ordering.Fernando Sahmkow
2020-06-27Clang Format.Fernando Sahmkow
2020-06-27General: Tune the priority of main emulation threads so they have higher ↵Fernando Sahmkow
priority than less important helper threads.
2020-06-27X64 Clock: Reduce accuracy to be less or equal to guest accuracy.Fernando Sahmkow
2020-06-27ARM/Memory: Correct Exclusive Monitor and Implement Exclusive Memory Writes.Fernando Sahmkow
2020-06-27HostTiming: Pause the hardware clock on pause.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-28Merge pull request #3396 from FernandoS27/prometheus-1David
Implement SpinLocks, Fibers and a Host Timer
2020-06-26Common: Fix non-conan buildFernando Sahmkow
2020-06-20common/telemetry: Add AVX512 to telemetryMorph
2020-06-20common/cpu_detect: Add AVX512 detectionMorph
2020-06-18Common/Fiber: Address Feedback and Correct Memory leaks.Fernando Sahmkow
2020-06-18Common/Fiber: Implement Rewind on Boost Context.Fernando Sahmkow
2020-06-18Common/uint128: Correct MSVC Compilation in old versions.Fernando Sahmkow
2020-06-18Common/Fiber: Document fiber interexchange.Fernando Sahmkow
2020-06-18Common/Fiber: Implement Rewinding.Fernando Sahmkow
2020-06-18Common/Fiber: Additional corrections to f_context.Fernando Sahmkow
2020-06-18Common/Fiber: Correct f_context based Fibers.Fernando Sahmkow
2020-06-18Core/HostTiming: Allow events to be advanced manually.Fernando Sahmkow
2020-06-18Common/Tests: Address FeedbackFernando Sahmkow
2020-06-18Common: Make MinGW build use Windows Fibers instead of fcontext_tFernando Sahmkow
2020-06-18Common/Tests: Clang Format.Fernando Sahmkow
2020-06-18Common: Correct fcontext fibers.Fernando Sahmkow
2020-06-18Common: Refactor & Document Wall clock.Fernando Sahmkow
2020-06-18Common: Implement WallClock Interface and implement a native clock for x64Fernando Sahmkow
2020-06-18Tests: Add base tests to host timingFernando Sahmkow
2020-06-18Common: Polish Fiber class, add comments, asserts and more tests.Fernando Sahmkow
2020-06-18Tests: Add tests for fibers and refactor/fix Fiber classFernando Sahmkow
2020-06-18Common: Implement a basic Fiber class.Fernando Sahmkow
2020-06-18Common: Implement a basic SpinLock classFernando Sahmkow
2020-06-17Merge pull request #4086 from MerryMage/abibunnei
xbyak_abi: Cleanup