]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit22a155da09f961d0ee34759b2112dcb145145326
treeab45d08cdad8ede4405a0fd3f2d0eb442d5613a5
parent94ac388e4d014e3a75abc8a36399a4006d1b9e51
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]