TTornblom | 83d9637 | 2019-11-19 12:53:16 +0100 | [diff] [blame^] | 1 | /* |
2 | * Copyright (c) 2020, Arm Limited. All rights reserved. | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: BSD-3-Clause | ||||
5 | * | ||||
6 | */ | ||||
7 | |||||
8 | #ifndef __REGION_H__ | ||||
9 | #define __REGION_H__ | ||||
10 | |||||
11 | /* Macros to pick linker symbols */ | ||||
12 | #define REGION(a, b, c) a##b##c | ||||
13 | #define REGION_NAME(a, b, c) REGION(a, b, c) | ||||
14 | #define REGION_DECLARE(a, b, c) extern uint32_t REGION_NAME(a, b, c) | ||||
15 | #define REGION_DECLARE_T(a, b, c, t) extern t REGION_NAME(a, b, c) | ||||
16 | |||||
17 | #endif /* __REGION_H__ */ |