jtag/drivers/cmsis_dap: use unsigned types
[openocd.git] / src / target / arc_mem.h
blob861823d227e2189b9ef730189f9285d3da726abd
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 /***************************************************************************
4 * Copyright (C) 2013-2014,2019-2020 Synopsys, Inc. *
5 * Frank Dols <frank.dols@synopsys.com> *
6 * Anton Kolesov <anton.kolesov@synopsys.com> *
7 * Evgeniy Didin <didin@synopsys.com> *
8 ***************************************************************************/
10 #ifndef OPENOCD_TARGET_ARC_MEM_H
11 #define OPENOCD_TARGET_ARC_MEM_H
13 /* ----- Exported functions ------------------------------------------------ */
15 int arc_mem_read(struct target *target, target_addr_t address, uint32_t size,
16 uint32_t count, uint8_t *buffer);
17 int arc_mem_write(struct target *target, target_addr_t address, uint32_t size,
18 uint32_t count, const uint8_t *buffer);
21 #endif /* OPENOCD_TARGET_ARC_MEM_H */