mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-02 05:34:04 +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>
24 lines
477 B
C
24 lines
477 B
C
/*
|
|
* Copyright (C) 2020 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef NOTIFY_H
|
|
#define NOTIFY_H
|
|
|
|
typedef void (*smp_call_func_t)(void *data);
|
|
struct smp_call_info_data {
|
|
smp_call_func_t func;
|
|
void *data;
|
|
};
|
|
|
|
struct acrn_vm;
|
|
void smp_call_function(uint64_t mask, smp_call_func_t func, void *data);
|
|
bool is_notification_nmi(const struct acrn_vm *vm);
|
|
|
|
void setup_notification(void);
|
|
void setup_pi_notification(void);
|
|
|
|
#endif
|