mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-15 22:09:06 +00:00
hv: Remove multiple definitions for dmar translation structures
Except for few translation structures in x86 IOMMU, all translation structures are 128-bit. All the translation structures used by ACRN are 128 bit. So removed multiple definitions and defined a struct that accomodates 128 bit entries. Tracked-On: #2668 Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
Eddie Dong
parent
18b619da4d
commit
137892fdd5
@@ -489,11 +489,13 @@ struct dmar_info {
|
||||
struct dmar_drhd *drhd_units;
|
||||
};
|
||||
|
||||
struct dmar_entry {
|
||||
uint64_t lo_64;
|
||||
uint64_t hi_64;
|
||||
};
|
||||
|
||||
union dmar_ir_entry {
|
||||
struct {
|
||||
uint64_t lower;
|
||||
uint64_t upper;
|
||||
} entry;
|
||||
struct dmar_entry entry;
|
||||
struct {
|
||||
uint64_t present:1;
|
||||
uint64_t fpd:1;
|
||||
|
Reference in New Issue
Block a user