tech-ticks
53f7a78e9e
hle: kernel: Invalidate entire icache in UnmapProcessMemory and UnmapCodeMemory ( fixes #8174 )
4 years ago
Liam
28fb3e8240
core: extract symbol reading
4 years ago
bunnei
11febb02d6
hle: kernel: Unify and integrate reference tracking for KServerPort/KServerSession.
- These are not managed elsewhere, and need to be tracked and closed on emulation shutdown.
4 years ago
bunnei
5a3c38e133
hle: kernel: k_server_port: Release ref-counted host emulation members on Destroy.
4 years ago
bunnei
45da07576f
hle: kernel: k_auto_object: Move unregister with kernel to after Destroy.
- Destructor is no longer invoked, so our object counting was off.
4 years ago
bunnei
2ffc21449d
hle: service: sm: Remove manual tracking of KServerPorts.
4 years ago
bunnei
2878df391c
hle: kernel: hle_ipc: HasSessionRequestHandler: Check if domain handler is expired rather than locking.
4 years ago
tech-ticks
5becdcea0b
service: sfdnsres: Implement DNS address resolution
4 years ago
Narr the Reg
b12a44a5ea
core: hid: Fix double lock on softlock and forced updates
4 years ago
tech-ticks
cdc7fc731d
service: bsd: Add keepalive socket option
4 years ago
tech-ticks
de955ddc9d
patch_manager: Apply layered exefs patches from 'atmosphere' SD directory
4 years ago
Narr the Reg
c5b3ff2238
core: hid: Replace lock_guard with scoped_lock
4 years ago
Merry
9144a342ca
core/hle: Standardize scoped_lock initializers
4 years ago
Merry
2ee92efb8e
core: Replace lock_guard with scoped_lock
4 years ago
Merry
de61c0897c
core/hle: Replace lock_guard with scoped_lock
4 years ago
german77
48ac3b1b60
core: hid: Reduce the amount of dataraces
4 years ago
Andrea Pappacoda
4d8afbf2eb
fix: remove #pragma once in .cpp file
4 years ago
Liam
d414904aef
service: jit: stub JIT service
4 years ago
german77
d6493d42fd
service: hid: Partially revert #8123
4 years ago
lat9nq
b64f4230b3
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
8bcfa4046f
dynarmic: Print stack trace on unrecognised instruction or other exception
4 years ago
lat9nq
bda62c0837
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
831f022536
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
0f347eaf52
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
53d3082dd4
kernel: Fix current_process race
TSan reported a race at :258 and :803, so make current_process an atomic
pointer.
4 years ago
lat9nq
039ce14442
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
ac87509300
arm_dynarmic: Use HaltReason for svc calls and reschedules
4 years ago
merry
f54345590b
dynarmic: Better interrupts
4 years ago
german77
c4bf041235
service: npad: Default initialize shared memory
4 years ago
Andrea Pappacoda
d9044f00e1
fix: typos
4 years ago
bunnei
a00e1de7ce
hle: service: nvflinger: buffer_queue_producer: Cleanup & fixes.
4 years ago
bunnei
7054ba2ed8
hle: service: nvflinger: consumer_base: Cleanup & fixes.
4 years ago
bunnei
2123fc0a50
hle: service: nvflinger: buffer_queue_producer: Cleanup & add GetReleasedBuffers.
4 years ago
bunnei
63094fb176
hle: service: nvflinger: buffer_queue_core: Cleanup & fixes.
4 years ago
bunnei
ad78e63274
hle: service: nvflinger: Use correct logger namespace.
4 years ago
Morph
d2b4f8f974
hle: service: nvdrv: Create a service thread where appropriate.
4 years ago
bunnei
b3f4b41cc1
hle: service: vi: Create a service thread where appropriate.
4 years ago
bunnei
f432c730cb
hle: service: bsd: Create a service thread where appropriate.
4 years ago
bunnei
4a99bcfb95
hle: service: filesystem: Create a service thread where appropriate.
4 years ago
bunnei
c91b912a07
hle: service: audio: Create a service thread where appropriate.
4 years ago
bunnei
75e39568a0
hle: service: Add option for service interfaces to create or use the default thread.
4 years ago
bunnei
60f2fe3b48
hle: kernel: Create a default thread for services that do not need their own host thread.
4 years ago
Morph
4a960b6945
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
a2cc3b6098
service: hid: Remove inaccurate behavior on initialization
4 years ago
Narr the Reg
0b8c1af0ed
service: hid: Signal event on AcquireNpadStyleSetUpdateEventHandle
4 years ago
ameerj
2a58f15111
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
e144d064af
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
5a37246da6
arm_dynarmic_64: Invalidate on all cores
4 years ago
bunnei
b149526098
Revert "Memory GPU <-> CPU: reduce infighting in the texture cache by adding CPU Cached memory."
4 years ago
bunnei
533ff8b1a9
hle: kernel: k_page_table: Fix implementations of LockForCodeMemory & UnlockForCodeMemory.
4 years ago