bunnei
4415e00181
gl_rasterizer_cache: Update to be based on GPU addresses, not CPU addresses.
8 years ago
Lioncash
cc2e14ec2a
loader: Move old logging macros over to new fmt-capable ones
8 years ago
Lioncash
d08cfb55fe
service: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
88eb612718
vi: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
bd9c2aa51f
time: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
bfe49edb2a
ssl: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
82413a6c89
spl: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
62c69f4a1e
sockets: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
2a3f3bf977
sm: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
32ece18bb6
set: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
13f9cf2bd0
pctl: Move logging macros over to new fmt-compatible ones
8 years ago
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
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