From: kettenis Date: Tue, 28 Jun 2022 19:50:40 +0000 (+0000) Subject: The x13s uses Memory32Fixed() to describe the windows forwarded by the X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=46b0d19a34259c83f301e0fe3e3d4d425767f9c7;p=openbsd The x13s uses Memory32Fixed() to describe the windows forwarded by the host bridges. Add support for this. ok mlarkin@, patrick@ --- 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)