Once we start using the SRATs for something, we'll need to parse the extra ones.
Signed-off-by: Barret Rhoden <[email protected]> --- kern/drivers/dev/acpi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kern/drivers/dev/acpi.c b/kern/drivers/dev/acpi.c index 66ab1a08e552..13ffce965f5a 100644 --- a/kern/drivers/dev/acpi.c +++ b/kern/drivers/dev/acpi.c @@ -847,8 +847,9 @@ static struct Atable *parsesrat(struct Atable *parent, int i; struct Srat *st; + /* TODO: Parse the second SRAT */ if (srat != NULL) - panic("acpi: two SRATs?\n"); + return NULL; t = mkatable(parent, SRAT, name, p, rawsize, 0); slice_init(&slice); -- 2.8.0.rc3.226.g39d4020 -- You received this message because you are subscribed to the Google Groups "Akaros" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
