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#ifdef HAVE_AUTOCONF
10#include <autoconf.h>
11#endif
12
13/* Cortex A57 manual, section 10.6.1 */
14#define seL4_NumHWBreakpoints (10)
15#define seL4_NumExclusiveBreakpoints (6)
16#define seL4_NumExclusiveWatchpoints (4)
17#ifdef CONFIG_HARDWARE_DEBUG_API
18#define seL4_FirstWatchpoint (6)
19#define seL4_NumDualFunctionMonitors (0)
20#endif
21
22#if CONFIG_WORD_SIZE == 32
23/* First address in the virtual address space that is not accessible to user level */
24#define seL4_UserTop 0xe0000000
25#else
26/* otherwise this is defined at the arch level */
27#endif
28
29