/*1* Xtensa MX interrupt distributor2*3* This file is subject to the terms and conditions of the GNU General Public4* License. See the file "COPYING" in the main directory of this archive5* for more details.6*7* Copyright (C) 2008 - 2013 Tensilica Inc.8*/910#ifndef _XTENSA_MXREGS_H11#define _XTENSA_MXREGS_H1213/*14* RER/WER at, as Read/write external register15* at: value16* as: address17*18* Address Value19* 00nn 0...0p..p Interrupt Routing, route IRQ n to processor p20* 01pp 0...0d..d 16 bits (d) 'ored' as single IPI to processor p21* 0180 0...0m..m Clear enable specified by mask (m)22* 0184 0...0m..m Set enable specified by mask (m)23* 0190 0...0x..x 8-bit IPI partition register24* VVVVVVVVPPPPUUUUUUUUUUUUUUUUU25* V (10-bit) Release/Version26* P ( 4-bit) Number of cores - 127* U (18-bit) ID28* 01a0 i.......i 32-bit ConfigID29* 0200 0...0m..m RunStall core 'n'30* 0220 c Cache coherency enabled31*/3233#define MIROUT(irq) (0x000 + (irq))34#define MIPICAUSE(cpu) (0x100 + (cpu))35#define MIPISET(cause) (0x140 + (cause))36#define MIENG 0x18037#define MIENGSET 0x18438#define MIASG 0x188 /* Read Global Assert Register */39#define MIASGSET 0x18c /* Set Global Addert Regiter */40#define MIPIPART 0x19041#define SYSCFGID 0x1a042#define MPSCORE 0x20043#define CCON 0x2204445#endif /* _XTENSA_MXREGS_H */464748