Prompted by bad memory accesses seen with page flipping on alder lake
and raptor lake. Starting xfce reliably caused problems.
reported by kn@ and yasuoka@, both confirmed this fixes it
ok kn@ kettenis@
-/* $OpenBSD: scatterlist.h,v 1.5 2023/01/01 01:34:58 jsg Exp $ */
+/* $OpenBSD: scatterlist.h,v 1.6 2023/08/02 11:03:17 jsg Exp $ */
/*
* Copyright (c) 2013, 2014, 2015 Mark Kettenis
*
sgl->dma_address = page ? VM_PAGE_TO_PHYS(page) : 0;
sgl->offset = offset;
sgl->length = length;
- sgl->end = false;
}
#define sg_dma_address(sg) ((sg)->dma_address)