Introduce ARCv2 architecture related code
[openocd.git] / src / target / arc_mem.h
1 /***************************************************************************
2 * Copyright (C) 2013-2014,2019-2020 Synopsys, Inc. *
3 * Frank Dols <frank.dols@synopsys.com> *
4 * Anton Kolesov <anton.kolesov@synopsys.com> *
5 * Evgeniy Didin <didin@synopsys.com> *
6 * *
7 * SPDX-License-Identifier: GPL-2.0-or-later *
8 ***************************************************************************/
9
10 #ifndef OPENOCD_TARGET_ARC_MEM_H
11 #define OPENOCD_TARGET_ARC_MEM_H
12
13 /* ----- Exported functions ------------------------------------------------ */
14
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);
19
20
21 #endif /* OPENOCD_TARGET_ARC_MEM_H */