]> git.karo-electronics.de Git - mv-sheeva.git/commit
arch/tile: add Tilera's <arch/sim.h> header as an open-source header
authorChris Metcalf <cmetcalf@tilera.com>
Thu, 14 Oct 2010 20:00:11 +0000 (16:00 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Fri, 15 Oct 2010 19:36:54 +0000 (15:36 -0400)
commitbf65e440e8248f22b2eacf8d47961bb9d52260f7
tree49189dfa1bc90732caedc1e872baed9fb360adf0
parent4fe938c5134fce1f25e1261eef6252fb47634962
arch/tile: add Tilera's <arch/sim.h> header as an open-source header

This change adds one of the Tilera standard <arch> headers to the set
of headers shipped with Linux.  The <arch/sim.h> header provides
methods for programmatically interacting with the Tilera simulator.

The current <arch/sim.h> provides inline assembly for the _sim_syscall
function, so the declaration and definition previously provided
manually in Linux are no longer needed.  We now use the standard
sim_validate_lines_evicted() method from <arch/sim.h> rather than
rolling our own direct call to sim_syscall().

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/include/arch/sim.h [new file with mode: 0644]
arch/tile/include/asm/system.h
arch/tile/kernel/entry.S
arch/tile/mm/homecache.c