Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
aa386f7a
Commit
aa386f7a
authored
5 years ago
by
Mark Dykes
Committed by
TrustedFirmware Code Review
5 years ago
Browse files
Options
Download
Plain Diff
Merge "Changes necessary to support SEPARATE_NOBITS_REGION feature" into integration
parents
d81e38f6
76d84cbc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
bl31/aarch64/bl31_entrypoint.S
+9
-5
bl31/aarch64/bl31_entrypoint.S
bl31/aarch64/runtime_exceptions.S
+3
-2
bl31/aarch64/runtime_exceptions.S
bl31/bl31.ld.S
+2
-1
bl31/bl31.ld.S
lib/el3_runtime/aarch64/cpu_data.S
+3
-2
lib/el3_runtime/aarch64/cpu_data.S
with
17 additions
and
10 deletions
+17
-10
bl31/aarch64/bl31_entrypoint.S
View file @
aa386f7a
/*
*
Copyright
(
c
)
2013
-
20
19
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
Copyright
(
c
)
2013
-
20
20
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
...
...
@@ -110,13 +110,17 @@ func bl31_entrypoint
*
caches
and
participate
in
coherency
.
*
--------------------------------------------------------------------
*/
adr
x0
,
__DATA_START__
adr
x1
,
__DATA_END__
adrp
x0
,
__DATA_START__
add
x0
,
x0
,
:
lo12
:
__DATA_START__
adrp
x1
,
__DATA_END__
add
x1
,
x1
,
:
lo12
:
__DATA_END__
sub
x1
,
x1
,
x0
bl
clean_dcache_range
adr
x0
,
__BSS_START__
adr
x1
,
__BSS_END__
adrp
x0
,
__BSS_START__
add
x0
,
x0
,
:
lo12
:
__BSS_START__
adrp
x1
,
__BSS_END__
add
x1
,
x1
,
:
lo12
:
__BSS_END__
sub
x1
,
x1
,
x0
bl
clean_dcache_range
...
...
This diff is collapsed.
Click to expand it.
bl31/aarch64/runtime_exceptions.S
View file @
aa386f7a
/*
*
Copyright
(
c
)
2013
-
20
19
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
Copyright
(
c
)
2013
-
20
20
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
...
...
@@ -414,7 +414,8 @@ smc_handler64:
orr
x16
,
x16
,
x15
,
lsl
#
FUNCID_OEN_WIDTH
/
*
Load
descriptor
index
from
array
of
indices
*/
adr
x14
,
rt_svc_descs_indices
adrp
x14
,
rt_svc_descs_indices
add
x14
,
x14
,
:
lo12
:
rt_svc_descs_indices
ldrb
w15
,
[
x14
,
x16
]
/
*
Any
index
greater
than
127
is
invalid
.
Check
bit
7
.
*/
...
...
This diff is collapsed.
Click to expand it.
bl31/bl31.ld.S
View file @
aa386f7a
/*
*
Copyright
(
c
)
2013
-
20
19
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
Copyright
(
c
)
2013
-
20
20
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
...
...
@@ -208,6 +208,7 @@ SECTIONS
*
Define
a
linker
symbol
to
mark
end
of
the
RW
memory
area
for
this
*
image
.
*/
.
=
ALIGN
(
PAGE_SIZE
)
;
__RW_END__
=
.
;
__BL31_END__
=
.
;
...
...
This diff is collapsed.
Click to expand it.
lib/el3_runtime/aarch64/cpu_data.S
View file @
aa386f7a
/*
*
Copyright
(
c
)
2014
-
20
16
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
Copyright
(
c
)
2014
-
20
20
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
...
...
@@ -41,7 +41,8 @@ endfunc init_cpu_data_ptr
func
_cpu_data_by_index
mov_imm
x1
,
CPU_DATA_SIZE
mul
x0
,
x0
,
x1
adr
x1
,
percpu_data
adrp
x1
,
percpu_data
add
x1
,
x1
,
:
lo12
:
percpu_data
add
x0
,
x0
,
x1
ret
endfunc
_cpu_data_by_index
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help