Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request google#1275 from lubinszARM:pr_ring0_5
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 290839263
  • Loading branch information
gvisor-bot committed Jan 22, 2020
2 parents 7e6fbc6 + 3f0e91b commit b3405a7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pkg/sentry/platform/ring0/entry_arm64.s
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,17 @@ el0_svc:
B ·Halt(SB)

el0_da:
WORD $0xd538d092 //MRS TPIDR_EL1, R18
WORD $0xd538601a //MRS FAR_EL1, R26

MOVD R26, CPU_FAULT_ADDR(RSV_REG)

MOVD $1, R3
MOVD R3, CPU_ERROR_TYPE(RSV_REG) // Set error type to user.

MOVD $PageFault, R3
MOVD R3, CPU_VECTOR_CODE(RSV_REG)

B ·Halt(SB)

el0_ia:
Expand Down

0 comments on commit b3405a7

Please sign in to comment.