The x13s uses Memory32Fixed() to describe the windows forwarded by the
authorkettenis <kettenis@openbsd.org>
Tue, 28 Jun 2022 19:50:40 +0000 (19:50 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 28 Jun 2022 19:50:40 +0000 (19:50 +0000)
host bridges.  Add support for this.

ok mlarkin@, patrick@

sys/arch/arm64/dev/acpipci.c

index 6528fb2..47ea990 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: acpipci.c,v 1.34 2021/12/11 20:07:27 kettenis Exp $   */
+/*     $OpenBSD: acpipci.c,v 1.35 2022/06/28 19:50:40 kettenis Exp $   */
 /*
  * Copyright (c) 2018 Mark Kettenis
  *
@@ -259,6 +259,13 @@ acpipci_parse_resources(int crsidx, union acpi_resource *crs, void *arg)
                len = crs->lr_qword._len;
                tra = crs->lr_qword._tra;
                break;
+       case LR_MEM32FIXED:
+               restype = LR_TYPE_MEMORY;
+               tflags = 0;
+               min = crs->lr_m32fixed._bas;
+               len = crs->lr_m32fixed._len;
+               tra = 0;
+               break;
        }
 
        if (len == 0)