blob: 1a6b56fca63cfb077fbc60ae5ae2c5b41a15f902 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: import/chips/p9/procedures/ppe/pk/std/std_register_addresses.h $ */
/* */
/* OpenPOWER sbe Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2015,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
/* You may obtain a copy of the License at */
/* */
/* http://www.apache.org/licenses/LICENSE-2.0 */
/* */
/* Unless required by applicable law or agreed to in writing, software */
/* distributed under the License is distributed on an "AS IS" BASIS, */
/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */
/* implied. See the License for the specific language governing */
/* permissions and limitations under the License. */
/* */
/* IBM_PROLOG_END_TAG */
#ifndef __STD_REGISTER_ADDRESSES_H__
#define __STD_REGISTER_ADDRESSES_H__
//-----------------------------------------------------------------------------
// *! (C) Copyright International Business Machines Corp. 2015
// *! All Rights Reserved -- Property of IBM
// *! *** IBM Confidential ***
//-----------------------------------------------------------------------------
/// \file std_register_addresses.h
/// \brief Symbolic addresses for a standard PPE
#include "pk.h"
// Define the base address for the external interrupt controller registers
// This can be overridden in the pk_app_cfg.h file
#ifndef STD_EIC_BASE
#define STD_EIC_BASE 0xC0000000
#endif
// Define the base address for the PPE mode registers
// This can be overridden in the pk_app_cfg.h file
#ifndef STD_PMR_BASE
#define STD_PMR_BASE 0xC0000100
#endif
// Note: This list only contains registers that are needed by PK. If
// an application requires other registers, it should define them
// elsewhere (i.e., cme_register_addresses.h)
#define STD_LCL_EISR (STD_EIC_BASE + 0x0000)
#define STD_LCL_EISR_OR (STD_EIC_BASE + 0x0010)
#define STD_LCL_EISR_CLR (STD_EIC_BASE + 0x0018)
#define STD_LCL_EIMR (STD_EIC_BASE + 0x0020)
#define STD_LCL_EIMR_OR (STD_EIC_BASE + 0x0030)
#define STD_LCL_EIMR_CLR (STD_EIC_BASE + 0x0038)
#define STD_LCL_EIPR (STD_EIC_BASE + 0x0040)
#define STD_LCL_EIPR_OR (STD_EIC_BASE + 0x0050)
#define STD_LCL_EIPR_CLR (STD_EIC_BASE + 0x0058)
#define STD_LCL_EITR (STD_EIC_BASE + 0x0060)
#define STD_LCL_EITR_OR (STD_EIC_BASE + 0x0070)
#define STD_LCL_EITR_CLR (STD_EIC_BASE + 0x0078)
#define STD_LCL_EISTR (STD_EIC_BASE + 0x0080)
#define STD_LCL_EINR (STD_EIC_BASE + 0x00a0)
#define STD_LCL_TSEL (STD_PMR_BASE + 0x0000)
#define STD_LCL_TBR (STD_PMR_BASE + 0x0040)
#endif // __STD_REGISTER_ADDRESSES_H__
|