@@ -150,39 +150,8 @@ SECTIONS
150
150
. = ALIGN (8);
151
151
} > VECTORS
152
152
153
- /* ensure that uvisor bss is at the beginning of memory */
154
-
155
- .uvisor.bss (NOLOAD) :
156
- {
157
- . = ALIGN (32);
158
- __uvisor_bss_start = .;
159
-
160
- /* protected uvisor main bss */
161
- . = ALIGN (32);
162
- __uvisor_bss_main_start = .;
163
- KEEP(*(.keep.uvisor.bss.main))
164
- . = ALIGN (32);
165
- __uvisor_bss_main_end = .;
166
-
167
- /* protected uvisor secure boxes bss */
168
- . = ALIGN (32);
169
- __uvisor_bss_boxes_start = .;
170
- KEEP(*(.keep.uvisor.bss.boxes))
171
- . = ALIGN (32);
172
- __uvisor_bss_boxes_end = .;
173
-
174
- /* Ensure log2(size) alignment of the uvisor region, to ensure that the region can be effectively protected by the MPU. */
175
- . = ALIGN (1 << LOG2CEIL(__uvisor_bss_boxes_end - __uvisor_bss_start));
176
- __uvisor_bss_end = .;
177
- } > RAM_INTERN
178
-
179
153
.text :
180
154
{
181
- /* uVisor code and data */
182
- . = ALIGN (8);
183
- __uvisor_main_start = .;
184
- *(.uvisor.main)
185
- __uvisor_main_end = .;
186
155
*(.text*)
187
156
188
157
KEEP(*(.init))
@@ -294,50 +263,6 @@ SECTIONS
294
263
295
264
} >RAM_INTERN AT>FLASH
296
265
297
- /* uvisor configuration data */
298
- .uvisor.secure :
299
- {
300
- . = ALIGN (32);
301
- __uvisor_secure_start = .;
302
-
303
- /* uvisor secure boxes configuration tables */
304
- . = ALIGN (32);
305
- __uvisor_cfgtbl_start = .;
306
- KEEP(*(.keep.uvisor.cfgtbl))
307
- . = ALIGN (32);
308
- __uvisor_cfgtbl_end = .;
309
-
310
- /* pointers to uvisor secure boxes configuration tables */
311
- /* note : no further alignment here, we need to have the exact list of pointers */
312
- __uvisor_cfgtbl_ptr_start = .;
313
- KEEP(*(.keep.uvisor.cfgtbl_ptr_first))
314
- KEEP(*(.keep.uvisor.cfgtbl_ptr))
315
- __uvisor_cfgtbl_ptr_end = .;
316
-
317
- /* the following symbols are kept for backward compatibility and will be soon
318
- * deprecated; applications actively using uVisor (__uvisor_mode == UVISOR_ENABLED)
319
- * will need to use uVisor 0.8.x or above, or the security assertions will halt the
320
- * system */
321
- /************************/
322
- __uvisor_data_src = .;
323
- __uvisor_data_start = .;
324
- __uvisor_data_end = .;
325
- /************************/
326
-
327
- . = ALIGN (32);
328
- __uvisor_secure_end = .;
329
- } >FLASH
330
-
331
- .uninitialized (NOLOAD) :
332
- {
333
- . = ALIGN (32);
334
- __uninitialized_start = .;
335
- *(.uninitialized)
336
- KEEP(*(.keep.uninitialized))
337
- . = ALIGN (32);
338
- __uninitialized_end = .;
339
- } > RAM_INTERN
340
-
341
266
.bss (NOLOAD) :
342
267
{
343
268
__bss_start__ = .;
@@ -358,11 +283,4 @@ SECTIONS
358
283
PROVIDE (__heap_size = SIZEOF (.heap));
359
284
PROVIDE (__mbed_sbrk_start = ADDR (.heap));
360
285
PROVIDE (__mbed_krbs_start = ADDR (.heap) + SIZEOF (.heap));
361
-
362
- /* Provide physical memory boundaries for uVisor. */
363
- __uvisor_flash_start = ORIGIN (VECTORS);
364
- __uvisor_flash_end = ORIGIN (FLASH) + LENGTH (FLASH);
365
- __uvisor_sram_start = ORIGIN (RAM_INTERN);
366
- __uvisor_sram_end = ORIGIN (RAM_INTERN) + LENGTH (RAM_INTERN);
367
-
368
286
}
0 commit comments