URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 134 to Rev 135
- ↔ Reverse comparison
Rev 134 → Rev 135
/trunk/insight/gdb/remote-or1k.c
904,6 → 904,14
if (memaddr >= MEM_SPACE) |
error("Invalid address"); |
|
/* (CZ 21/06/01 -- because upper layers which know nothing about |
Or1k or JTAG call this function directly, it is always necessary |
to set the chain to point to the Debug Unit. Otherwise, it may |
be pointint to the Development Interface chain, in which case |
we're going to get bupkiss... */ |
|
or1k_set_chain (SC_RISC_DEBUG); |
|
if (write) |
{ |
/* Fill start and end extra bytes of buffer with existing data. */ |
928,7 → 936,7
for (i = 0; i < count; i++, addr += 4) |
{ |
status = or1k_store_word (addr, |
extract_unsigned_integer (&buffer[i * 4], 4)); |
(unsigned long)extract_unsigned_integer (&buffer[i * 4], 4)); |
/* Report each kilobyte (we download 32-bit words at a time) */ |
if (i % 256 == 255) |
{ |
/trunk/gdb-5.0/gdb/remote-or1k.c
904,6 → 904,14
if (memaddr >= MEM_SPACE) |
error("Invalid address"); |
|
/* (CZ 21/06/01 -- because upper layers which know nothing about |
Or1k or JTAG call this function directly, it is always necessary |
to set the chain to point to the Debug Unit. Otherwise, it may |
be pointint to the Development Interface chain, in which case |
we're going to get bupkiss... */ |
|
or1k_set_chain (SC_RISC_DEBUG); |
|
if (write) |
{ |
/* Fill start and end extra bytes of buffer with existing data. */ |
928,7 → 936,7
for (i = 0; i < count; i++, addr += 4) |
{ |
status = or1k_store_word (addr, |
extract_unsigned_integer (&buffer[i * 4], 4)); |
(unsigned long)extract_unsigned_integer (&buffer[i * 4], 4)); |
/* Report each kilobyte (we download 32-bit words at a time) */ |
if (i % 256 == 255) |
{ |