kern: ensure InitArguments do not cross page boundaries

This commit is contained in:
Michael Scire committed 2021-06-17 12:49:25 -07:00
1 parent 8a6afe7909
commit e423aef033
2 files changed
+5 -2

No files matched your search

@@ -24,6 +24,8 @@
namespace ams::kern::init {
static_assert(util::IsPowerOfTwo(alignof(KInitArguments)) && util::IsPowerOfTwo(sizeof(KInitArguments)));
KPhysicalAddress GetInitArgumentsAddress(s32 core_id);
}