liamwhite
207fdfe57d
Merge pull request #9796 from liamwhite/current
...
general: rename CurrentProcess to ApplicationProcess
2023-02-15 17:42:45 -05:00
arades79
60a68839ee
remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
...
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14 12:35:39 -05:00
arades79
3e078dbb07
apply clang-format
...
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14 12:35:39 -05:00
arades79
adcef452e0
add static lifetime to constexpr values to force compile time evaluation where possible
...
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14 12:33:11 -05:00
Liam
c68577384a
general: rename CurrentProcess to ApplicationProcess
2023-02-13 19:03:12 -05:00
Liam
832e1e2ca4
kernel: use GetCurrentProcess
2023-02-13 11:05:14 -05:00
Colin Kinloch
d0ca9973a7
kernel/svc: Fix undefined info_id
2023-02-11 18:00:34 +00:00
liamwhite
3434c23625
Merge pull request #9773 from bunnei/fix-process-resource
...
core: kernel: k_process: Use application system resource.
2023-02-11 10:28:50 -05:00
bunnei
37faa1acc8
Merge pull request #9742 from liamwhite/svc-wrap-only
...
kernel/svc: switch to generated wrappers
2023-02-10 21:41:22 -08:00
bunnei
86a1aa0fcc
core: kernel: k_process: Use application system resource.
2023-02-10 21:03:39 -08:00
Liam
f68b3dcb29
kernel: avoid usage of bit_cast
2023-02-10 09:13:58 -05:00
Liam
b91913334e
kernel/svc: switch to generated wrappers
2023-02-06 23:57:44 -05:00
Liam
43131451c3
kernel: fix compilation with older gcc
2023-02-06 13:14:27 -05:00
Liam
2d0892da7f
kernel/svc: Split implementations into separate files
2023-02-04 22:37:43 -05:00
ameerj
7cc5da4a9f
Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span"
...
This reverts commit 153fa289d2
, reversing
changes made to 20676b3b5a
.
2023-02-03 00:08:45 -05:00
bunnei
153fa289d2
Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span
...
Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer"
2023-02-02 19:04:50 -08:00
liamwhite
f74a95b6fb
Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer"
2023-02-02 15:53:28 -05:00
Liam
1f14d5ebce
kernel: add KDeviceAddressSpace
2023-02-01 17:18:21 -05:00
bunnei
b383cea866
Merge pull request #9697 from liamwhite/kcap
...
kernel: add KCapabilities
2023-01-31 10:51:10 -08:00
bunnei
8d052680ee
Merge pull request #9508 from ameerj/hle-ipc-buffer-span
...
hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer
2023-01-30 12:17:09 -08:00
Liam
943f0bf0c3
kernel: add KCapabilities
2023-01-29 22:08:28 -05:00
Levi Behunin
2ff6c44168
Move to Clang Format 15
...
Depends on https://github.com/yuzu-emu/build-environments/pull/69
clang-15 primary run
2023-01-29 17:49:42 -07:00
bunnei
ea38bd85e1
Merge pull request #9666 from liamwhite/wait-for-me
...
kernel: fix incorrect locking order in suspension
2023-01-27 15:06:09 -08:00
Liam
86c6735bd0
kernel: unbreak min/max template deduction on Apple Clang
2023-01-26 17:43:37 -05:00
Liam
b85a155abd
kernel: split SetAddressKey into user and kernel variants
2023-01-23 20:31:03 -05:00
Liam
31945a6e8b
kernel: fix incorrect locking order in suspension
2023-01-23 17:14:41 -05:00
Liam
3b4c6e5425
kernel: KPageTable: update
2023-01-22 13:17:29 -05:00
Liam
e1b0b3d0db
timing: wait for completion on unregister
2023-01-14 15:48:01 -05:00
bunnei
1bd2034592
Revert "Revert "k_page_group: synchronize""
2023-01-07 15:32:10 -08:00
gidoly
118d57a8f0
Revert "k_page_group: synchronize"
2022-12-29 17:39:42 +09:00
ameerj
ddbee432b2
hle_ipc: Use thread_local ReadBuffer
2022-12-28 18:46:54 -05:00
ameerj
713394d526
hle_ipc: Rename ReadBufferSpan to ReadBuffer
2022-12-28 18:46:54 -05:00
ameerj
571d469697
hle_ipc: Rename ReadBuffer to ReadBufferCopy
...
Indicates explicitly that a copy is occurring
2022-12-28 18:46:54 -05:00
ameerj
db9a523aae
service: Use ReadBufferSpan where it is trivial to do so
2022-12-25 17:04:02 -05:00
Liam
b4504fdd19
k_page_table: remove HACK_OpenPages/ClosePages
2022-12-25 13:43:49 -05:00
ameerj
e17c343915
hle_ipc: Add ReadBufferSpan function
...
Returns a std::span to the buffer address, rather than create a copy of the memory into a std::vector
2022-12-25 13:20:59 -05:00
Liam
4b9df26091
k_page_group: synchronize
2022-12-25 12:55:21 -05:00
Liam
71ec5c9519
kernel: workaround static shared memory initialization
2022-12-23 13:40:30 -05:00
Liam
8df44232e8
kernel: remove TimeManager
2022-12-18 20:21:24 -05:00
Liam
49d1cf6477
kernel: add KHardwareTimer
2022-12-18 16:37:19 -05:00
liamwhite
895500911a
Merge pull request #9452 from ameerj/hle-read-buffer-resreve
...
hle_ipc: Refactor ReadBuffer to set buffer size upon initialization
2022-12-17 10:21:30 -05:00
liamwhite
178074d062
Merge pull request #9450 from ameerj/hle-ipc-vector-reserve
...
hle_ipc: Reserve vectors before populating
2022-12-16 11:57:48 -05:00
ameerj
c57883f1bc
hle_ipc: Refactor ReadBuffer to set buffer size upon initialization
...
Initializing the vector size during initialization is more efficient than a later call to resize()
2022-12-15 23:22:11 -05:00
ameerj
333fd1165a
hle_ipc: Reserve vectors before populating
2022-12-15 22:30:42 -05:00
Narr the Reg
dfe49436c8
kernel: svc: Fix duplicated InfoType enum
2022-12-15 14:18:30 -06:00
Narr the Reg
464b7a9ee2
kernel: process: Implement GetFreeThreadCount
...
Used by Just Dance® 2023 Edition
2022-12-15 13:44:21 -06:00
bunnei
a0fa54b016
Merge pull request #9398 from liamwhite/fail
...
general: improve handling of system startup failure
2022-12-12 14:37:42 -08:00
Salvage
a4369e6175
Remove the lock entirely as per PR discussion
...
Correctly unlock mutex before its destruction
As per https://en.cppreference.com/w/cpp/thread/mutex/~mutex destroying a locked mutex is undefined behavior and MSVC++ decides to throw in this case
Swap out unique for scoped lock and readd comment
2022-12-09 16:39:59 +01:00
Liam
08d81c9726
general: improve handling of system startup failure
2022-12-06 16:13:42 -05:00
Lioncash
7ed6f9d6fd
kernel/k_shared_memory: Ensure device_memory is always initialized
2022-12-05 15:27:57 -05:00