forked from auracaster/openocd
aarch64: add cache handling functions
For now only D-Cache flush (Clean&Invalidate) and I-Cache invalidate are implemented. That's enough for software breakpoints. Change-Id: I8e96d645a230b51e3490403f4564e59ba6a76cf3 Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
This commit is contained in:
@@ -82,6 +82,7 @@
|
||||
#define SYSTEM_DCCSW 0b0100001111010010
|
||||
#define SYSTEM_ICIVAU 0b0101101110101001
|
||||
#define SYSTEM_DCCVAU 0b0101101111011001
|
||||
#define SYSTEM_DCCIVAC 0b0101101111110001
|
||||
|
||||
#define SYSTEM_MPIDR 0b1100000000000101
|
||||
|
||||
@@ -125,5 +126,6 @@
|
||||
#define ARMV8_MOVFSP_32(Rt) (0x11000000 | (0x1f << 5) | (Rt))
|
||||
#define ARMV8_MOVTSP_32(Rt) (0x11000000 | (Rt << 5) | (0x1F))
|
||||
|
||||
#define ARMV8_SYS(System, Rt) (0xD5080000 | ((System) << 5) | Rt)
|
||||
|
||||
#endif /* __ARM_OPCODES_H */
|
||||
|
||||
Reference in New Issue
Block a user