mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-16 16:14:25 -04:00
kern: add (and use) generic KSystemControlBase
This commit is contained in:
parent
1f8bf41f0b
commit
273f4a87ae
23 changed files with 704 additions and 988 deletions
|
@ -238,7 +238,7 @@ namespace ams::kern {
|
|||
}
|
||||
|
||||
/* Generate random entropy. */
|
||||
KSystemControl::GenerateRandomBytes(m_entropy, sizeof(m_entropy));
|
||||
KSystemControl::GenerateRandom(m_entropy, util::size(m_entropy));
|
||||
|
||||
/* Clear remaining fields. */
|
||||
m_num_running_threads = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue