mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Release DMAR table after using it.
Reported and tested by: hps Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
85d99487b8
commit
3dd3c4503b
1 changed files with 2 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ dmar_iterate_tbl(dmar_iter_t iter, void *arg)
|
|||
if (!iter(dmarh, arg))
|
||||
break;
|
||||
}
|
||||
AcpiPutTable((ACPI_TABLE_HEADER *)dmartbl);
|
||||
}
|
||||
|
||||
struct find_iter_args {
|
||||
|
|
@ -184,6 +185,7 @@ dmar_identify(driver_t *driver, device_t parent)
|
|||
(unsigned)dmartbl->Flags,
|
||||
"\020\001INTR_REMAP\002X2APIC_OPT_OUT");
|
||||
}
|
||||
AcpiPutTable((ACPI_TABLE_HEADER *)dmartbl);
|
||||
|
||||
dmar_iterate_tbl(dmar_count_iter, NULL);
|
||||
if (dmar_devcnt == 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue