lat9nq
2cc42e40c5
nvhost_nvdec_common: Avoid memcpy with null pointers
Avoid sending null pointer to memcpy as reported by Undefined Behavious
Sanitizer.
Co-authored-by: LC <mathew1800@gmail.com>
5 years ago
lat9nq
638c892edf
nvhost_ctrl_gpu: Avoid sending null pointer to memcpy
Undefined Behaviour Sanitizer reports a null pointer is being sent to
memcpy, thought it's "guaranteed to never be null". Guard it with an if
statement, and log when the action has been averted.
5 years ago
MerryMage
0fbd7752c3
arm_dynarmic: Increase size of code cache
5 years ago
german77
eaf0c4af11
HID: Fix SL and SR buttons for right joycon
5 years ago
Morph
ca30190fad
ISelfController: Stub SetAlbumImageTakenNotificationEnabled
This service call sets an internal flag whether a notification is shown when an image is captured.
Currently we do not support capturing images via the capture button, so this can be stubbed for now.
5 years ago
ameerj
54c1e0897d
configuration: Add auto stub toggle that resets on boot
Auto-stub is an experimental debugging feature that may cause unforseen bugs. This adds a toggle to only allow auto-stubbing unimplemented functions when explicitly enabled when yuzu is launched.
5 years ago
ameerj
e6e61424d4
service: Auto stub fallback
For simple services we can implement an automatic stub fallback to help with compatibility until a proper implementation is done.
Co-Authored-By: Chloe <25727384+ognik5377@users.noreply.github.com>
5 years ago
Chloe Marcec
bf1c1788ca
nvdrv: Cleanup CDMA Processor on device closure
Brings us a step closer to unifying all channels to share a common interface.
5 years ago
Chloe Marcec
4930242c20
Addressed issues
5 years ago
bunnei
cb7f2e5616
hle: kernel: Initialize preemption task after schedulers.
- Fixes a startup crash that occurs if CoreTiming tries to preempt before kernel initialization completes.
5 years ago
Morph
3b98fab850
service: friend: Change logging class from ACC to Friend
5 years ago
german77
b2fb5c60e1
Friend: Stub GetPlayHistoryRegistrationKey
5 years ago
Narr the Reg
7c26a9aefe
HID: Initialize correctly the gesture finger_id and filter invalid results
5 years ago
Chloe Marcec
e9a1f29e93
pctl: Rework how pctl works to be more accurate
Introduces the usage of compatibilities to allow it the module to be closer to how it works on hardware.
5 years ago
Chloe Marcec
99fdfa1fcd
nvdrv: Pass device fd and handle device create methods for device opening and closing
We pass the fd to the ioctl as well as alert the device when it's opened or closed to allow for fd unique actions to take place
5 years ago
MerryMage
52dae41d7f
arm_dynarmic: Always have a 'valid' jit instance
5 years ago
bunnei
10d6e9f32b
hle: kernel: Breakup InitializeMemoryLayout.
5 years ago
bunnei
fb91647bca
hle: kernel: k_memory_region_type: Minor code cleanup.
5 years ago
bunnei
4eac8703d2
hle: kernel: k_memory_region: Minor code cleanup.
5 years ago
bunnei
9032d21365
hle: kernel: k_memory_layout: Use pair instead of tuple.
5 years ago
bunnei
a32190d0c2
hle: kernel: k_system_control: Remove unnecessary inline.
5 years ago
bunnei
ab5995c7ae
common: common_sizes: Move sizes to the Common namespace.
5 years ago
Chloe Marcec
875183e7c5
nvdrv: Change InitializeEx to AllocAsEx
Wee also report the correct "big page size" now in GetVARegions & fix up the struct for IoctlAllocAsEx
5 years ago
bunnei
1d78190843
hle: kernel: Merge KMemoryRegionAttr and KMemoryRegionType.
- Fixes clang errors with mixed enum arithmetic.
5 years ago
bunnei
3ffbe50e7d
hle: kernel: Remove unused variable.
5 years ago
bunnei
fc5205fc84
hle: kernel: k_memory_region_type: Remove extra ".
5 years ago
bunnei
a35717b245
core: arm_dynarmic: Ensure JIT state is saved/restored on page table changes.
- We re-create the JIT here without preserving any state.
5 years ago
bunnei
1996cae9cb
hle: kernel: k_memory_layout: Move KMemoryRegionAllocator out of global.
5 years ago
bunnei
343eaecd38
hle: kernel: k_memory_layout: Derive memory regions based on board layout.
5 years ago
bunnei
8d0ba7ee49
common: common_sizes: Move Invalid to Size_* prefix and add missing values.
5 years ago
bunnei
80688362cf
hle: kernel: k_memory_region: Refactor to simplify code.
5 years ago
bunnei
edbc505e52
hle: kernel: board: k_system_control: Extend to include memory region sizes.
5 years ago
bunnei
10265ad0e4
hle: kernel: board: Add secure_monitor module.
5 years ago
bunnei
28be8aec9a
common: Move common sizes to their own header for code reuse.
5 years ago
bunnei
01f04fee32
hle: kernel: k_address_space_info: Cleanup.
5 years ago
bunnei
f2e1441567
hle: kernel: Add k_trace module.
5 years ago
bunnei
5762517728
hle: kernel: KSystemControl: Update to reflect board-specific behavior.
5 years ago
bunnei
a439867f2c
hle: kernel: KMemoryManager: Add CalculateManagementOverheadSize.
5 years ago
bunnei
43a29b5803
hle: kernel: KMemoryManager: Add aliases.
5 years ago
bunnei
c17beefe3d
hle: kernel: Add architecture and board specific memory regions.
5 years ago
bunnei
3fb64da452
hle: kernel: KMemoryRegion: Derive region values.
5 years ago
bunnei
5872561077
hle: kernel: Migrate some code from Common::SpinLock to KSpinLock.
5 years ago
bunnei
541b4353e4
hle: kernel: Add initial KMemoryRegionType module.
5 years ago
bunnei
778e0f8ec1
hle: kernel: Move KMemoryRegion to its own module and update.
5 years ago
Morph
ec514a4d1b
IApplicationDisplayService: Stub GetIndirectLayerImageMap
Used by games invoking the inline software keyboard such as GNOSIA
5 years ago
Morph
8441094ba3
bsd: Avoid writing empty buffers
Silences log spam on empty buffer writes
5 years ago
Morph
824e53149d
system_version: Update to 11.0.1
5 years ago
Morph
9761618a8d
system_archive: Update NgWord archive version
5 years ago
zkitx
4439801c0f
Fix casing on DeallocateAesKeySlot
5 years ago
zkitx
ad653550eb
Update SPL to fit N's service refactor (4.0.0+) which split into new services.
5 years ago