mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-23 19:52:40 +02:00
kern: correct flushing of init arguments
This commit is contained in:
parent
f02868d886
commit
4a50b00cab
@ -26,6 +26,5 @@ namespace ams::kern::init {
|
|||||||
|
|
||||||
KPhysicalAddress GetInitArgumentsAddress(s32 core_id);
|
KPhysicalAddress GetInitArgumentsAddress(s32 core_id);
|
||||||
void SetInitArguments(s32 core_id, KPhysicalAddress address, uintptr_t arg);
|
void SetInitArguments(s32 core_id, KPhysicalAddress address, uintptr_t arg);
|
||||||
void StoreInitArguments();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -259,9 +259,6 @@ namespace ams::kern {
|
|||||||
/* Setup the InitArguments. */
|
/* Setup the InitArguments. */
|
||||||
SetInitArguments(static_cast<s32>(i), core_local_region_start_phys[i], GetInteger(core_l1_ttbr1_phys[i]));
|
SetInitArguments(static_cast<s32>(i), core_local_region_start_phys[i], GetInteger(core_l1_ttbr1_phys[i]));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Ensure the InitArguments are flushed to cache. */
|
|
||||||
StoreInitArguments();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetupPoolPartitionMemoryRegions() {
|
void SetupPoolPartitionMemoryRegions() {
|
||||||
|
Loading…
Reference in New Issue
Block a user