Copy swio explanation from bztsc's tutorials (see issue#)
This commit is contained in:
parent
3299b39ee3
commit
d931e70b89
|
@ -82,7 +82,7 @@ fn setup_and_enter_el1_from_el2() -> ! {
|
||||||
CNTVOFF_EL2.set(0);
|
CNTVOFF_EL2.set(0);
|
||||||
|
|
||||||
// Set EL1 execution state to AArch64
|
// Set EL1 execution state to AArch64
|
||||||
// TODO: Explain the SWIO bit
|
// TODO: Explain the SWIO bit (SWIO hardwired on Pi3)
|
||||||
HCR_EL2.write(HCR_EL2::RW::EL1IsAarch64 + HCR_EL2::SWIO::SET);
|
HCR_EL2.write(HCR_EL2::RW::EL1IsAarch64 + HCR_EL2::SWIO::SET);
|
||||||
|
|
||||||
// Set up a simulated exception return.
|
// Set up a simulated exception return.
|
||||||
|
|
Loading…
Reference in New Issue