]> git.karo-electronics.de Git - karo-tx-linux.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>
Mon, 28 Jan 2013 16:24:21 +0000 (16:24 +0000)
commite902ee92f9b62eac44821a5ce28afe56d1865687
tree52303685ca2c3df476cd05eb743328c345a0752c
parent2ba70dfc1e3af83b83a2a78bf9411c33f41fd906
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]