X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Ftarget_type.h;h=4d9a33f99764f20ea58ee1cea10b907f2df9a5c0;hp=6017e334a15cca8b725bd4d5661f21057b188ac7;hb=d979d78e97786667d168ba183c9fc60c622d29c1;hpb=5914310f88161967cd1759e536f8069b9b15bdde diff --git a/src/target/target_type.h b/src/target/target_type.h index 6017e334a1..4d9a33f997 100644 --- a/src/target/target_type.h +++ b/src/target/target_type.h @@ -21,7 +21,7 @@ * 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., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ***************************************************************************/ #ifndef TARGET_TYPE_H @@ -101,14 +101,14 @@ struct target_type { * list, however it is after GDB is connected that monitor commands can * be run to properly initialize the target */ - int (*get_gdb_reg_list)(struct target *target, struct reg **reg_list[], int *reg_list_size); + int (*get_gdb_reg_list)(struct target *target, struct reg **reg_list[], + int *reg_list_size, enum target_register_class reg_class); /* target memory access * size: 1 = byte (8bit), 2 = half-word (16bit), 4 = word (32bit) * count: number of items of */ - int (*read_memory_imp)(struct target *target, uint32_t address, - uint32_t size, uint32_t count, uint8_t *buffer); + /** * Target memory read callback. Do @b not call this function * directly, use target_read_memory() instead.