kern: add (and use) generic KSystemControlBase

This commit is contained in:
Michael Scire authored and SciresM committed 2021-10-25 17:31:14 -07:00
1 parent 1f8bf41f0b
commit 273f4a87ae
23 files changed
+704 -988

No files matched your search

@@ -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;