2003-08-20 Michael Snyder <msnyder@redhat.com>
Dave Brolley <brolley@redhat.com> * cgen-par.h (flags, word1): New target-specific fields of CGEN_WRITE_QUEUE_ELEMENT. (CGEN_WRITE_QUEUE_ELEMENT_FLAGS): New accessor macro. (CGEN_WRITE_QUEUE_ELEMENT_WORD1): New accessor macro. * gennltvals.sh: Add frv target. * nltvals.def: Add frv target.
This commit is contained in:
parent
51796a3f8b
commit
33319edb53
@ -4,6 +4,16 @@
|
||||
* sim-options.c (print_help): Cast the format with specifier to
|
||||
"int".
|
||||
|
||||
2003-08-20 Michael Snyder <msnyder@redhat.com>
|
||||
Dave Brolley <brolley@redhat.com>
|
||||
|
||||
* cgen-par.h (flags, word1): New target-specific
|
||||
fields of CGEN_WRITE_QUEUE_ELEMENT.
|
||||
(CGEN_WRITE_QUEUE_ELEMENT_FLAGS): New accessor macro.
|
||||
(CGEN_WRITE_QUEUE_ELEMENT_WORD1): New accessor macro.
|
||||
* gennltvals.sh: Add frv target.
|
||||
* nltvals.def: Add frv target.
|
||||
|
||||
2003-06-23 Michael Snyder <msnyder@redhat.com>
|
||||
|
||||
* nrun.c (main): Delete h8/300 ifdef (sim now handles signals).
|
||||
|
@ -39,6 +39,8 @@ enum cgen_write_queue_kind {
|
||||
typedef struct {
|
||||
enum cgen_write_queue_kind kind; /* Used to select union member below. */
|
||||
IADDR insn_address; /* Address of the insn performing the write. */
|
||||
unsigned32 flags; /* Target specific flags. */
|
||||
long word1; /* Target specific field. */
|
||||
union {
|
||||
struct {
|
||||
BI *target;
|
||||
@ -152,6 +154,8 @@ typedef struct {
|
||||
|
||||
#define CGEN_WRITE_QUEUE_ELEMENT_KIND(element) ((element)->kind)
|
||||
#define CGEN_WRITE_QUEUE_ELEMENT_IADDR(element) ((element)->insn_address)
|
||||
#define CGEN_WRITE_QUEUE_ELEMENT_FLAGS(element) ((element)->flags)
|
||||
#define CGEN_WRITE_QUEUE_ELEMENT_WORD1(element) ((element)->word1)
|
||||
|
||||
extern void cgen_write_queue_element_execute (
|
||||
SIM_CPU *, CGEN_WRITE_QUEUE_ELEMENT *
|
||||
|
@ -41,6 +41,10 @@ dir=libgloss target=fr30
|
||||
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
|
||||
"syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}"
|
||||
|
||||
dir=libgloss target=frv
|
||||
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
|
||||
"syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}"
|
||||
|
||||
dir=libgloss/i960 target=i960
|
||||
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
|
||||
"syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}"
|
||||
@ -64,3 +68,4 @@ $shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
|
||||
dir=libgloss/v850/sys target=v850
|
||||
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
|
||||
"syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}"
|
||||
|
||||
|
@ -238,6 +238,32 @@
|
||||
/* end fr30 sys target macros */
|
||||
#endif
|
||||
#endif
|
||||
#ifdef NL_TARGET_frv
|
||||
#ifdef sys_defs
|
||||
/* from syscall.h */
|
||||
/* begin frv sys target macros */
|
||||
{ "SYS_argv", 13 },
|
||||
{ "SYS_argvlen", 12 },
|
||||
{ "SYS_chdir", 14 },
|
||||
{ "SYS_chmod", 16 },
|
||||
{ "SYS_close", 3 },
|
||||
{ "SYS_exit", 1 },
|
||||
{ "SYS_fstat", 10 },
|
||||
{ "SYS_getpid", 8 },
|
||||
{ "SYS_gettimeofday", 19 },
|
||||
{ "SYS_kill", 9 },
|
||||
{ "SYS_lseek", 6 },
|
||||
{ "SYS_open", 2 },
|
||||
{ "SYS_read", 4 },
|
||||
{ "SYS_stat", 15 },
|
||||
{ "SYS_time", 18 },
|
||||
{ "SYS_times", 20 },
|
||||
{ "SYS_unlink", 7 },
|
||||
{ "SYS_utime", 17 },
|
||||
{ "SYS_write", 5 },
|
||||
/* end frv sys target macros */
|
||||
#endif
|
||||
#endif
|
||||
#ifdef NL_TARGET_i960
|
||||
#ifdef sys_defs
|
||||
/* from syscall.h */
|
||||
|
Loading…
Reference in New Issue
Block a user