Skip to content

Story 4.2 — EL1 to EL0 transition #27

Description

@Abhinkop

Goal

Drop execution to EL0 so that user code runs unprivileged.

Tasks

  • Implement drop_to_el0(entry_va, user_sp): configure SPSR_EL1, ELR_EL1, eret
  • Verify EL0 execution (read CurrentEL inside user task — must be 0)
  • Confirm kernel memory is inaccessible from EL0 (permission fault fires on access)

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