4 * Copyright (c) 2003 Fabrice Bellard
6 * SPDX-License-Identifier: MIT
8 #ifndef HW_INPUT_I8042_H
9 #define HW_INPUT_I8042_H
11 #include "hw/isa/isa.h"
13 #define TYPE_I8042 "i8042"
15 #define I8042_A20_LINE "a20"
17 typedef struct ISAKBDState ISAKBDState
;
19 void i8042_mm_init(qemu_irq kbd_irq
, qemu_irq mouse_irq
,
20 MemoryRegion
*region
, ram_addr_t size
,
22 void i8042_isa_mouse_fake_event(ISAKBDState
*isa
);
23 void i8042_setup_a20_line(ISADevice
*dev
, qemu_irq a20_out
);
25 #endif /* HW_INPUT_I8042_H */