1202375Srdivacky/* TI C6X control register information. 2202375Srdivacky Copyright (C) 2010-2024 Free Software Foundation, Inc. 3202375Srdivacky 4202375Srdivacky This program is free software; you can redistribute it and/or modify 5202375Srdivacky it under the terms of the GNU General Public License as published by 6202375Srdivacky the Free Software Foundation; either version 3 of the License, or 7202375Srdivacky (at your option) any later version. 8202375Srdivacky 9202375Srdivacky This program is distributed in the hope that it will be useful, 10202375Srdivacky but WITHOUT ANY WARRANTY; without even the implied warranty of 11202375Srdivacky MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12202375Srdivacky GNU General Public License for more details. 13202375Srdivacky 14202375Srdivacky You should have received a copy of the GNU General Public License 15202375Srdivacky along with this program; if not, write to the Free Software 16202375Srdivacky Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 17249423Sdim MA 02110-1301, USA. */ 18249423Sdim 19249423Sdim/* Define the CTRL macro before including this file; it takes as 20202375Srdivacky arguments the fields from tic6x_ctrl (defined in tic6x.h). The 21202375Srdivacky control register name is given as an identifier; the isa_variants 22249423Sdim field without the leading TIC6X_INSN_; the rw field without the 23202375Srdivacky leading tic6x_rw_. */ 24249423Sdim 25202375SrdivackyCTRL(amr, C62X, read_write, 0x0, 0x10) 26202375SrdivackyCTRL(csr, C62X, read_write, 0x1, 0x10) 27202375SrdivackyCTRL(dnum, C64XP, read, 0x11, 0x1f) 28249423SdimCTRL(ecr, C64XP, write, 0x1d, 0x1f) 29202375SrdivackyCTRL(efr, C64XP, read, 0x1d, 0x1f) 30202375SrdivackyCTRL(fadcr, C67X, read_write, 0x12, 0x1f) 31202375SrdivackyCTRL(faucr, C67X, read_write, 0x13, 0x1f) 32202375SrdivackyCTRL(fmcr, C67X, read_write, 0x14, 0x1f) 33202375SrdivackyCTRL(gfpgfr, C64X, read_write, 0x18, 0x1f) 34202375SrdivackyCTRL(gplya, C64XP, read_write, 0x16, 0x1f) 35202375SrdivackyCTRL(gplyb, C64XP, read_write, 0x17, 0x1f) 36202375SrdivackyCTRL(icr, C62X, write, 0x3, 0x10) 37202375SrdivackyCTRL(ier, C62X, read_write, 0x4, 0x10) 38218893SdimCTRL(ierr, C64XP, read_write, 0x1f, 0x1f) 39202375SrdivackyCTRL(ifr, C62X, read, 0x2, 0x1d) 40202375SrdivackyCTRL(ilc, C64XP, read_write, 0xd, 0x1f) 41202375SrdivackyCTRL(irp, C62X, read_write, 0x6, 0x10) 42202375SrdivackyCTRL(isr, C62X, write, 0x2, 0x10) 43202375SrdivackyCTRL(istp, C62X, read_write, 0x5, 0x10) 44202375SrdivackyCTRL(itsr, C64XP, read_write, 0x1b, 0x1f) 45202375SrdivackyCTRL(nrp, C62X, read_write, 0x7, 0x10) 46202375SrdivackyCTRL(ntsr, C64XP, read_write, 0x1c, 0x1f) 47202375SrdivackyCTRL(pce1, C62X, read, 0x10, 0xf) 48202375SrdivackyCTRL(rep, C64XP, read_write, 0xf, 0x1f) 49202375SrdivackyCTRL(rilc, C64XP, read_write, 0xe, 0x1f) 50202375SrdivackyCTRL(ssr, C64XP, read_write, 0x15, 0x1f) 51202375SrdivackyCTRL(tsch, C64XP, read, 0xb, 0x1f) 52202375Srdivacky/* Contrary to Table 3-26 in SPRUFE8, this register is read-write, as 53202375Srdivacky documented in section 2.9.13. */ 54202375SrdivackyCTRL(tscl, C64XP, read_write, 0xa, 0x1f) 55202375SrdivackyCTRL(tsr, C64XP, read_write, 0x1a, 0x1f) 56202375Srdivacky