ELR_hyp, Exception Link Register (Hyp mode)

The ELR_hyp characteristics are:

Purpose

When taking an exception to Hyp mode, holds the address to return to.

This register is part of the Special-purpose registers functional group.

Configuration

AArch32 System register ELR_hyp is architecturally mapped to AArch64 System register ELR_EL2.

On a reset into an Exception level that is using AArch32 ELR_hyp is UNKNOWN.

Attributes

ELR_hyp is a 32-bit register.

Field descriptions

The ELR_hyp bit assignments are:

313029282726252423222120191817161514131211109876543210
Return address

Bits [31:0]

Return address.

Accessing the ELR_hyp

This register can be read using MRS (banked register) with the following syntax:

MRS <Rd>, <banked_reg>

This register can be written using MSR (banked register) with the following syntax:

MSR <banked_reg>, <Rd>

This syntax uses the following encoding in the System instruction encoding space:

<banked_reg> RMM1
ELR_hyp011110

Accessibility

The register is accessible as follows:

Control Accessibility
E2HTGENSEL0EL1EL2EL3
xx0 - - n/a -
x01 - - RWRW
x11 - n/a RWRW

This table applies to all instructions that can access this register.




28/09/2017 08:24

Copyright © 2010-2017 ARM Limited or its affiliates. All rights reserved. This document is Non-Confidential.