1 /* memory.h -- Prototypes for AArch64 memory accessor functions.
3 Copyright (C) 2015-2016 Free Software Foundation, Inc.
5 Contributed by Red Hat.
7 This file is part of GDB.
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>. */
25 #include <sys/types.h>
27 #include "simulator.h"
29 extern void aarch64_get_mem_long_double (sim_cpu
*, uint64_t, FRegister
*);
30 extern uint64_t aarch64_get_mem_u64 (sim_cpu
*, uint64_t);
31 extern int64_t aarch64_get_mem_s64 (sim_cpu
*, uint64_t);
32 extern uint32_t aarch64_get_mem_u32 (sim_cpu
*, uint64_t);
33 extern int32_t aarch64_get_mem_s32 (sim_cpu
*, uint64_t);
34 extern uint32_t aarch64_get_mem_u16 (sim_cpu
*, uint64_t);
35 extern int32_t aarch64_get_mem_s16 (sim_cpu
*, uint64_t);
36 extern uint32_t aarch64_get_mem_u8 (sim_cpu
*, uint64_t);
37 extern int32_t aarch64_get_mem_s8 (sim_cpu
*, uint64_t);
38 extern void aarch64_get_mem_blk (sim_cpu
*, uint64_t, char *, unsigned);
39 extern const char * aarch64_get_mem_ptr (sim_cpu
*, uint64_t);
41 extern void aarch64_set_mem_long_double (sim_cpu
*, uint64_t, FRegister
);
42 extern void aarch64_set_mem_u64 (sim_cpu
*, uint64_t, uint64_t);
43 extern void aarch64_set_mem_s64 (sim_cpu
*, uint64_t, int64_t);
44 extern void aarch64_set_mem_u32 (sim_cpu
*, uint64_t, uint32_t);
45 extern void aarch64_set_mem_s32 (sim_cpu
*, uint64_t, int32_t);
46 extern void aarch64_set_mem_u16 (sim_cpu
*, uint64_t, uint16_t);
47 extern void aarch64_set_mem_s16 (sim_cpu
*, uint64_t, int16_t);
48 extern void aarch64_set_mem_u8 (sim_cpu
*, uint64_t, uint8_t);
49 extern void aarch64_set_mem_s8 (sim_cpu
*, uint64_t, int8_t);
51 #define STACK_TOP 0x07FFFF00
53 extern uint64_t aarch64_get_heap_start (sim_cpu
*);
54 extern uint64_t aarch64_get_stack_start (sim_cpu
*);
56 extern void mem_add_blk (sim_cpu
*, uint64_t, char *, uint64_t, bfd_boolean
);
58 #endif /* _MEMORY_H */
This page took 0.03075 seconds and 4 git commands to generate.