]>
Commit | Line | Data |
---|---|---|
47973a2d PMD |
1 | /* |
2 | * QEMU PS/2 Controller | |
3 | * | |
4 | * Copyright (c) 2003 Fabrice Bellard | |
5 | * | |
6 | * SPDX-License-Identifier: MIT | |
7 | */ | |
8 | #ifndef HW_INPUT_I8042_H | |
9 | #define HW_INPUT_I8042_H | |
10 | ||
47973a2d | 11 | #include "hw/isa/isa.h" |
db1015e9 | 12 | #include "qom/object.h" |
47973a2d PMD |
13 | |
14 | #define TYPE_I8042 "i8042" | |
8063396b | 15 | OBJECT_DECLARE_SIMPLE_TYPE(ISAKBDState, I8042) |
47973a2d PMD |
16 | |
17 | #define I8042_A20_LINE "a20" | |
18 | ||
0fe4bb32 | 19 | |
47973a2d PMD |
20 | void i8042_mm_init(qemu_irq kbd_irq, qemu_irq mouse_irq, |
21 | MemoryRegion *region, ram_addr_t size, | |
22 | hwaddr mask); | |
0fe4bb32 | 23 | void i8042_isa_mouse_fake_event(ISAKBDState *isa); |
47973a2d PMD |
24 | void i8042_setup_a20_line(ISADevice *dev, qemu_irq a20_out); |
25 | ||
26 | #endif /* HW_INPUT_I8042_H */ |