bunnei
75610701a3
core: hle: kernel: Update KConditionVariable.
5 years ago
bunnei
c37b0da7d0
core: hle: kernel: Begin moving common SVC defintions to its own header.
5 years ago
bunnei
02071333ca
hle: kernel: Remove unnecessary AddressArbiter definition.
5 years ago
bunnei
99a3953705
hle: kernel: k_scheduler: Cleanup OnThreadPriorityChanged.
5 years ago
bunnei
818ff3901a
hle: kernel: Rename thread "status" to "state".
5 years ago
bunnei
9744afa8b1
hle: kernel: thread: Replace ThreadStatus/ThreadSchedStatus with a single ThreadState.
- This is how the real kernel works, and is more accurate and simpler.
5 years ago
bunnei
d103a3656b
core: hle: kernel: Add some useful functions for checking kernel addresses.
5 years ago
bunnei
f3f7d42d63
core: hle: kernel: svc_types: Add type definitions for KAddressArbiter.
5 years ago
bunnei
2feb4d56e9
core: hle: kernel: Update KSynchronizationObject.
5 years ago
bunnei
eafd021b14
core: hle: kernel: Begin moving common SVC results to its own header.
5 years ago
bunnei
a45d39c9d6
hle: service: nfp: Remove incorrect signaling behavior in GetDeviceState.
5 years ago
ReinUsesLisp
53cf598783
core: Silence unhandled enum in switch warnings
5 years ago
german
b28282edab
Stub IsCpuOverclockEnabled
5 years ago
ameerj
30f3faf3e2
fix for nvdec disabled, cleanup host1x
5 years ago
ameerj
762de858e6
nvdec syncpt incorporation
laying the groundwork for async gpu, although this does not fully implement async nvdec operations
5 years ago
ReinUsesLisp
64d9ef5e7a
core: Silence warnings when compiling without asserts
5 years ago
ameerj
2faecc2720
buffer_queue: Protect queue_sequence list access with a mutex
fixes a data race as this is an unprotected variable manipulated by multiple threads
5 years ago
bunnei
a86ae9fa3c
hle: service: nvflinger: buffer_queue: Do not reset id/layer_id on Connect.
- This behavior is a mistake, fixes Katana Zero.
5 years ago
Morph
23413c0d44
general: Fix various spelling errors
5 years ago
ReinUsesLisp
d719dc7688
service/pcie: Fix invalid initialization argument
5 years ago
ReinUsesLisp
8bfa4d6dbf
core/memory: Read and write page table atomically
Squash attributes into the pointer's integer, making them an uintptr_t
pair containing 2 bits at the bottom and then the pointer. These bits
are currently unused thanks to alignment requirements.
Configure Dynarmic to mask out these bits on pointer reads.
While we are at it, remove some unused attributes carried over from
Citra.
Read/Write and other hot functions use a two step unpacking process that
is less readable to stop MSVC from emitting an extra AND instruction in
the hot path:
mov rdi,rcx
shr rdx,0Ch
mov r8,qword ptr [rax+8]
mov rax,qword ptr [r8+rdx*8]
mov rdx,rax
-and al,3
and rdx,0FFFFFFFFFFFFFFFCh
je Core::Memory::Memory::Impl::Read<unsigned char>
mov rax,qword ptr [vaddr]
movzx eax,byte ptr [rdx+rax]
5 years ago
bunnei
236149a59b
hle: kernel: service_thread: Make thread naming more consistent.
5 years ago
bunnei
407d3b7374
hle: kernel: Manage service threads on another thread.
- This is to allow service threads to defer destruction of themselves.
5 years ago
bunnei
127bb064f7
hle: kernel: Manage host thread IDs using TLS.
- Avoids the need to have a large map of host to guest thread IDs.
5 years ago
comex
8be4bd5104
k_priority_queue: Fix concepts use
- For `std::same_as`, add missing include of `<concepts>`.
- For `std::convertible_to`, create a replacement in `common/concepts.h`
and use that instead.
This would also be found in `<concepts>`, but unlike `std::same_as`,
`std::convertible_to` is not yet implemented in libc++, LLVM's STL
implementation - not even in master. (In fact, `std::same_as` is the
*only* concept currently implemented. For some reason.)
5 years ago
comex
0049fbaa9e
Add missing include of "core/hle/kernel/kernel.h"
This is needed as the header invokes methods on KernelCore.
5 years ago
ameerj
ca41363261
svc: demote SleepThread log to LOG_TRACE
This log is called often, and introduces a lot of noise when debug logging is enabled, making it difficult to see other debug logs.
5 years ago
bunnei
67051cf10c
hle: kernel: Move ServiceThread ownership to KernelCore.
- Fixes a circular dependency which prevented threads from being released on shutdown.
5 years ago
bunnei
b2ef309edb
hle: kernel: service_thread: Add thread name and take weak_ptr of ServerSession.
5 years ago
bunnei
e5f216261e
hle: service: Acquire and release a lock on requests.
- This makes it such that we can safely access service members from CoreTiming thread.
5 years ago
bunnei
5d4fa58af2
core: hle: kernel: Clear process list on boot.
5 years ago
bunnei
04e4925807
hle: service: vi: Refactor to grab buffer only once.
5 years ago
bunnei
b1b4edec05
service: nvflinger: Improve synchronization for BufferQueue.
- Use proper mechanisms for blocking on DequeueBuffer.
- Ensure service thread terminates on emulation Shutdown.
5 years ago
bunnei
8cf0ba96d9
hle: service: Ensure system is powered on before writing IPC result.
5 years ago
bunnei
838c266e82
core: kernel: Clear process list earlier.
5 years ago
bunnei
846f35c4ad
hle: kernel: hle_ipc: Remove SleepClientThread.
- This was kind of hacky, and no longer is necessary with service threads.
5 years ago
bunnei
e322c6cfba
hle: service: bsd: Update to work with service threads, removing SleepClientThread.
5 years ago
bunnei
fd213b5856
hle: service: nvdrv: Revert #4981 to remove usage of SleepClientThread.
- Note, this always processes the ioctl right away, which fixes BotW 1.0.0 issues.
5 years ago
bunnei
3d7b4bfa48
hle: kernel: service_thread: Add parameter for thread pool size.
5 years ago
bunnei
eeabd0cc31
hle: service: nvflinger: Refactor locking and interfaces.
5 years ago
bunnei
b8cb6a1b2c
hle: service: vi: Remove usage of SleepClientThread.
5 years ago
bunnei
56be5d7ba9
core: hle: server_session: Use separate threads for each service connection.
5 years ago
Morph
469ed33cf6
applets/web: Implement the online web browser applet
5 years ago
Morph
fef6f942e4
main, applets/web: Re-add progress dialog for RomFS extraction
5 years ago
Morph
46f376e8fe
pl_u, applets/web: Decrypt shared fonts to TTF files
5 years ago
Morph
0e1390257a
ns_vm: Stub NeedsUpdateVulnerability
This is used to force system updates on launching the web browser. We do not care about system updates so this can be set to false.
5 years ago
Morph
7c1af698e4
controllers/npad: Make press_state atomic
5 years ago
Morph
a367dc5be0
applets/web: Implement the default web browser applet frontend
5 years ago
Morph
312d05c3ff
applets/web: Implement the offline browser applet backend
5 years ago
Morph
c3371126a0
applets/web: Initial implementation of the web browser applet
5 years ago