[PATCH RFC 09/13] xen: change quality of the MADT ACPI enumerator
Roger Pau Monne
roger.pau at citrix.com
Tue Dec 24 11:22:45 UTC 2013
Lower the quality of the MADT ACPI enumerator, so on Xen Dom0 we can
force the usage of the Xen mptable enumerator even when ACPI is
detected.
---
sys/x86/acpica/madt.c | 2 +-
sys/x86/xen/mptable.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/x86/acpica/madt.c b/sys/x86/acpica/madt.c
index 6f3b591..897189c 100644
--- a/sys/x86/acpica/madt.c
+++ b/sys/x86/acpica/madt.c
@@ -104,7 +104,7 @@ madt_probe(void)
madt_physaddr = acpi_find_table(ACPI_SIG_MADT);
if (madt_physaddr == 0)
return (ENXIO);
- return (0);
+ return (-50);
}
/*
diff --git a/sys/x86/xen/mptable.c b/sys/x86/xen/mptable.c
index 46b03f3..a9704ab 100644
--- a/sys/x86/xen/mptable.c
+++ b/sys/x86/xen/mptable.c
@@ -76,7 +76,7 @@ static struct apic_enumerator xenpv_enumerator = {
static int
xenpv_probe(void)
{
- return (-100);
+ return (0);
}
/*
--
1.7.7.5 (Apple Git-26)
More information about the freebsd-xen
mailing list