X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Fnds32_aice.c;h=e494a3e1cd42cc055eed10ea6abeb917d83b4163;hb=abc270c8837bc7aad3f390e4e9858e4f652261b7;hp=cfb6d86c831f128ba7f744a64f9b92e52b1de461;hpb=24dd226e896a84391a3da383d6a0b542e9934f53;p=openocd.git diff --git a/src/target/nds32_aice.c b/src/target/nds32_aice.c index cfb6d86c83..e494a3e1cd 100644 --- a/src/target/nds32_aice.c +++ b/src/target/nds32_aice.c @@ -13,9 +13,7 @@ * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * + * along with this program. If not, see . * ***************************************************************************/ #ifdef HAVE_CONFIG_H #include "config.h" @@ -44,8 +42,8 @@ int aice_write_reg_64(struct aice_port_s *aice, uint32_t num, uint64_t val) return aice->port->api->write_reg_64(aice->coreid, num, val); } -int aice_read_tlb(struct aice_port_s *aice, uint32_t virtual_address, - uint32_t *physical_address) +int aice_read_tlb(struct aice_port_s *aice, target_addr_t virtual_address, + target_addr_t *physical_address) { if (aice->port->api->read_tlb == NULL) { LOG_WARNING("Not implemented: %s", __func__);