kern: ensure InitArguments do not cross page boundaries
This commit is contained in:
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);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user