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
af94b08c
Commit
af94b08c
authored
Jan 13, 2016
by
danh-arm
Browse files
Merge pull request #481 from sandrine-bailleux/sb/fix-doc
Various documentation fixes
parents
5773b532
fcb22cf0
Changes
3
Hide whitespace changes
Inline
Side-by-side
docs/firmware-design.md
View file @
af94b08c
...
@@ -8,7 +8,7 @@ Contents :
...
@@ -8,7 +8,7 @@ Contents :
3.
[
EL3 runtime services framework
](
#3--el3-runtime-services-framework
)
3.
[
EL3 runtime services framework
](
#3--el3-runtime-services-framework
)
4.
[
Power State Coordination Interface
](
#4--power-state-coordination-interface
)
4.
[
Power State Coordination Interface
](
#4--power-state-coordination-interface
)
5.
[
Secure-EL1 Payloads and Dispatchers
](
#5--secure-el1-payloads-and-dispatchers
)
5.
[
Secure-EL1 Payloads and Dispatchers
](
#5--secure-el1-payloads-and-dispatchers
)
6.
[
Crash Reporting in BL31
](
#6--crash-reporting-in-bl3
-
1
)
6.
[
Crash Reporting in BL31
](
#6--crash-reporting-in-bl31
)
7.
[
Guidelines for Reset Handlers
](
#7--guidelines-for-reset-handlers
)
7.
[
Guidelines for Reset Handlers
](
#7--guidelines-for-reset-handlers
)
8.
[
CPU specific operations framework
](
#8--cpu-specific-operations-framework
)
8.
[
CPU specific operations framework
](
#8--cpu-specific-operations-framework
)
9.
[
Memory layout of BL images
](
#9-memory-layout-of-bl-images
)
9.
[
Memory layout of BL images
](
#9-memory-layout-of-bl-images
)
...
@@ -988,11 +988,11 @@ needs to be exported for each type of CPU in the platform. It is defined in
...
@@ -988,11 +988,11 @@ needs to be exported for each type of CPU in the platform. It is defined in
`reset_func()`
,
`core_pwr_dwn()`
,
`cluster_pwr_dwn()`
and
`cpu_reg_dump()`
.
`reset_func()`
,
`core_pwr_dwn()`
,
`cluster_pwr_dwn()`
and
`cpu_reg_dump()`
.
The CPU specific files in
`lib/cpus`
export a
`cpu_ops`
data structure with
The CPU specific files in
`lib/cpus`
export a
`cpu_ops`
data structure with
suitable handlers for that CPU. For example,
`lib/cpus/cortex_a53.S`
exports
suitable handlers for that CPU. For example,
`lib/cpus/
aarch64/
cortex_a53.S`
the
`cpu_ops`
for Cortex-A53 CPU. According to the platform
configuration,
exports
the
`cpu_ops`
for Cortex-A53 CPU. According to the platform
these CPU specific files must
must
be included in the build by
the platform
configuration,
these CPU specific files must be included in the build by
makefile. The generic CPU specific operations framework code exists
in
the platform
makefile. The generic CPU specific operations framework code exists
`lib/cpus/aarch64/cpu_helpers.S`
.
in
`lib/cpus/aarch64/cpu_helpers.S`
.
### CPU specific Reset Handling
### CPU specific Reset Handling
...
@@ -1020,12 +1020,12 @@ entry is stored in per-CPU data by `init_cpu_ops()` so that it can be quickly
...
@@ -1020,12 +1020,12 @@ entry is stored in per-CPU data by `init_cpu_ops()` so that it can be quickly
retrieved during power down sequences.
retrieved during power down sequences.
The PSCI service, upon receiving a power down request, determines the highest
The PSCI service, upon receiving a power down request, determines the highest
affinity
level at which to execute power down sequence for a particular CPU and
power
level at which to execute power down sequence for a particular CPU and
invokes the corresponding 'prepare' power down handler in the CPU specific
invokes the corresponding 'prepare' power down handler in the CPU specific
operations framework. For example, when a CPU executes a power down for
affinity
operations framework. For example, when a CPU executes a power down for
power
level 0, the
`prepare_core_pwr_dwn()`
retrieves the
`cpu_ops`
pointer from the
level 0, the
`prepare_core_pwr_dwn()`
retrieves the
`cpu_ops`
pointer from the
per-CPU data and the corresponding
`core_pwr_dwn()`
is invoked. Similarly when
per-CPU data and the corresponding
`core_pwr_dwn()`
is invoked. Similarly when
a CPU executes power down at
affinity
level 1, the
`prepare_cluster_pwr_dwn()`
a CPU executes power down at
power
level 1, the
`prepare_cluster_pwr_dwn()`
retrieves the
`cpu_ops`
pointer and the corresponding
`cluster_pwr_dwn()`
is
retrieves the
`cpu_ops`
pointer and the corresponding
`cluster_pwr_dwn()`
is
invoked.
invoked.
...
@@ -1454,8 +1454,8 @@ The ARM development platforms' policy is to only allow loading of a known set of
...
@@ -1454,8 +1454,8 @@ The ARM development platforms' policy is to only allow loading of a known set of
images. The platform policy can be modified to allow additional images.
images. The platform policy can be modified to allow additional images.
11. Use of coherent memory in Trusted Firmware
11.
Use of coherent memory in Trusted Firmware
----------------------------------------------
----------------------------------------------
-
There might be loss of coherency when physical memory with mismatched
There might be loss of coherency when physical memory with mismatched
shareability, cacheability and memory attributes is accessed by multiple CPUs
shareability, cacheability and memory attributes is accessed by multiple CPUs
...
@@ -1739,5 +1739,5 @@ _Copyright (c) 2013-2015, ARM Limited and Contributors. All rights reserved._
...
@@ -1739,5 +1739,5 @@ _Copyright (c) 2013-2015, ARM Limited and Contributors. All rights reserved._
[
Porting Guide
]:
./porting-guide.md
[
Porting Guide
]:
./porting-guide.md
[
Reset Design
]:
./reset-design.md
[
Reset Design
]:
./reset-design.md
[
INTRG
]:
./interrupt-framework-design.md
[
INTRG
]:
./interrupt-framework-design.md
[
CPUBM
]:
./cpu-specific-build-macros.md
.md
[
CPUBM
]:
./cpu-specific-build-macros.md
[
Firmware Update
]:
./firmware-update.md
[
Firmware Update
]:
./firmware-update.md
docs/firmware-update.md
View file @
af94b08c
...
@@ -3,11 +3,11 @@ ARM Trusted Firmware - Firmware Update Design Guide
...
@@ -3,11 +3,11 @@ ARM Trusted Firmware - Firmware Update Design Guide
Contents :
Contents :
1.
[
Introduction
](
#1-introduction
)
1.
[
Introduction
](
#1-
-
introduction
)
2.
[
FWU Overview
](
#2-fwu-overview
)
2.
[
FWU Overview
](
#2-
-
fwu-overview
)
3.
[
Image Identification
](
#3-image-identification
)
3.
[
Image Identification
](
#3-
-
image-identification
)
4.
[
FWU State Machine
](
#4-fwu-state-machine
)
4.
[
FWU State Machine
](
#4-
-
fwu-state-machine
)
5.
[
SMC Interface
](
#5-smc-interface
)
5.
[
BL1
SMC Interface
](
#5-
-bl1-
smc-interface
)
- - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - -
...
@@ -35,8 +35,8 @@ FWU images, please refer to the "Non-Trusted Firmware Updater" requirements in
...
@@ -35,8 +35,8 @@ FWU images, please refer to the "Non-Trusted Firmware Updater" requirements in
the TBBR.
the TBBR.
2. FWU Overview
2.
FWU Overview
---------------
---------------
-
The FWU boot flow is primarily mediated by BL1. Since BL1 executes in ROM, and
The FWU boot flow is primarily mediated by BL1. Since BL1 executes in ROM, and
it is usually desirable to minimize the amount of ROM code, the design allows
it is usually desirable to minimize the amount of ROM code, the design allows
...
@@ -73,8 +73,8 @@ use all defined FWU images. Other platforms may use a subset of these.
...
@@ -73,8 +73,8 @@ use all defined FWU images. Other platforms may use a subset of these.
![
Flow Diagram
](
diagrams/fwu_flow.png?raw=true
)
![
Flow Diagram
](
diagrams/fwu_flow.png?raw=true
)
3. Image Identification
3.
Image Identification
-----------------------
-----------------------
-
Each FWU image and certificate is identified by a unique ID, defined by the
Each FWU image and certificate is identified by a unique ID, defined by the
platform, which BL1 uses to fetch an image descriptor (
`image_desc_t`
) via a
platform, which BL1 uses to fetch an image descriptor (
`image_desc_t`
) via a
...
@@ -135,7 +135,7 @@ The following is a brief description of the supported states:
...
@@ -135,7 +135,7 @@ The following is a brief description of the supported states:
5. BL1 SMC Interface
5. BL1 SMC Interface
-----------------
-----------------
----
### BL1_SMC_CALL_COUNT
### BL1_SMC_CALL_COUNT
...
...
docs/interrupt-framework-design.md
View file @
af94b08c
...
@@ -10,7 +10,7 @@ Contents :
...
@@ -10,7 +10,7 @@ Contents :
-
[
Valid Routing Models
](
#113-valid-routing-models
)
-
[
Valid Routing Models
](
#113-valid-routing-models
)
+
[
Secure-EL1 Interrupts
](
#1131-secure-el1-interrupts
)
+
[
Secure-EL1 Interrupts
](
#1131-secure-el1-interrupts
)
+
[
Non-secure Interrupts
](
#1132-non-secure-interrupts
)
+
[
Non-secure Interrupts
](
#1132-non-secure-interrupts
)
+
[
EL3 interrupts
](
#1133-el3
_
interrupts
)
+
[
EL3 interrupts
](
#1133-el3
-
interrupts
)
-
[
Mapping of Interrupt Type to Signal
](
#114-mapping-of-interrupt-type-to-signal
)
-
[
Mapping of Interrupt Type to Signal
](
#114-mapping-of-interrupt-type-to-signal
)
+
[
Effect of mapping of several interrupt types to one signal
](
#1141-effect-of-mapping-of-several-interrupt-types-to-one-signal
)
+
[
Effect of mapping of several interrupt types to one signal
](
#1141-effect-of-mapping-of-several-interrupt-types-to-one-signal
)
-
[
Assumptions in Interrupt Management Framework
](
#12-assumptions-in-interrupt-management-framework
)
-
[
Assumptions in Interrupt Management Framework
](
#12-assumptions-in-interrupt-management-framework
)
...
...
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