mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-03 08:08:39 -04:00
kern: remove target-firmware logic for kernel loader
This commit is contained in:
parent
0c9cb830f7
commit
8bfda27e0e
5 changed files with 153 additions and 98 deletions
|
@ -690,12 +690,7 @@ namespace ams::kern::arch::arm64::init {
|
|||
}
|
||||
|
||||
ALWAYS_INLINE void InitializeFromState(uintptr_t state_val) {
|
||||
if (kern::GetTargetFirmware() >= ams::TargetFirmware_10_0_0) {
|
||||
m_state = *reinterpret_cast<State *>(state_val);
|
||||
} else {
|
||||
m_state.next_address = state_val;
|
||||
m_state.free_bitmap = 0;
|
||||
}
|
||||
m_state = *reinterpret_cast<State *>(state_val);
|
||||
}
|
||||
|
||||
ALWAYS_INLINE void GetFinalState(State *out) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue