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
508a48bb
Commit
508a48bb
authored
May 24, 2019
by
Paul Beesley
Committed by
TrustedFirmware Code Review
May 24, 2019
Browse files
Merge "Add support for Branch Target Identification" into integration
parents
c0e9d433
9fc59639
Changes
22
Hide whitespace changes
Inline
Side-by-side
lib/xlat_tables_v2/xlat_tables_utils.c
View file @
508a48bb
/*
* Copyright (c) 2017-201
8
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2017-201
9
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -96,6 +96,13 @@ static void xlat_desc_print(const xlat_ctx_t *ctx, uint64_t desc)
}
printf
(((
LOWER_ATTRS
(
NS
)
&
desc
)
!=
0ULL
)
?
"-NS"
:
"-S"
);
#ifdef AARCH64
/* Check Guarded Page bit */
if
((
desc
&
GP
)
!=
0ULL
)
{
printf
(
"-GP"
);
}
#endif
}
static
const
char
*
const
level_spacers
[]
=
{
...
...
make_helpers/defaults.mk
View file @
508a48bb
...
...
@@ -33,6 +33,9 @@ BL2_AT_EL3 := 0
# when BL2_AT_EL3 is 1.
BL2_IN_XIP_MEM
:=
0
# Select the branch protection features to use.
BRANCH_PROTECTION
:=
0
# By default, consider that the platform may release several CPUs out of reset.
# The platform Makefile is free to override this value.
COLD_BOOT_SINGLE_CPU
:=
0
...
...
@@ -90,7 +93,14 @@ ENABLE_STACK_PROTECTOR := 0
# Flag to enable exception handling in EL3
EL3_EXCEPTION_HANDLING
:=
0
# Flag to enable Pointer Authentication
# Flag to enable Branch Target Identification.
# Internal flag not meant for direct setting.
# Use BRANCH_PROTECTION to enable BTI.
ENABLE_BTI
:=
0
# Flag to enable Pointer Authentication.
# Internal flag not meant for direct setting.
# Use BRANCH_PROTECTION to enable PAUTH.
ENABLE_PAUTH
:=
0
# Build flag to treat usage of deprecated platform and framework APIs as error.
...
...
Prev
1
2
Next
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