Line 1... |
Line 1... |
/* Interface definition for configurable Xtensa ISA support.
|
/* Interface definition for configurable Xtensa ISA support.
|
Copyright 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
Copyright 2003, 2004, 2005, 2006, 2008 Free Software Foundation, Inc.
|
|
|
This file is part of BFD, the Binary File Descriptor library.
|
This file is part of BFD, the Binary File Descriptor library.
|
|
|
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
Line 13... |
Line 13... |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
GNU General Public License for more details.
|
GNU General Public License for more details.
|
|
|
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
|
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301,
|
|
USA. */
|
|
|
#ifndef XTENSA_LIBISA_H
|
#ifndef XTENSA_LIBISA_H
|
#define XTENSA_LIBISA_H
|
#define XTENSA_LIBISA_H
|
|
|
#ifdef __cplusplus
|
#ifdef __cplusplus
|
Line 684... |
Line 685... |
|
|
extern int
|
extern int
|
xtensa_state_is_exported (xtensa_isa isa, xtensa_state st);
|
xtensa_state_is_exported (xtensa_isa isa, xtensa_state st);
|
|
|
|
|
|
/* Check for a "shared_or" state. Returns 0 if the condition is false,
|
|
1 if the condition is true, and XTENSA_UNDEFINED on error. */
|
|
|
|
extern int
|
|
xtensa_state_is_shared_or (xtensa_isa isa, xtensa_state st);
|
|
|
|
|
|
|
/* Sysregs ("special registers" and "user registers"). */
|
/* Sysregs ("special registers" and "user registers"). */
|
|
|
/* Look up a register by its number and whether it is a "user register"
|
/* Look up a register by its number and whether it is a "user register"
|
or a "special register". Returns XTENSA_UNDEFINED if the sysreg does
|
or a "special register". Returns XTENSA_UNDEFINED if the sysreg does
|