VirtualBox

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

最後變更 在這個檔案從8742是 1,由 vboxsync 提交於 55 年 前

import

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.3 KB
 
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_
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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