metag: Headers for core arch constants
authorJames Hogan <james.hogan@imgtec.com>
Wed, 5 Dec 2012 11:03:52 +0000 (11:03 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Sat, 2 Mar 2013 20:09:16 +0000 (20:09 +0000)
commitaf8a10493e35c6c53c21ff33fd36c0ce789bd000
treeab45d08cdad8ede4405a0fd3f2d0eb442d5613a5
parent1228594528faf432ddc3eb51bccaf6a0d80bfc27
metag: Headers for core arch constants

Add a couple of header files containing core architecture constants.

The first (<asm/metag_isa.h>) contains some constants relating to the
instruction set, such as values to give to the CACHEW and CACHER
instructions.

The second (<asm/metag_regs.h>) contains constants for the core register
units directly accessible to various instructions, and for the
registers, fields, and bits in those units. The main units described are
the control unit (CT.*), the trigger unit (TR.*), and the run-time trace
unit (TT.*).

Signed-off-by: James Hogan <james.hogan@imgtec.com>
arch/metag/include/asm/metag_isa.h [new file with mode: 0644]
arch/metag/include/asm/metag_regs.h [new file with mode: 0644]