Browse Source
* changes: Factor xlat_table sections in linker scripts out into a header file xlat_tables_v2: use ARRAY_SIZE in REGISTER_XLAT_CONTEXT_FULL_SPEC xlat_tables_v2: merge REGISTER_XLAT_CONTEXT_{FULL_SPEC,RO_BASE_TABLE}pull/1938/head
Sandrine Bailleux
5 years ago
committed by
TrustedFirmware Code Review
12 changed files with 66 additions and 129 deletions
@ -0,0 +1,21 @@ |
|||
/*
|
|||
* Copyright (c) 2020, ARM Limited and Contributors. All rights reserved. |
|||
* |
|||
* SPDX-License-Identifier: BSD-3-Clause |
|||
*/ |
|||
|
|||
#ifndef BL_COMMON_LD_H |
|||
#define BL_COMMON_LD_H |
|||
|
|||
/*
|
|||
* The xlat_table section is for full, aligned page tables (4K). |
|||
* Removing them from .bss avoids forcing 4K alignment on |
|||
* the .bss section. The tables are initialized to zero by the translation |
|||
* tables library. |
|||
*/ |
|||
#define XLAT_TABLE_SECTION \ |
|||
xlat_table (NOLOAD) : { \ |
|||
*(xlat_table) \ |
|||
} |
|||
|
|||
#endif /* BL_COMMON_LD_H */ |
Loading…
Reference in new issue