mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
b48c1a45a1
This provides a mechanism for querying which paravirtualized time features are available in this hypervisor. Also add the header file which defines the ABI for the paravirtualized time features we're about to add. Signed-off-by: Steven Price <steven.price@arm.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
18 lines
374 B
C
18 lines
374 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (C) 2019 Arm Ltd. */
|
|
|
|
#ifndef __ASM_PVCLOCK_ABI_H
|
|
#define __ASM_PVCLOCK_ABI_H
|
|
|
|
/* The below structure is defined in ARM DEN0057A */
|
|
|
|
struct pvclock_vcpu_stolen_time {
|
|
__le32 revision;
|
|
__le32 attributes;
|
|
__le64 stolen_time;
|
|
/* Structure must be 64 byte aligned, pad to that size */
|
|
u8 padding[48];
|
|
} __packed;
|
|
|
|
#endif
|