summaryrefslogtreecommitdiff
path: root/src/linux/microblaze/get_syscall_result.c
blob: 79f23ca490eb7caa4a0cfe269399da791bef791d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * Copyright (c) 2015-2018 The strace developers.
 * All rights reserved.
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

static int
get_syscall_result_regs(struct tcb *tcp)
{
	return upeek(tcp, 3 * 4, &microblaze_r3) < 0 ? -1 : 0;
}