]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - tools/testing/selftests/powerpc/ptrace/ptrace-tar.h
2 * Copyright (C) 2015 Anshuman Khandual, IBM Corporation.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
21 #define PPR_1 0x4000000000000 /* or 31,31,31*/
22 #define PPR_2 0x8000000000000 /* or 1,1,1 */
23 #define PPR_3 0xc000000000000 /* or 6,6,6 */
24 #define PPR_4 0x10000000000000 /* or 2,2,2 */
26 char *user_read
= "[User Read (Running)]";
27 char *user_write
= "[User Write (Running)]";
28 char *ptrace_read_running
= "[Ptrace Read (Running)]";
29 char *ptrace_write_running
= "[Ptrace Write (Running)]";
30 char *ptrace_read_ckpt
= "[Ptrace Read (Checkpointed)]";
31 char *ptrace_write_ckpt
= "[Ptrace Write (Checkpointed)]";
33 int validate_tar_registers(unsigned long *reg
, unsigned long tar
,
34 unsigned long ppr
, unsigned long dscr
)