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
33a8ead0
Commit
33a8ead0
authored
Aug 14, 2017
by
danh-arm
Committed by
GitHub
Aug 14, 2017
Browse files
Merge pull request #1043 from tekkamanninja/qemu_xlat_tables_v2_upstream
qemu: use translation tables library v2 as default.
parents
ca9915c2
dd923601
Changes
2
Hide whitespace changes
Inline
Side-by-side
plat/qemu/platform.mk
View file @
33a8ead0
...
...
@@ -11,11 +11,23 @@ PLAT_INCLUDES := -Iinclude/plat/arm/common/ \
-Iplat
/qemu/include
\
-Iinclude
/common/tbbr
# Use translation tables library v2 by default
ARM_XLAT_TABLES_LIB_V1
:=
0
$(eval
$(call
assert_boolean,ARM_XLAT_TABLES_LIB_V1))
$(eval
$(call
add_define,ARM_XLAT_TABLES_LIB_V1))
PLAT_BL_COMMON_SOURCES
:=
plat/qemu/qemu_common.c
\
drivers/arm/pl011/aarch64/pl011_console.S
\
lib/xlat_tables/xlat_tables_common.c
\
drivers/arm/pl011/aarch64/pl011_console.S
ifeq
(${ARM_XLAT_TABLES_LIB_V1}, 1)
PLAT_BL_COMMON_SOURCES
+=
lib/xlat_tables/xlat_tables_common.c
\
lib/xlat_tables/aarch64/xlat_tables.c
else
include
lib/xlat_tables_v2/xlat_tables.mk
PLAT_BL_COMMON_SOURCES
+=
${XLAT_TABLES_LIB_SRCS}
endif
BL1_SOURCES
+=
drivers/io/io_semihosting.c
\
drivers/io/io_storage.c
\
...
...
plat/qemu/qemu_common.c
View file @
33a8ead0
...
...
@@ -7,7 +7,7 @@
#include <arch_helpers.h>
#include <bl_common.h>
#include <platform_def.h>
#include <xlat_tables.h>
#include <
arm_
xlat_tables.h>
#include "qemu_private.h"
#define MAP_DEVICE0 MAP_REGION_FLAT(DEVICE0_BASE, \
...
...
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