Skip to content

Story 6.1 — EL2 boot path #35

Description

@Abhinkop

Goal

Detect and configure EL2 so that the kernel can act as a hypervisor host.

Tasks

  • Detect CurrentEL at entry; branch to EL2 setup path if at EL2
  • Configure HCR_EL2: RW=1 (EL1 is AArch64), VM=0 initially, IMO/FMO/AMO routing
  • Set up EL2 stack and EL2 exception vectors
  • Drop to EL1 via eret with SPSR_EL2 = EL1h, all interrupts unmasked

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions