Subv
5fdfbfe25a
Kernel: Remove old and unused Mutex code.
8 years ago
Subv
b18ccf9399
Kernel: Properly implemented svcWaitProcessWideKey and svcSignalProcessWideKey
They work in tandem with guest code to provide synchronization primitives along with svcArbitrateLock/Unlock
8 years ago
Subv
e81a2080eb
Kernel: Corrected the implementation of svcArbitrateLock and svcArbitrateUnlock.
Switch mutexes are no longer kernel objects, they are managed in userland and only use the kernel to handle the contention case.
Mutex addresses store a special flag value (0x40000000) to notify the guest code that there are still some threads waiting for the mutex to be released. This flag is updated when a thread calls ArbitrateUnlock.
TODO:
* Fix svcWaitProcessWideKey
* Fix svcSignalProcessWideKey
* Remove the Mutex class.
8 years ago
Lioncash
659a612368
core: Relocate g_service_manager to the System class
Converts the service manager from a global into an instance-based
variable.
8 years ago
Lioncash
bec05db746
resource_limit: Make ResourceTypes an enum class
Prevents enum identifiers from leaking into the surrounding scope.
8 years ago
Lioncash
fae2dd0344
math_util: Remove the Clamp() function
C++17 adds clamp() to the standard library, so we can remove ours in
favor of it.
8 years ago
Lioncash
d9e316e353
common_funcs: Remove ARRAY_SIZE macro
C++17 has non-member size() which we can just call where necessary.
8 years ago
Lioncash
ccca5e7c28
service: Use nested namespace specifiers where applicable
Tidies up namespace declarations
8 years ago
Lioncash
3990da488b
vi: Remove redundant initializers in the constructors
8 years ago
Lioncash
80982748c8
disk_filesystem: Remove unused total_entries_in_directory member from Disk_Directory
8 years ago
Lioncash
e61a4dd485
disk_filesystem: Remove redundant initializer in Disk_Directory's constructor
8 years ago
Lioncash
b05f8ea5b5
disk_filesystem: Make constructors explicit where applicable
8 years ago
bunnei
de18592179
nvflinger: Call MicroProfileFlip on NVFlinger::Compose.
8 years ago
mailwl
5922f2c46d
Service/VI: stub SetLayerVisibility, fix GetDisplayResolution output
both SetLayerVisibility() functions used in Lego games, GetDisplayResolution()
fixed according switchbrew.org
8 years ago
shinyquagsire23
de580ccdd5
file_sys: Use NGLOG
8 years ago
Hexagon12
e52a87b98a
Various service name fixes - part 2 (rebased) ( #322 )
* Updated ACC with more service names
* Updated SVC with more service names
* Updated set with more service names
* Updated sockets with more service names
* Updated SPL with more service names
* Updated time with more service names
* Updated vi with more service names
8 years ago
shinyquagsire23
83aa38b239
file_sys: tweaks
8 years ago
shinyquagsire23
c03795300a
file_sys: Add HFS/PFS helper component
8 years ago
bunnei
ac628f139d
pl_u: Use empty shared font if none is available.
- Makes games work in lieu of shared_font.bin.
8 years ago
bunnei
bddad50dd4
fsp_srv: Implement DeleteFile.
- Used by Binding of Isaac.
8 years ago
bunnei
43f0f163e1
vm_manager: Increase GetTotalMemoryUsage value.
- Gets Binding of Isaac running.
8 years ago
bunnei
9cab6809f2
fsp_srv: Implement IFile::Flush.
8 years ago
Hexagon12
e10248f308
Fixed normal params in GetDisplayResolution
8 years ago
Hexagon12
56d2958aaf
Stubbed out GetPlayerLedPattern
8 years ago
mailwl
39f75350bb
Service/SSL: update service according switchbrew
8 years ago
Hexagon12
cc89b7bfcb
Various fixes and clang
8 years ago
Hexagon12
a155d3b7ff
Decimal change
8 years ago
Hexagon12
88f1fe79c6
Updated pctl:a with new service names.
8 years ago
Hexagon12
177bdb94df
Updated nvmemp with new service names.
8 years ago
Hexagon12
4d1a2509df
Updated nvdrv with more service names.
8 years ago
Hexagon12
ac50d2cd60
Updated pl:u with more service names.
8 years ago
Hexagon12
2d2de1422e
Updated hid with more service names.
8 years ago
Hexagon12
9e2f30ab4a
Updated friend:u with more service names.
8 years ago
Hexagon12
be50a6ceef
Updated the unknown name
8 years ago
Hexagon12
7788178f01
Updated friend:a with more service names.
8 years ago
Hexagon12
ae5e2d07c6
Updated fsp-srv with more service names.
8 years ago
Hexagon12
ee3ca32fa3
Updated CodecCtl with more service names.
8 years ago
Hexagon12
ed2da0ef70
Updated audren with more service names.
8 years ago
Hexagon12
c0011fdacd
Updated audrec with more service names.
8 years ago
Hexagon12
a886e3bc2a
Updated audout with more service names.
8 years ago
Hexagon12
4cf4a5ecdc
Updated audin with more service names.
8 years ago
Hexagon12
c79c9755b4
Updated AOC with more service names.
8 years ago
Hexagon12
434cffa37d
Updated AppletOE with more service names.
8 years ago
Hexagon12
0cc2e7d81d
Updated AppletAE with more service names.
8 years ago
Hexagon12
84d39530cf
Updated AM with more service names.
8 years ago
mailwl
3769a80fac
Service/ACC: convert to module, add acc:aa, acc:su, acc:u1 services
8 years ago
James Rowe
f16eb90b8f
Fix spelling of Initialize
8 years ago
N00byKing
358050cfc6
core, main.h: Abort on 32Bit ROMs ( #309 )
* core, main.h: Abort on 32Bit ROMs
* main.cpp: Fix Grammar
8 years ago
bunnei
40bccd74d3
svc: Stub out SetThreadActivity, GetThreadContext.
8 years ago
bunnei
4c0cf3d5ff
audren_u: Stub out GetActiveAudioDeviceName.
8 years ago