1 /*
2  * Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
3  *
4  * SPDX-License-Identifier: BSD-2-Clause
5  */
6 
7 #pragma once
8 
9 #include <autoconf.h>
10 
11 #if !defined(CONFIG_PLAT_ZYNQMP) && !defined(PLAT_ZYNQMP_ZCU102)
12 #error "unknown platform"
13 #endif
14 
15 /* Cortex-A53 Manual, Section 11.6.1 */
16 #define seL4_NumHWBreakpoints (10)
17 #define seL4_NumExclusiveBreakpoints (6)
18 #define seL4_NumExclusiveWatchpoints (4)
19 #ifdef CONFIG_HARDWARE_DEBUG_API
20 #define seL4_FirstWatchpoint (6)
21 #define seL4_NumDualFunctionMonitors (0)
22 #endif
23 
24 #if CONFIG_WORD_SIZE == 32
25 /* First address in the virtual address space that is not accessible to user level */
26 #define seL4_UserTop 0xe0000000
27 #else
28 /* otherwise this is defined at the architecture level */
29 #endif
30