Merry
d79274a5d9
core/hle: Standardize scoped_lock initializers
4 years ago
Merry
6a071c42d2
core: Replace lock_guard with scoped_lock
4 years ago
Merry
1f275eb077
core/hle: Replace lock_guard with scoped_lock
4 years ago
german77
fa5277ecdb
core: hid: Reduce the amount of dataraces
4 years ago
Andrea Pappacoda
5ca67332ee
fix: remove #pragma once in .cpp file
4 years ago
Liam
0cfcee95c7
service: jit: stub JIT service
4 years ago
german77
8c089f4e2a
service: hid: Partially revert #8123
4 years ago
lat9nq
b976cac49d
k_system_control: Fix data race
`return distribution(gen)` is a data race between a read and a write in
two threads, reported by TSan. Remove static random number generators so
they aren't using the same generator.
4 years ago
merry
7f11710e0a
dynarmic: Print stack trace on unrecognised instruction or other exception
4 years ago
lat9nq
983916e919
k_auto_object: Fix data race
Change the memory order to acqure-release when we decrement the
reference count. Prevents a race with line 89 reported by TSan.
4 years ago
lat9nq
6bcbbb29e7
k_thread: Fix data race
TSan reports a data race between writing at cpp:1162 and reading at
h:262. Make the thread_state atomic to prevent this.
4 years ago
lat9nq
d6a0666268
k_process: Fix data race
TSan reported a race between thread 36 and thread 34, a read at :225 and
a write at :225 respectively. Make total_proces_running_time_ticks
atomic to avoid this race.
4 years ago
lat9nq
5b5a1b7fa7
kernel: Fix current_process race
TSan reported a race at :258 and :803, so make current_process an atomic
pointer.
4 years ago
lat9nq
83b86d915a
k_scheduler_lock: Fix data race
TSan reports a race between the main thread and T37 during
IsLockedByCurrentThread and when it's set at the end of Lock(),
respectively. Set owner_thread to an atomic pointer to fix it.
Co-authored-by: bunnei <bunneidev@gmail.com>
4 years ago
merry
a5d040df3d
arm_dynarmic: Use HaltReason for svc calls and reschedules
4 years ago
merry
f8b8af47ad
dynarmic: Better interrupts
4 years ago
german77
3e5469a974
service: npad: Default initialize shared memory
4 years ago
Andrea Pappacoda
0c214cb5b9
fix: typos
4 years ago
bunnei
fdf4909f97
hle: service: nvflinger: buffer_queue_producer: Cleanup & fixes.
4 years ago
bunnei
4036e37bbe
hle: service: nvflinger: consumer_base: Cleanup & fixes.
4 years ago
bunnei
30b07878ba
hle: service: nvflinger: buffer_queue_producer: Cleanup & add GetReleasedBuffers.
4 years ago
bunnei
7610554b1e
hle: service: nvflinger: buffer_queue_core: Cleanup & fixes.
4 years ago
bunnei
f9371f36a4
hle: service: nvflinger: Use correct logger namespace.
4 years ago
Morph
93f010c988
hle: service: nvdrv: Create a service thread where appropriate.
4 years ago
bunnei
d02bf6dab1
hle: service: vi: Create a service thread where appropriate.
4 years ago
bunnei
99770653bb
hle: service: bsd: Create a service thread where appropriate.
4 years ago
bunnei
2afef2b609
hle: service: filesystem: Create a service thread where appropriate.
4 years ago
bunnei
11120b5b1e
hle: service: audio: Create a service thread where appropriate.
4 years ago
bunnei
bf1750664c
hle: service: Add option for service interfaces to create or use the default thread.
4 years ago
bunnei
864523327f
hle: kernel: Create a default thread for services that do not need their own host thread.
4 years ago
Morph
1166c3910d
applets/web: Keep foreground (websession) web applet open
This is a hack to keep the foreground (websession) web applet open in games using these such as Super Mario 3D All-Stars.
4 years ago
german77
9346f0b33d
service: hid: Remove inaccurate behavior on initialization
4 years ago
Narr the Reg
c04e65c254
service: hid: Signal event on AcquireNpadStyleSetUpdateEventHandle
4 years ago
ameerj
69807dd208
nvhost_ctrl: Only mark EventState::Busy as BadParameter
Fixes an svc break in Kirby and the Forgotten Land with async GPU enabled.
4 years ago
Morph
ea7a0d4652
registered_cache: Prevent nullptr dereference when accumulating files
For whatever reason, nca_file/dir can be nullptr in the list of files/dirs. I have not determined the cause of this yet, so add a nullptr check for these prior to dereferencing them.
4 years ago
merry
1383441b15
arm_dynarmic_64: Invalidate on all cores
4 years ago
bunnei
af04f8b8e9
Revert "Memory GPU <-> CPU: reduce infighting in the texture cache by adding CPU Cached memory."
4 years ago
bunnei
9408100a80
hle: kernel: k_page_table: Fix implementations of LockForCodeMemory & UnlockForCodeMemory.
4 years ago
bunnei
0c75913bf2
hle: kernel: k_page_table: Implement LockMemoryAndOpen & UnlockMemory.
4 years ago
merry
3c8547160d
configuration: Add Paranoid CPU accuracy level
Disables most optimizations for the paranoid.
4 years ago
bunnei
1b3dba329a
hle: kernel: svc: MapProcessMemory: Fix usage of KPageLinkedList to use physical address space.
4 years ago
bunnei
3bc0c2a625
hle: kernel: svc: CreateCodeMemory: Remove log of 'out' host pointer.
- This does not seem terribly useful and is inconsistent with other usage.
4 years ago
bunnei
94543f129e
hle: kernel: k_code_memory: Fix usage of KPageLinkedList to use physical address space.
4 years ago
bunnei
5b667f5e52
hle: kernel: k_page_table: Implement MakeAndOpenPageGroup & MakePageGroup.
4 years ago
bunnei
c975a51ae7
hle: kernel: k_page_table: Add IsHeapPhysicalAddress method.
4 years ago
bunnei
f29410d821
hle: kernel: k_page_linked_list: Add Empty method.
4 years ago
bunnei
4e2401c11a
hle: kernel: svc: UnmapProcessCodeMemory: Fix inverted alignment check.
4 years ago
bunnei
25faca8ea7
hle: service: nvflinger: buffer_queue: Remove AutoLock and fix free buffer tracking.
4 years ago
bunnei
07c7f96fb2
hle: service: nvflinger: buffer_queue_consumer: Use scoped_lock instead of unique_lock.
4 years ago
bunnei
13aa0a1f24
hle: service: nvflinger: consumer_base: Use scoped_lock instead of unique_lock.
4 years ago