mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-08 00:17:01 +00:00
functions like set_vcpuid_entries & guest_cpuid should only server for virtual cpuid, so move such kind of functions to guest/vcpuid.c. and all native cpuid APIs will keep in cpuid.h Tracked-On: #1842 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
16 lines
331 B
C
16 lines
331 B
C
/*
|
|
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef VCPUID_H_
|
|
#define VCPUID_H_
|
|
|
|
int32_t set_vcpuid_entries(struct acrn_vm *vm);
|
|
void guest_cpuid(struct acrn_vcpu *vcpu,
|
|
uint32_t *eax, uint32_t *ebx,
|
|
uint32_t *ecx, uint32_t *edx);
|
|
|
|
#endif /* VCPUID_H_ */
|