bunnei
17b16cf6f6
set: Fix GetAvailableLanguageCodes implementation.
8 years ago
Lioncash
843dd62c81
core: Replace usages of LOG_GENERIC with new fmt-capable equivalents
8 years ago
Lioncash
8475496630
general: Convert assertion macros over to be fmt-compatible
8 years ago
David Marcec
abc23416e8
Switched to NGLOG_WARNING
8 years ago
David Marcec
f1f7f2cba9
Added PREPO to logging backend, Removed comments from SaveReportWithUser
8 years ago
Lioncash
1913cf4783
kernel/shared_memory: Remove unnecessary semicolon at end of ConvertPermissions()
Functions don't need to be terminated by semicolons.
8 years ago
Lioncash
40dee76c57
kernel: Migrate logging macros to fmt-compatible ones
8 years ago
mailwl
2ba4e2263c
Service/PCTL: convert to module, add services, stub
PCTL::CreateServiceWithoutInitialize and IParentalControlService::Initialize, required by Kirby Star Allies
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
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
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