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
tech-ticks
cdc7fc731d
service: bsd: Add keepalive socket option
4 years ago
Merry
9144a342ca
core/hle: Standardize scoped_lock initializers
4 years ago
Merry
de61c0897c
core/hle: Replace lock_guard with scoped_lock
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
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
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
bunnei
533ff8b1a9
hle: kernel: k_page_table: Fix implementations of LockForCodeMemory & UnlockForCodeMemory.
4 years ago
bunnei
003d5761e1
hle: kernel: k_page_table: Implement LockMemoryAndOpen & UnlockMemory.
4 years ago
bunnei
3beb4d4273
hle: kernel: svc: MapProcessMemory: Fix usage of KPageLinkedList to use physical address space.
4 years ago
bunnei
f84511eb4f
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
7e6a6bb505
hle: kernel: k_code_memory: Fix usage of KPageLinkedList to use physical address space.
4 years ago
bunnei
506961d8cc
hle: kernel: k_page_table: Implement MakeAndOpenPageGroup & MakePageGroup.
4 years ago
bunnei
416944c501
hle: kernel: k_page_table: Add IsHeapPhysicalAddress method.
4 years ago
bunnei
f5415480de
hle: kernel: k_page_linked_list: Add Empty method.
4 years ago
bunnei
58a4c17e98
hle: kernel: svc: UnmapProcessCodeMemory: Fix inverted alignment check.
4 years ago
bunnei
25e4089d54
hle: service: nvflinger: buffer_queue: Remove AutoLock and fix free buffer tracking.
4 years ago
bunnei
8da842dd90
hle: service: nvflinger: buffer_queue_consumer: Use scoped_lock instead of unique_lock.
4 years ago
bunnei
a2ad35b9ec
hle: service: nvflinger: consumer_base: Use scoped_lock instead of unique_lock.
4 years ago
bunnei
a841fd8034
hle: service: nvflinger: Remove unused BufferQueue.
4 years ago
bunnei
f6bcf6c7e2
hle: nvflinger: ConsumerBase: Mark ctor as explicit.
4 years ago
bunnei
fa9f75819a
hle: vi: NativeWindow: Fix trivially copyable issues.
4 years ago
bunnei
4fce11872d
hle: nvdrv: nvdata: buffer_queue_producer: Minor cleanup.
4 years ago