@@ -25,26 +25,9 @@ there's a desire to keep things small and lightweight. LK has been chosen as the
25
25
Trusty Architecture
26
26
*******************
27
27
28
- Trusty Architectural diagram::
29
-
30
- +---------------------------+
31
- |VMn |
32
- | ...... |
33
- +------------+ +---------------------------+ |
34
- |VM0 | |VM1 | |
35
- | | | +--------+ +--------+ | |
36
- | | | | | | | | |
37
- | SOS | | | Normal | | Secure | | |
38
- | | | | World | | World | |-+
39
- | | | | | | | |
40
- | | | +--------+ +--------+ |
41
- +------------+ +---------------------------+
42
- +-------------------------------------------+
43
- | ACRN Hypervisor |
44
- +-------------------------------------------+
45
- +-------------------------------------------+
46
- | HW |
47
- +-------------------------------------------+
28
+ .. figure :: images/trusty-arch.png
29
+ :align: center
30
+ :name: Trusty Architectural diagram
48
31
49
32
.. note ::
50
33
Trusty OS is running in Secure World in the architecture drawing above.
@@ -118,39 +101,9 @@ modify Normal World's EPT during runtime such as increasing memory, changing att
118
101
etc. If such behavior happened, only PD and PT for Normal World need to
119
102
be updated.
120
103
121
- ::
122
-
123
- ABSTRACT EPT hierarchy for 2 Worlds:
124
- ==================================================================== ==================================================
125
- : Normal World : : Secure World :
126
- : PML4 : : PML4 :
127
- : +--------+ : : +--------+ :
128
- : | | : : | | :
129
- : | | : : PD | | :
130
- : | | : : +-------+ | | :
131
- : | | : : | | | | :
132
- : | 0-512G |--+ : : | | +--| 0-512G | :
133
- :EPTP -->+--------+ | : : | | | +--------+<-- EPTP :
134
- : | PDPT : : | | PDPT | :
135
- : | +--------+ : : | | +--------+ | :
136
- : | | >=511G |---> Not present : : +-------+<--| >=511G | | :
137
- : | |________| : : |________| | :
138
- : | | | : : | | | :
139
- : | | <511G |->+<----------------------------:--------:--------------| <511G | | :
140
- : | | | | : : | | | :
141
- : +-->+--------+ | PD PT : : +--------+<-+ :
142
- : | ... ... : ==================================================
143
- : | +-------+ +-------+ :
144
- : | +-------+| +-------+| :
145
- : | | || | || :
146
- : | | || | || :
147
- : | | PDE |--+ | || :
148
- : | | || | | || :
149
- : | | |+ | | |+ :
150
- : +-->+-------+ +-->+-------+ :
151
- : :
152
- ====================================================================
153
-
104
+ .. figure :: images/ept-hierarchy.png
105
+ :align: center
106
+ :name: EPT hierarchy
154
107
155
108
API
156
109
===
0 commit comments