2018-09-07 15:00:13 +00:00
|
|
|
/*
|
2020-01-24 10:10:40 +00:00
|
|
|
* Copyright (c) 2018-2020 Atmosphère-NX
|
2018-09-07 15:00:13 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms and conditions of the GNU General Public License,
|
|
|
|
* version 2, as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
|
|
* more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2018-04-10 21:56:45 +00:00
|
|
|
#ifndef FUSEE_FLOW_CTLR_H
|
|
|
|
#define FUSEE_FLOW_CTLR_H
|
|
|
|
|
2018-08-18 16:59:33 +00:00
|
|
|
#include <stdint.h>
|
2018-04-10 21:56:45 +00:00
|
|
|
|
2018-08-18 16:59:33 +00:00
|
|
|
#define FLOW_CTLR_BASE 0x60007000
|
2018-09-05 19:51:03 +00:00
|
|
|
#define MAKE_FLOW_REG(n) MAKE_REG32(FLOW_CTLR_BASE + n)
|
2018-04-10 21:56:45 +00:00
|
|
|
|
|
|
|
#define FLOW_CTLR_HALT_COP_EVENTS_0 MAKE_FLOW_REG(0x004)
|
2018-08-18 16:59:33 +00:00
|
|
|
#define FLOW_CTLR_RAM_REPAIR_0 MAKE_FLOW_REG(0x040)
|
2018-04-10 21:56:45 +00:00
|
|
|
#define FLOW_CTLR_FLOW_DBG_QUAL_0 MAKE_FLOW_REG(0x050)
|
|
|
|
#define FLOW_CTLR_L2FLUSH_CONTROL_0 MAKE_FLOW_REG(0x094)
|
|
|
|
#define FLOW_CTLR_BPMP_CLUSTER_CONTROL_0 MAKE_FLOW_REG(0x098)
|
|
|
|
|
|
|
|
#endif
|