acrn-hypervisor/hypervisor/release/sbuf.c
Conghui fbe1c39a9e hv: fix compile issue in release mode
fix compile issue for sbuf in release mode.

Tracked-On: #8241
Signed-off-by: Conghui <conghui.chen@intel.com>
Acked-by: Fei Li <fei1.li@intel.com>
2022-10-21 14:24:02 +08:00

16 lines
287 B
C

/*
* Copyright (C) 2019-2022 Intel Corporation.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <types.h>
#include <errno.h>
int32_t sbuf_share_setup(__unused uint16_t pcpu_id,
__unused uint32_t sbuf_id, __unused uint64_t *hva)
{
return -EPERM;
}
void sbuf_reset(void) {}