xref: /openbmc/linux/arch/x86/include/asm/io_bitmap.h (revision 060aa16fdb7c5078a4159a76e5dc87d6a493af9b)
1577d5cd7SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0 */
2577d5cd7SThomas Gleixner #ifndef _ASM_X86_IOBITMAP_H
3577d5cd7SThomas Gleixner #define _ASM_X86_IOBITMAP_H
4577d5cd7SThomas Gleixner 
5577d5cd7SThomas Gleixner #include <asm/processor.h>
6577d5cd7SThomas Gleixner 
7577d5cd7SThomas Gleixner struct io_bitmap {
8*060aa16fSThomas Gleixner 	u64		sequence;
9577d5cd7SThomas Gleixner 	/* The maximum number of bytes to copy so all zero bits are covered */
10577d5cd7SThomas Gleixner 	unsigned int	max;
11577d5cd7SThomas Gleixner 	unsigned long	bitmap[IO_BITMAP_LONGS];
12577d5cd7SThomas Gleixner };
13577d5cd7SThomas Gleixner 
14577d5cd7SThomas Gleixner #endif
15