David Marcec
0af061e175
style: Change AMs & Glues error codes to be dec instead of hex
Consistency for the rest of the error codes in the codebase
6 years ago
David Marcec
b680569dd3
marked stubs
6 years ago
David Marcec
36302b6e20
account: ListQualifiedUsers
Closes #2844
6 years ago
David Marcec
f3209e7baa
Audin:u ListAudioIns, OpenAudioIn, ListAudioInsAuto, OpenAudioInAuto, ListAudioInsAutoFiltered, OpenAudioInProtocolSpecified
Closes #2874
6 years ago
M&M
381eed14f6
services: hid: Stub StopSevenSixAxisSensor.
- Used by The Legend of Zelda: Breath of the Wild v1.6.0
6 years ago
David Marcec
efe3e5c7c6
vi: Don't let uninitialized data pass as a response for SetBufferCount
Currently SetBufferCount doesn't write to the out buffer which then contains uninitialized data. This leads to non-zero data which leads to responding with different error codes
6 years ago
Lioncash
dca9c90af3
physical_core: Make use of std::make_unique instead of std::make_shared in ctor
We can also allow unicorn to be constructed in 32-bit mode or 64-bit
mode to satisfy the need for both interpreter instances.
Allows this code to compile successfully of non x86-64 architectures.
6 years ago
Lioncash
9a5a6ebe0a
shared_memory: Amend doxygen reference
Amends the parameter to match the documentation reference.
Resolves a -Wdocumentation warning with clang.
6 years ago
Lioncash
224d3c6b9d
svc: Re-add MapProcessCodeMemory/UnmapProcessCodeMemory
These were lost in the re-implementation of the virtual memory manager.
6 years ago
Lioncash
2fc4351547
svc: Remove unused variable
Since the VMM refactor, this is no longer used or needed.
6 years ago
Lioncash
a881161d3c
page_table: Remove unused captures
Any time the lambda function is called, the permission being used in the
capture would be passed in as an argument to the lambda, so the capture
is unnecessary.
6 years ago
bunnei
da893629a0
kernel: memory: Improve implementation of device shared memory. ( #3707 )
* kernel: memory: Improve implementation of device shared memory.
* fixup! kernel: memory: Improve implementation of device shared memory.
* fixup! kernel: memory: Improve implementation of device shared memory.
6 years ago
David
c95dd42b72
audio_renderer: Preliminary BehaviorInfo ( #3736 )
* audio_renderer: Preliminary BehaviorInfo
* clang format
* Fixed IsRevisionSupported
* fixed IsValidRevision
* Fixed logic error & spelling errors & crash
* Addressed issues
6 years ago
Lioncash
d73e0ef309
service: Update function tables
Keeps the service function tables up to date.
Updated based off information on SwitchBrew.
6 years ago
FearlessTobi
45243e63d8
npad: Lower log level for VibrateController to Debug
6 years ago
FearlessTobi
f1135379fd
audren: Lower log level for RequestUpdateImpl to Debug
6 years ago
Lioncash
8bcb8b177c
service/time: Remove reliance on the global system accessor
Eliminates usages of the global system accessor and instead passes the
existing system instance into the interfaces.
6 years ago
MerryMage
5451c81b74
thread: FPCR.FZ is likely not 1
6 years ago
bunnei
f220140e8a
service: hid: npad: Fix implicit fallthrough errors.
6 years ago
Lioncash
de87fe690e
time/system_clock_core: Remove unnecessary initializer
This is already initialized within the class body.
6 years ago
Lioncash
8c0589239b
service/time: Mark IsStandardNetworkSystemClockAccuracySufficient as const
This doesn't modify internal member state.
6 years ago
Lioncash
30af9f0d5c
service/time: Add virtual destructors where applicable
Many of these implementations are used to implement a polymorphic
interface. While not directly used polymorphically, this prevents
virtual destruction from ever becoming an issue.
6 years ago
Lioncash
5f25db88b1
service: Remove unused RequestParser instances
These aren't used, so they should be removed to reduce compilation
warnings.
6 years ago
Lioncash
ac3ff8c9ba
memory/slab_heap: Make use of static_cast over reinterpret_cast
Casting from void* with static_cast is permitted by the standard, so we
can just make use of that instead.
6 years ago
Lioncash
972240e94a
am: Resolve ineffective moves
Previously const objects were being std::moved, which results in no move
actually occurring. This resolves that.
6 years ago
bunnei
4cdbd44f51
core: hle: Address various feedback & code cleanup.
- Should be no functional changes.
6 years ago
bunnei
bdf7501e7b
memory: Add copyright notice for Atmosphere where applicable.
6 years ago
bunnei
0cf0195874
kernel: Remove old VMManager class.
6 years ago
bunnei
0707404f34
service: ldr: Updates for new VMM.
- Includes removing some service impls. that are untested.
6 years ago
bunnei
27b5b6c36f
kernel: memory: page_table: Simplify GetPhysicalAddr impl.
6 years ago
bunnei
6b40850b9a
kernel: svc: Updates for new VMM.
- Includes removing some SVC impls. that are untested.
6 years ago
bunnei
5fd6e219ea
kernel: process: Updates for new VMM.
6 years ago
bunnei
7e1001c2d3
service: pl_u: Update for new shared memory layout.
6 years ago
bunnei
38b51e2ffe
service: time: Update for new shared memory layout.
6 years ago
bunnei
410667d72a
service: hid: Update for new shared memory layout.
6 years ago
bunnei
6d110ee83c
service: irs: Update for new shared memory layout.
6 years ago
bunnei
15e751e36c
kernel: resource_limit: Reserve physical memory.
6 years ago
bunnei
76a040f50d
kernel: Initialize memory layout for new VMM.
6 years ago
bunnei
769f8cbf79
core: system: Rename GetDeviceManager -> DeviceManager.
- More consistent with other system components.
6 years ago
bunnei
d04147e731
kernel: transfer_memory: Refactor for new VMM.
6 years ago
bunnei
9edd67f475
kernel: shared_memory: Refactor for new VMM.
6 years ago
bunnei
6ef844fab3
kernel: errors: Add ERR_OUT_OF_RESOURCES.
6 years ago
bunnei
1717cdf811
kernel: process_capability: Update to use Memory::PageTable.
6 years ago
bunnei
6fe68ddea2
kernel: memory: Add PageTable class, to manage process address space.
6 years ago
bunnei
ea8bc8e759
kernel: memory: Add MemoryLayout class, to build physical memory layout.
6 years ago
bunnei
9b912d155a
kernel: memory: Add MemoryManager class, to manage page heaps.
6 years ago
bunnei
227e9ac5d7
kernel: memory: Add MemoryBlockManager class, to manage memory blocks.
6 years ago
bunnei
036f2f9176
kernel: memory: Add PageHeap class, to manage a heap of pages.
6 years ago
bunnei
b013b110bc
kernel: memory: Add PageLinkedList class, to manage a list of pages.
6 years ago
bunnei
b94f043b7b
kernel: memory: Add system_control code, which will be used for ASLR support.
6 years ago