Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
fe964ecf
Unverified
Commit
fe964ecf
authored
Nov 23, 2017
by
davidcunado-arm
Committed by
GitHub
Nov 23, 2017
Browse files
Merge pull request #1163 from antonio-nino-diaz-arm/an/parange
Add ARMv8.2 ID_AA64MMFR0_EL1.PARange value
parents
e2ff5ef8
6504b2c5
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/lib/aarch64/arch.h
View file @
fe964ecf
...
...
@@ -135,6 +135,7 @@
#define PARANGE_0011 U(42)
#define PARANGE_0100 U(44)
#define PARANGE_0101 U(48)
#define PARANGE_0110 U(52)
#define ID_AA64MMFR0_EL1_TGRAN4_SHIFT U(28)
#define ID_AA64MMFR0_EL1_TGRAN4_MASK U(0xf)
...
...
lib/xlat_tables/aarch64/xlat_tables.c
View file @
fe964ecf
...
...
@@ -60,7 +60,10 @@ static unsigned long long calc_physical_addr_size_bits(
/* Physical Address ranges supported in the AArch64 Memory Model */
static
const
unsigned
int
pa_range_bits_arr
[]
=
{
PARANGE_0000
,
PARANGE_0001
,
PARANGE_0010
,
PARANGE_0011
,
PARANGE_0100
,
PARANGE_0101
PARANGE_0101
,
#if ARM_ARCH_AT_LEAST(8, 2)
PARANGE_0110
,
#endif
};
static
unsigned
long
long
get_max_supported_pa
(
void
)
...
...
lib/xlat_tables_v2/aarch64/xlat_tables_arch.c
View file @
fe964ecf
...
...
@@ -48,7 +48,10 @@ unsigned long long tcr_physical_addr_size_bits(unsigned long long max_addr)
/* Physical Address ranges supported in the AArch64 Memory Model */
static
const
unsigned
int
pa_range_bits_arr
[]
=
{
PARANGE_0000
,
PARANGE_0001
,
PARANGE_0010
,
PARANGE_0011
,
PARANGE_0100
,
PARANGE_0101
PARANGE_0101
,
#if ARM_ARCH_AT_LEAST(8, 2)
PARANGE_0110
,
#endif
};
unsigned
long
long
xlat_arch_get_max_supported_pa
(
void
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment