mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-08 00:17:01 +00:00
Instead of "#include <x86/foo.h>", use "#include <asm/foo.h>". In other words, we are adopting the same practice in Linux kernel. Tracked-On: #5920 Signed-off-by: Liang Yi <yi.liang@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
15 lines
417 B
C
15 lines
417 B
C
/*
|
|
* Copyright (C) 2021 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef SPLITLOCK_H_
|
|
#define SPLITLOCK_H_
|
|
|
|
void vcpu_kick_splitlock_emulation(struct acrn_vcpu *cur_vcpu);
|
|
void vcpu_complete_splitlock_emulation(struct acrn_vcpu *cur_vcpu);
|
|
int32_t emulate_splitlock(struct acrn_vcpu *vcpu, uint32_t exception_vector, bool *queue_exception);
|
|
|
|
#endif /* SPLITLOCK_H_ */
|