strace/linux/arch_kvm.c
Dmitry V. Levin 92e347b556 Add copyright headers to some files that lack them
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.
2018-12-24 23:46:43 +00:00

27 lines
563 B
C

/*
* Copyright (c) 2017-2018 The strace developers.
* All rights reserved.
*
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_STRUCT_KVM_REGS
static void
arch_print_kvm_regs(struct tcb *const tcp,
const kernel_ulong_t addr,
const struct kvm_regs *const regs)
{
printaddr(addr);
}
#endif /* HAVE_STRUCT_KVM_REGS */
#ifdef HAVE_STRUCT_KVM_SREGS
static void
arch_print_kvm_sregs(struct tcb *const tcp,
const kernel_ulong_t addr,
const struct kvm_sregs *const sregs)
{
printaddr(addr);
}
#endif /* HAVE_STRUCT_KVM_SREGS */