Copy swio explanation from bztsc's tutorials (see issue#)

This commit is contained in:
Berkus Decker 2019-01-18 17:07:17 +02:00
parent 3299b39ee3
commit d931e70b89
1 changed files with 1 additions and 1 deletions

View File

@ -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.