We do our best to keep copyright headers up to date, yet git history provides better information on this subject and is more accurate than copyright headers.
21 lines
374 B
C
21 lines
374 B
C
/*
|
|
* Copyright (c) 2016-2018 The strace developers.
|
|
* All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
|
*/
|
|
|
|
static int
|
|
arch_set_error(struct tcb *tcp)
|
|
{
|
|
microblaze_r3 = -tcp->u_error;
|
|
return upoke(tcp, 3 * 4, microblaze_r3);
|
|
}
|
|
|
|
static int
|
|
arch_set_success(struct tcb *tcp)
|
|
{
|
|
microblaze_r3 = tcp->u_rval;
|
|
return upoke(tcp, 3 * 4, microblaze_r3);
|
|
}
|