bunnei
14d28a043d
hle: kernel: Re-create memory layout at initialization.
...
- As this can only be derived once.
3 years ago
bunnei
16e5954fcb
hle: kernel: Remove unused pool locals.
3 years ago
bunnei
f87f076162
hle: kernel: k_memory_manager: Rework for latest kernel behavior.
...
- Updates the KMemoryManager implementation against latest documentation.
- Reworks KMemoryLayout to be accessed throughout the kernel.
- Fixes an issue with pool sizes being incorrectly reported.
3 years ago
Wunkolo
913c2bd2cb
logging: Convert `backend_thread` into an `std::jthread`
...
Was getting an unhandled `invalid_argument` [exception](https://en.cppreference.com/w/cpp/thread/thread/join ) during
shutdown on my linux machine. This removes the need for a `StopBackendThread` function entirely since `jthread`
[automatically handles both checking if the thread is joinable and stopping the token before attempting to join](https://en.cppreference.com/w/cpp/thread/jthread/~jthread ) in the case that `StartBackendThread` was never called.
3 years ago
ameerj
7f7df43da2
gl_fence_manager: Minor optimization to signal querying
...
Per the spec, bufSize is the number of integers that will be written, in this case, 1.
Also, the length argument is optional if the information of the number of elements written is not needed.
3 years ago
merry
16784e5bb3
dynarmic: Inline exclusive memory accesses
...
Inlines implementation of exclusive instructions into JITted code,
improving performance of applications relying heavily on these
instructions.
We also fastmem these instructions for additional speed, with
support for appropriate recompilation on fastmem failure.
An unsafe optimization to disable the intercore global_monitor is also
provided, should one wish to rely solely on cmpxchg semantics for
safety.
See also: merryhime/dynarmic#664
3 years ago
bunnei
adbb9c2b00
hle: kernel: k_page_heap: GetPhysicalAddr can be const.
3 years ago
bunnei
f7e65eb971
hle: kernel: k_page_heap: Remove superfluous consexpr.
3 years ago
bunnei
06e2b76c75
hle: kernel: k_page_heap: Various updates and improvements.
...
- KPageHeap tracks physical addresses, not virtual addresses.
- Various updates and improvements to match latest documentation for this type.
3 years ago
bunnei
5d1a81520c
hle: kernel: Add initial_process.h header.
3 years ago
bunnei
a6496deeed
hle: kernel: board: nx: Add k_memory_layout.h header.
3 years ago
bunnei
9b5e7971dc
hle: kernel: k_system_control: Add GetRealMemorySize and update GetKernelPhysicalBaseAddress.
3 years ago
bunnei
18e77a54c3
hle: kernel: k_memory_layout: Add GetPhysicalLinearRegion.
3 years ago
bunnei
06a21ac229
hle: kernel: k_memory_region_types: Update for new regions.
3 years ago
bunnei
96d90be59f
Merge pull request #7955 from bunnei/update-dynarmic
...
externals: Dynarmic: Update to latest rev.
3 years ago
bunnei
ce46aa4721
externals: Dynarmic: Update to latest rev.
...
- Fixes inaccurate size reporting in SpaceRemaining, which caused crashes in yuzu with SSBU.
3 years ago
bunnei
20e9501b0d
Merge pull request #7932 from bunnei/extended-mem-layout
...
Add extended memory layout (6GB) support and improve KResourceLimit management
3 years ago
bunnei
56d9052b73
Merge pull request #7953 from ameerj/radv-rdna2-crash
...
vulkan_device: Blacklist RADV on RDNA2 from VK_EXT_vertex_input_dynamic_state
3 years ago
Mai M
91d802f68d
Merge pull request #7948 from Morph1984/11-11-10-float
...
maxwell_to_(gl/vk): Add 11_11_10 float vertex format
3 years ago
Ameer J
5f8d6bc504
vulkan_device: Blacklist RADV on RDNA2 from VK_EXT_vertex_input_dynamic_state
...
RDNA2 devices running under the RADV driver were crashing when VK_EXT_vertex_input_dynamic_state was enabled.
Blacklisting these devices until a proper fix is established.
3 years ago
Morph
e292b2d991
maxwell_to_(gl/vk): Add 11_11_10 float vertex format
...
- Used by パワプロクンポケットR
3 years ago
bunnei
6c9b9b72da
Merge pull request #7939 from asLody/fb-format-gbra8
...
vk_blit_screen: Add missing framebuffer format
3 years ago
bunnei
f582a4482d
Merge pull request #7927 from german77/amiibo
...
yuzu: Disconnect amiibos on drag and drop
3 years ago
bunnei
1079215871
Merge pull request #7859 from german77/battery_again
...
input_common: Remove battery duplicated struct and update every button press
3 years ago
Lody
6978093404
vk_blit_screen: Add missing format bgra8
3 years ago
Mai M
2f45e999d8
Merge pull request #7933 from german77/am_update
...
service: am: Update enum names to match documentation
3 years ago
Narr the Reg
d44464829b
service: am: Update enum names to match documentation
3 years ago
bunnei
efe50d88ec
Merge pull request #7913 from voidanix/anv-fix
...
vulkan_device: fix missing format in ANV
3 years ago
bunnei
71f62a346d
hle: kernel: KSystemControl: Use 6GB memory layout when "use_extended_memory_layout" setting is enabled.
...
- This uses a larger 6GB DRAM memory layout, which is useful for some mods that require more memory.
3 years ago
bunnei
c0e45a3c78
core: device_memory: Use memory size reported by KSystemControl.
...
- That way, we can consolidate the memory layout to one place.
3 years ago
bunnei
70482e6b26
settings: Add a new "use_extended_memory_layout" setting.
...
- This will be used to enable emulation of a larger memory arrangement.
3 years ago
bunnei
ca5e843bf6
core: hle: kernel: Remove resource limit hack for PhysicalMemory.
...
- With prior changes, we now report the correct amount of physical memory available to the emulated process.
3 years ago
bunnei
a74fddc98f
core: hle: kernel: KProcess: Pass in KResourceLimit on process creation.
...
- This allows us to have a resource limit per process, rather than use the global system resource limit.
3 years ago
bunnei
57ebcbf2c4
core: hle: kernel: KEvent: Pass in owner KProcess on event creation.
...
- This is necessary to ensure resource limits are freed from the right process.
3 years ago
bunnei
c7019db6f4
core: hle: kernel: KResourceLimit: Add a helper function for creating a KResourceLimit for a process.
3 years ago
bunnei
21f5912ec9
Merge pull request #7919 from bunnei/phys-mem-updates
...
core: hle: kernel: KPageTable: Improve Un/MapPhysicalMemory.
3 years ago
bunnei
8d46c3cc66
Merge pull request #7920 from bunnei/fix-unmap-pages
...
core: hle: kernel: KPageTable: Fix UnmapPages.
3 years ago
voidanix
7712e46d64
vulkan_device: fix missing format in ANV
...
Currently Mesa's ANV driver does not support
VK_FORMAT_B5G6R5_UNORM_PACK16, implement an alternative for it.
3 years ago
german77
b504df9d02
yuzu: Remove amiibos on drag and drop
3 years ago
bunnei
92b2e92620
fixup! core: hle: kernel: KPageTable: Improve Un/MapPhysicalMemory.
3 years ago
bunnei
2984695265
Merge pull request #7867 from german77/amiibo
...
nfp: Improve amiibo support
3 years ago
bunnei
c9260a75f6
core: hle: kernel: KPageTable: Fix UnmapPages.
...
- Fixes a logic bug in KPageTable::UnmapPages.
3 years ago
bunnei
1a16d055df
core: hle: kernel: KPageTable: Improve Un/MapPhysicalMemory.
...
- Improves the implementations of MapPhysicalMemory and UnmapPhysicalMemory to more closely reflect latest HOS.
3 years ago
bunnei
83a84f1c2d
Merge pull request #7900 from german77/enter
...
yuzu: config: Fix mapping issues with the enter key
3 years ago
Mai M
90a4591563
Merge pull request #7909 from Wunkolo/null-visit-ctor
...
common: Add NullVisitor default constructor
3 years ago
Wunkolo
768fdb269e
common: Add NullVisitor default constructor
...
Addresses https://github.com/yuzu-emu/yuzu/issues/7881 to fix linux
builds.
`YUZU_NON_COPYABLE` deletes the `T(const T&)` constructor which will
cause the implicitly defined default ctor/dtor to no-longer generate.
3 years ago
Mai M
c48b9668f0
Merge pull request #7866 from xerpi/svc-OutputDebugString32-CreateCodeMemory32-ControlCodeMemory32
...
kernel: svc: Add OutputDebugString32, CreateCodeMemory32, ControlCodeMemory32
3 years ago
bunnei
027ff7847c
Merge pull request #7878 from german77/mnpp
...
service/mnpp: Stub mnpp_app
3 years ago
Morph
4514325b9c
Merge pull request #7899 from Kelebek1/test
...
file_sys: Dump patched exefs rather than base
3 years ago
bunnei
b5fd9c58cd
Merge pull request #7877 from lat9nq/upd_rev
...
audio_core: Update current process revision
3 years ago