summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2022-06-28 19:50:41 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2022-06-28 19:50:41 +0000
commit153bced21f82c57b33797d22309f55be65525e3e (patch)
tree87fbd84730fe0aba9711cc5c6bb05f8c389d69f1 /sys
parentc6bb89acf42dc1881f30c7e6655181b28cfc7c64 (diff)
The x13s uses Memory32Fixed() to describe the windows forwarded by the
host bridges. Add support for this. ok mlarkin@, patrick@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm64/dev/acpipci.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/arm64/dev/acpipci.c b/sys/arch/arm64/dev/acpipci.c
index 6528fb229e0..47ea9905fb7 100644
--- a/sys/arch/arm64/dev/acpipci.c
+++ b/sys/arch/arm64/dev/acpipci.c
@@ -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)