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 { 8060aa16fSThomas 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 14*ea5f1cd7SThomas Gleixner void io_bitmap_exit(void); 15*ea5f1cd7SThomas Gleixner 1622fe5b04SThomas Gleixner void tss_update_io_bitmap(void); 1722fe5b04SThomas Gleixner 18577d5cd7SThomas Gleixner #endif 19