source: trunk/libs/newlib/src/include/opcode/tic6x-control-registers.h @ 482

Last change on this file since 482 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 2.3 KB
Line 
1/* TI C6X control register information.
2   Copyright 2010
3   Free Software Foundation, Inc.
4
5   This program is free software; you can redistribute it and/or modify
6   it under the terms of the GNU General Public License as published by
7   the Free Software Foundation; either version 3 of the License, or
8   (at your option) any later version.
9
10   This program is distributed in the hope that it will be useful,
11   but WITHOUT ANY WARRANTY; without even the implied warranty of
12   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13   GNU General Public License for more details.
14
15   You should have received a copy of the GNU General Public License
16   along with this program; if not, write to the Free Software
17   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
18   MA 02110-1301, USA.  */
19
20/* Define the CTRL macro before including this file; it takes as
21   arguments the fields from tic6x_ctrl (defined in tic6x.h).  The
22   control register name is given as an identifier; the isa_variants
23   field without the leading TIC6X_INSN_; the rw field without the
24   leading tic6x_rw_.  */
25
26CTRL(amr, C62X, read_write, 0x0, 0x10)
27CTRL(csr, C62X, read_write, 0x1, 0x10)
28CTRL(dnum, C64XP, read, 0x11, 0x1f)
29CTRL(ecr, C64XP, write, 0x1d, 0x1f)
30CTRL(efr, C64XP, read, 0x1d, 0x1f)
31CTRL(fadcr, C67X, read_write, 0x12, 0x1f)
32CTRL(faucr, C67X, read_write, 0x13, 0x1f)
33CTRL(fmcr, C67X, read_write, 0x14, 0x1f)
34CTRL(gfpgfr, C64X, read_write, 0x18, 0x1f)
35CTRL(gplya, C64XP, read_write, 0x16, 0x1f)
36CTRL(gplyb, C64XP, read_write, 0x17, 0x1f)
37CTRL(icr, C62X, write, 0x3, 0x10)
38CTRL(ier, C62X, read_write, 0x4, 0x10)
39CTRL(ierr, C64XP, read_write, 0x1f, 0x1f)
40CTRL(ifr, C62X, read, 0x2, 0x1d)
41CTRL(ilc, C64XP, read_write, 0xd, 0x1f)
42CTRL(irp, C62X, read_write, 0x6, 0x10)
43CTRL(isr, C62X, write, 0x2, 0x10)
44CTRL(istp, C62X, read_write, 0x5, 0x10)
45CTRL(itsr, C64XP, read_write, 0x1b, 0x1f)
46CTRL(nrp, C62X, read_write, 0x7, 0x10)
47CTRL(ntsr, C64XP, read_write, 0x1c, 0x1f)
48CTRL(pce1, C62X, read, 0x10, 0xf)
49CTRL(rep, C64XP, read_write, 0xf, 0x1f)
50CTRL(rilc, C64XP, read_write, 0xe, 0x1f)
51CTRL(ssr, C64XP, read_write, 0x15, 0x1f)
52CTRL(tsch, C64XP, read, 0xb, 0x1f)
53/* Contrary to Table 3-26 in SPRUFE8, this register is read-write, as
54   documented in section 2.9.13.  */
55CTRL(tscl, C64XP, read_write, 0xa, 0x1f)
56CTRL(tsr, C64XP, read_write, 0x1a, 0x1f)
Note: See TracBrowser for help on using the repository browser.