OpenOCD
arc_mem.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
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  ***************************************************************************/
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 */
int arc_mem_read(struct target *target, target_addr_t address, uint32_t size, uint32_t count, uint8_t *buffer)
Definition: arc_mem.c:237
int arc_mem_write(struct target *target, target_addr_t address, uint32_t size, uint32_t count, const uint8_t *buffer)
Definition: arc_mem.c:155
size_t size
Size of the control block search area.
Definition: rtt/rtt.c:30
Definition: target.h:120
uint64_t target_addr_t
Definition: types.h:335
uint8_t count[4]
Definition: vdebug.c:22