diff options
author | mbroyles <mbroyles@us.ibm.com> | 2015-08-04 11:52:42 -0500 |
---|---|---|
committer | William A. Bryan <wilbryan@us.ibm.com> | 2015-08-04 11:57:34 -0500 |
commit | c64c10490a90584ad69d12dd4fac1a4288a26c45 (patch) | |
tree | c798af61d732b1f09b3e88fe89ab5b57eb6630a7 /src/occ_gpe0/pk_app_cfg.h | |
parent | 420e6d248cc6d2b3c39bc3970e3bb6747b3bddc3 (diff) | |
download | talos-occ-c64c10490a90584ad69d12dd4fac1a4288a26c45.tar.gz talos-occ-c64c10490a90584ad69d12dd4fac1a4288a26c45.zip |
Updates for IPC and GPE0
Change-Id: I8e31c3fdc0bf142e07ce2adc16abc585d63c8f82
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19524
Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Tested-by: William A. Bryan <wilbryan@us.ibm.com>
Diffstat (limited to 'src/occ_gpe0/pk_app_cfg.h')
-rw-r--r-- | src/occ_gpe0/pk_app_cfg.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/occ_gpe0/pk_app_cfg.h b/src/occ_gpe0/pk_app_cfg.h new file mode 100644 index 0000000..7d01008 --- /dev/null +++ b/src/occ_gpe0/pk_app_cfg.h @@ -0,0 +1,56 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/occ_gpe0/pk_app_cfg.h $ */ +/* */ +/* OpenPOWER OnChipController Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2015 */ +/* [+] 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 __PK_APP_CFG_H__ +#define __PK_APP_CFG_H__ +//----------------------------------------------------------------------------- +// *! (C) Copyright International Business Machines Corp. 2014 +// *! All Rights Reserved -- Property of IBM +// *! *** IBM Confidential *** +//----------------------------------------------------------------------------- + +/// \file pk_app_cfg.h +/// \brief Application specific overrides go here. +/// + +#include "global_app_cfg.h" + +/// Static configuration data for external interrupts: +/// +/// IRQ#, TYPE, POLARITY, ENABLE +/// +#define APPCFG_EXT_IRQS_CONFIG \ + OCCHW_IRQ_CHECK_STOP_GPE0 OCCHW_IRQ_TYPE_EDGE OCCHW_IRQ_POLARITY_RISING OCCHW_IRQ_MASKED \ + OCCHW_IRQ_IPI0_HI_PRIORITY OCCHW_IRQ_TYPE_EDGE OCCHW_IRQ_POLARITY_RISING OCCHW_IRQ_MASKED \ + OCCHW_IRQ_IPI0_LO_PRIORITY OCCHW_IRQ_TYPE_EDGE OCCHW_IRQ_POLARITY_RISING OCCHW_IRQ_MASKED \ + +/// The Instance ID of the occ processor that this application is intended to run on +/// 0-3 -> GPE, 4 -> 405 +#define APPCFG_OCC_INSTANCE_ID 0 + +// This application will statically initialize it's external interrupt table +#define STATIC_IRQ_TABLE + +#define STATIC_IPC_TABLES +#endif /*__PK_APP_CFG_H__*/ |