Commit Graph
9 Commits
Author SHA1 Message Date
Léo Lam 49ba91a8f3 fs_istorage: Default IStorage destructor in cpp
Prevents a -Wweak-vtables warning.
2018-07-10 09:38:18 -07:00
Léo Lam e088a2f414 stratosphere: In-class initialize members
Same thing, less code, less boilerplate.
2018-07-10 09:38:18 -07:00
Léo Lam 5b3e8e1c5d stratosphere: Use RAII for locks
This renames the Mutex class member functions so that the mutex types
satisfy Lockable.

This makes them usable with standard std::scoped_lock
and std::unique_lock, which lets us use RAII and avoids the need
for a custom RAII wrapper :)
2018-07-10 09:38:18 -07:00
Léo Lam 18153713d9 pm: Fix missing include 2018-07-10 09:38:18 -07:00
Léo Lam a28b40866a stratosphere: Remove an unneeded constructor
domain_objects is already an array of empty std::shared_ptrs (since
std::shared_ptr has a sane default constructor).
2018-07-10 09:38:18 -07:00
Léo Lam bd42514af0 ldr: Fix printf format string for size_t
%z should be used for size_t, otherwise the wrong value may be printed.

Fixes two -Wformat warnings.
2018-05-06 21:07:34 +02:00
Léo Lam 999a15c887 boot: Make gpio helper functions internally linked 2018-05-06 13:09:33 +02:00
Léo Lam 555ed96e80 boot: Fix missing argument for gpio_base_vaddr 2018-05-06 13:09:33 +02:00
Léo Lam d1e9de50e8 boot: Fix invalid usage of svcQueryIoMapping 2018-05-06 13:09:33 +02:00