mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +00:00
HV: remove acpi_priv.h
Keep acpi.h as the only acpi api interface; Tracked-On: #3107 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
565f3cb72c
commit
cbab1f831c
@@ -11,7 +11,9 @@
|
||||
#include <spinlock.h>
|
||||
#include "pci.h"
|
||||
#include "vtd.h"
|
||||
#include "acpi_priv.h"
|
||||
#include "acpi.h"
|
||||
|
||||
#define ACPI_SIG_DMAR "DMAR"
|
||||
|
||||
enum acpi_dmar_type {
|
||||
ACPI_DMAR_TYPE_HARDWARE_UNIT = 0,
|
||||
@@ -68,6 +70,11 @@ typedef int32_t (*dmar_iter_t)(struct acpi_dmar_header*, void*);
|
||||
|
||||
static int32_t dmar_unit_cnt;
|
||||
|
||||
static void *get_dmar_table(void)
|
||||
{
|
||||
return get_acpi_tbl(ACPI_SIG_DMAR);
|
||||
}
|
||||
|
||||
static void
|
||||
dmar_iterate_tbl(dmar_iter_t iter, void *arg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user