Lioncash
72b497e876
nvflinger: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
285d8d8b7d
nvdrv: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
022fc59dcd
ns: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
47054327c2
nifm: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
28b92db7fd
nfp: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
dabfd90dfe
lm: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
9cd7485cd7
hid: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
8fc4003dab
friend: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
b5b613ea29
filesystem: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
c6a740d7c2
fatal: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
8d32bf9a96
audio: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
d652e41365
apm: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
e74dbfc572
aoc: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
5483c08b44
am: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
f85d880ac6
acc: Move logging macros over to new fmt-compatible ones
8 years ago
mailwl
a0179e5ca5
Service/FS: implement IFileSystem::RenameFile
8 years ago
Subv
46572d027d
Kernel: Implemented mutex priority inheritance.
Verified with a hwtest and implemented based on reverse engineering.
Thread A's priority will get bumped to the highest priority among all the threads that are waiting for a mutex that A holds.
Once A releases the mutex and ownership is transferred to B, A's priority will return to normal and B's priority will be bumped.
8 years ago
Subv
0d6eafe11a
NvDrv/nvhost-as-gpu: Ensure that the object passed to MapBufferEx has already been allocated.
Also added a consistency check and a comment for the case when the object id is different than its handle. The real nvservices doesn't make a distinction between ids and handles, each object gets an unique handle which doubles as its id.
8 years ago
Subv
e4bd0bddea
Nvdrv/nvhost-as-gpu: Implemented the ioctl REMAP command.
It takes a previously-reserved (AllocateSpace) GPU memory address and maps it to the address of the nvmap object passed to Remap.
8 years ago
Subv
e862c50a70
Nvdrv: Assert when receiving an unimplemented ioctl in the nv* handlers.
8 years ago
David Marcec
27650499bc
GetIUserInterface->CreateUserInterface, Added todos and stub logs. Playreport->PlayReport.
8 years ago
David
df669bc540
lioncash proposed changes
8 years ago
David Marcec
f3137d3bc1
Implemented GetIUserInterface properly, Playreport and SSL::SetInterfaceVersion. Fixed ipc issues with IAudioDevice(wrong ids)
8 years ago
Subv
a70ed9c8ae
Kernel: Use 0x2C as default main thread priority for homebrew and lone NRO/NSOs
8 years ago
Subv
013778aa21
Qt: Update the WaitTree widget to show info about the current mutex of each thread.
8 years ago
Subv
be155f4d9d
Kernel: Remove unused ConditionVariable class.
8 years ago
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