bunnei
f4fe71c1c9
hle: kernel: hle_ipc: Simplify incoming/outgoing move/copy/domain objects.
5 years ago
bunnei
7361eac10f
hle: kernel: Implement CloneCurrentObject and improve session management.
5 years ago
bunnei
c40e7593f5
Revert "WORKAROUND: temp. disable session resource limits while we work out issues"
This reverts commit fc086f93b2 .
5 years ago
Morph
7f78b17e20
KTransferMemory: Return size instead of size * PageSize in GetSize()
size is already the size in bytes. We do not need to multiply it by the page size
5 years ago
Morph
049769a0c9
hle_ipc: unsigned -> u32
This is more concise and consistent with the rest of the codebase.
5 years ago
Morph
81a5ecdb18
hle_ipc: Add a getter for PID
5 years ago
Lioncash
9a07ed53eb
core: Make variable shadowing a compile-time error
Now that we have most of core free of shadowing, we can enable the
warning as an error to catch anything that may be remaining and also
eliminate this class of logic bug entirely.
5 years ago
Morph
faaea00069
nifm, ssl: Fix incorrect response sizes
5 years ago
ameerj
5bef54618a
perf_stats: Rework FPS counter to be more accurate
The FPS counter was based on metrics in the nvdisp swapbuffers call. This metric would be accurate if the gpu thread/renderer were synchronous with the nvdisp service, but that's no longer the case.
This commit moves the frame counting responsibility onto the concrete renderers after their frame draw calls. Resulting in more meaningful metrics.
The displayed FPS is now made up of the average framerate between the previous and most recent update, in order to avoid distracting FPS counter updates when framerate is oscillating between close values.
The status bar update frequency was also changed from 2 seconds to 500ms.
5 years ago
Morph
271f2e2d78
ssl: Stub Import(Client/Server)Pki
- Used in JUMP FORCE Deluxe Edition
5 years ago
bunnei
12d569e483
hle: kernel: hle_ipc: Fix outgoing IPC response size calculation.
5 years ago
bunnei
fc086f93b2
WORKAROUND: temp. disable session resource limits while we work out issues
5 years ago
bunnei
f2c26443f8
WORKAROUND: Do not use slab heap while we track down issues with resource management.
5 years ago
bunnei
b9f543b29f
audren
5 years ago
bunnei
343d92a092
core: hle: ipc_helpers: Fix cast on raw_data_size calculation.
5 years ago
bunnei
2c1e119c4a
hle: service: sm: Add TIPC support.
- Fixes our error checking of names as well.
5 years ago
bunnei
913971417e
hle: kernel: hle_ipc: Improve IPC code and add initial support for TIPC.
- Fixes our move handles implementation to actually move objects.
- Simplifies the traditional IPC path.
5 years ago
bunnei
49c4c329f6
hle: service: sm: GetService: Reserve session resource when we create a KSession.
5 years ago
bunnei
21671d05a3
hle: service: Add support for dispatching TIPC requests.
5 years ago
bunnei
da25a59866
hle: service: Implement IPC::CommandType::Close.
- This was not actually closing sessions before.
5 years ago
bunnei
41928dfdda
hle: service: sm: Use RegisterNamedService to register the service.
5 years ago
bunnei
934b2d8842
hle: service: sm: Improve Initialize implementation.
5 years ago
bunnei
f54ea749a4
hle: kernel: svc: Update ConnectToNamedPort to use new CreateNamedServicePort interface.
5 years ago
bunnei
c6de9657be
hle: kernel: Implement named service ports using service interface factory.
- This allows us to create a new interface each time ConnectToNamedPort is called, removing the assumption that these are static.
5 years ago
bunnei
44c763f9c6
hle: kernel: KSession: Improve implementation of CloneCurrentObject.
5 years ago
bunnei
cfed6936f3
hle: service: sm: Increase point buffer size.
5 years ago
bunnei
9f44a44f2f
hle: ipc_helpers: Reserve session resource when we create a KSession.
5 years ago
bunnei
75f23ad494
hle: kernel: KClientPort: Cleanup comment format.
5 years ago
bunnei
7a06037c5f
hle: ipc: Add declarations for TIPC.
5 years ago
bunnei
ed25191ee6
hle: kernel: Further cleanup and add TIPC helpers.
5 years ago
bunnei
d08bd3e062
hle: ipc_helpers: Update IPC response generation for TIPC.
5 years ago
german77
0c1bb46f0a
kernel: Delete unused files
5 years ago
Lioncash
2f62bae9e3
kernel: Eliminate variable shadowing
Now that the large kernel refactor is merged, we can eliminate the
remaining variable shadowing cases.
5 years ago
Lioncash
8f638e81e9
ldr: Simplify memory copy within LoadNro()
We can use the dedicated memory function for performing copies instead
of reading into a temporary buffer and then immediately writing it back
out to memory.
Eliminates a bit of heap memory churn.
5 years ago
ameerj
da62e92784
nvflinger: Create layers when they are queried but not found
Fixes Shantae softlock on boot.
5 years ago
bunnei
d57b12193b
hle: kernel: KPageTable: CanContain should not be constexpr.
5 years ago
bunnei
b805ee653f
hle: kernel: Move slab resource counts to Kernel.
5 years ago
bunnei
d2c4dbde9e
fixup! hle: kernel: Migrate KSharedMemory to KAutoObject.
5 years ago
bunnei
2c4615f3a6
fixup! hle: kernel: Migrate more of KThread to KAutoObject.
5 years ago
bunnei
510f71d871
fixup! hle: kernel: Ensure all kernel objects with KAutoObject are properly created.
5 years ago
bunnei
9f81221528
fixup! hle: kernel: Ensure all kernel objects with KAutoObject are properly created.
5 years ago
bunnei
eae107d0e9
kernel: svc: Remove unused RetrieveResourceLimitValue function.
5 years ago
bunnei
da22def511
hle: kernel: Fix un/sign mismatch errors with NUM_CPU_CORES.
5 years ago
bunnei
f23760b1e1
fixup! hle: kernel: Add initial impl. of slab setup.
5 years ago
bunnei
1e983b19df
fixup! hle: kernel: Migrate to KHandleTable.
5 years ago
bunnei
ad5a5ef43f
fixup! hle: kernel: Migrate more of KThread to KAutoObject.
5 years ago
bunnei
9434603450
fixup! hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject.
5 years ago
bunnei
703d7aaab6
fixup! hle: kernel: Migrate to KHandleTable.
5 years ago
bunnei
9beb239634
fixup! hle: kernel: Add initial impl. of KLinkedList.
5 years ago
bunnei
2cdc7142b0
fixup! hle: kernel: Migrate to KHandleTable.
5 years ago