All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
cpu_conf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017 Ken Rabold
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser General
5  * Public License v2.1. See the file LICENSE in the top level directory for more
6  * details.
7  */
8 
19 #ifndef CPU_CONF_H
20 #define CPU_CONF_H
21 
22 #include "cpu_conf_common.h"
23 #include "vendor/platform.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
32 #define CLINT_BASE_ADDR (CLINT_CTRL_ADDR)
33 
37 #define PLIC_BASE_ADDR (PLIC_CTRL_ADDR)
38 
43 #define NUM_PMP_ENTRIES 16
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 #endif /* CPU_CONF_H */