OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 124 to Rev 125
    Reverse comparison

Rev 124 → Rev 125

/trunk/insight/gdb/remote-or1k.c
40,6 → 40,10
#include <sys/ioctl.h>
#include <fcntl.h>
 
/* The following prototype is necessary or the compiler will not
correctly promote the data argument to ULONGEST */
static void or1k_write_reg (unsigned int, ULONGEST);
 
/* JTAG or1k target ops. */
extern void jtag_init PARAMS ((char * args));
extern ULONGEST jtag_read_reg PARAMS ((unsigned int regno));
334,6 → 338,9
/* give it some time */
usleep (1000);
or1k_flush_pipeline ();
 
or1k_set_chain (SC_REGISTER); /* CZ: Changed 16/06/01...must reset
scan chain after flush_pipeline() */
/* Release reset signal, but keep in stall state. */
or1k_write_reg (JTAG_RISCOP, val | 1);
or1k_flush_pipeline ();
1452,9 → 1459,10
/* Initialize target-specific fields in the target vectors adn add targets. */
or1k_jtag_ops.to_shortname = "jtag";
or1k_jtag_ops.to_longname = "Remote or1k debugging over JTAG port";
or1k_jtag_ops.to_doc = "\
Debug a board using the OR1K remote debugging protocol over a parallel line.\n\
The argument is the device it is connected to or, if it contains a colon,\n";
or1k_jtag_ops.to_doc = "Debug a board using the OR1K remote debugging protocol"
" over a parallel line.\nThe argument is the parallel port it is connected "
"to, or, if it is formatted\nas a URL of the form jtag://<hostname>:<port>,"
" then the argument refers to\na remote JTAG proxy server.\n";
or1k_jtag_ops.to_open = or1k_jtag_open;
add_target (&or1k_jtag_ops);
/trunk/gdb-5.0/gdb/remote-or1k.c
40,6 → 40,10
#include <sys/ioctl.h>
#include <fcntl.h>
 
/* The following prototype is necessary or the compiler will not
correctly promote the data argument to ULONGEST */
static void or1k_write_reg (unsigned int, ULONGEST);
 
/* JTAG or1k target ops. */
extern void jtag_init PARAMS ((char * args));
extern ULONGEST jtag_read_reg PARAMS ((unsigned int regno));
334,6 → 338,9
/* give it some time */
usleep (1000);
or1k_flush_pipeline ();
 
or1k_set_chain (SC_REGISTER); /* CZ: Changed 16/06/01...must reset
scan chain after flush_pipeline() */
/* Release reset signal, but keep in stall state. */
or1k_write_reg (JTAG_RISCOP, val | 1);
or1k_flush_pipeline ();
1452,9 → 1459,10
/* Initialize target-specific fields in the target vectors adn add targets. */
or1k_jtag_ops.to_shortname = "jtag";
or1k_jtag_ops.to_longname = "Remote or1k debugging over JTAG port";
or1k_jtag_ops.to_doc = "\
Debug a board using the OR1K remote debugging protocol over a parallel line.\n\
The argument is the device it is connected to or, if it contains a colon,\n";
or1k_jtag_ops.to_doc = "Debug a board using the OR1K remote debugging protocol"
" over a parallel line.\nThe argument is the parallel port it is connected "
"to, or, if it is formatted\nas a URL of the form jtag://<hostname>:<port>,"
" then the argument refers to\na remote JTAG proxy server.\n";
or1k_jtag_ops.to_open = or1k_jtag_open;
add_target (&or1k_jtag_ops);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.