Skip to content

Commit

Permalink
arch/tile: add Tilera's <arch/sim.h> header as an open-source header
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chris Metcalf committed Oct 15, 2010
1 parent 4fe938c commit bf65e44
Show file tree
Hide file tree
Showing 4 changed files with 622 additions and 37 deletions.
Loading

0 comments on commit bf65e44

Please sign in to comment.