Displaying 1 result from an estimated 1 matches for "dmar_scop".
Did you mean:
dmar_scope
2012 Nov 28
2
[PATCH] VT-d: make scope parsing code type safe
...s/passthrough/vtd/dmar.c
+++ b/xen/drivers/passthrough/vtd/dmar.c
@@ -304,13 +304,15 @@ static int __init scope_device_count(con
static int __init acpi_parse_dev_scope(
- const void *start, const void *end, void *acpi_entry, int type, u16 seg)
+ const void *start, const void *end, struct dmar_scope *scope,
+ int type, u16 seg)
{
- struct dmar_scope *scope = acpi_entry;
struct acpi_ioapic_unit *acpi_ioapic_unit;
const struct acpi_dmar_device_scope *acpi_scope;
u16 bus, sub_bus, sec_bus;
const struct acpi_dmar_pci_path *path;
+ struct acpi_drhd_unit *drhd = type =...