]> 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)
commit0f0173e78decf13f6cd080c95276754f720049bb
treeab45d08cdad8ede4405a0fd3f2d0eb442d5613a5
parent1201ae7f66f22d64481bfc87f6bb35162dc0f70c
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]