VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/i8042prt/i386/i8042cfg.h@ 21226

Last change on this file since 21226 was 1, checked in by vboxsync, 55 years ago

import

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1/*++
2
3Copyright (c) 1989, 1990, 1991, 1992, 1993 Microsoft Corporation
4
5Module Name:
6
7 i8042cfg.h
8
9Abstract:
10
11 These are the machine-dependent configuration constants that are used in
12 the Intel 8042 port driver.
13
14Revision History:
15
16--*/
17
18#ifndef _I8042CFG_
19#define _I8042CFG_
20
21//
22// Define the interrupt-related configuration constants.
23//
24
25#define I8042_INTERFACE_TYPE Isa
26#define I8042_INTERRUPT_MODE Latched
27#define I8042_INTERRUPT_SHARE FALSE
28#define I8042_FLOATING_SAVE FALSE
29
30//
31// Define the default allowable retry and polling iterations.
32//
33
34#define I8042_RESEND_DEFAULT 3
35#define I8042_POLLING_DEFAULT 12000
36#define I8042_POLLING_MAXIMUM 12000
37
38//
39// Define the keyboard-specific configuration parameters.
40//
41
42#define KEYBOARD_VECTOR 1
43#define KEYBOARD_IRQL KEYBOARD_VECTOR
44
45//
46// Define the mouse-specific configuration parameters.
47//
48
49#define MOUSE_VECTOR 12
50#define MOUSE_IRQL MOUSE_VECTOR
51
52//
53// Define the base port offsets for the i8042 controller command/status and
54// data registers.
55//
56
57#define I8042_PHYSICAL_BASE 0x60
58#define I8042_DATA_REGISTER_OFFSET 0
59#define I8042_COMMAND_REGISTER_OFFSET 4
60#define I8042_STATUS_REGISTER_OFFSET 4
61#define I8042_REGISTER_LENGTH 1
62#define I8042_REGISTER_SHARE FALSE
63#define I8042_PORT_TYPE CM_RESOURCE_PORT_IO
64
65#endif // _I8042CFG_
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette