Changes in uspace/drv/char/i8042/i8042.h [60744cb:c8ea6eca] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/i8042/i8042.h
r60744cb rc8ea6eca 1 1 /* 2 * Copyright (c) 2024 Jiri Svoboda3 2 * Copyright (c) 2006 Josef Cejka 4 3 * Copyright (c) 2011 Jan Vesely 4 * Copyright (c) 2017 Jiri Svoboda 5 5 * All rights reserved. 6 6 * … … 48 48 #define NAME "i8042" 49 49 50 /** Buffer needs to be large enough for rate at which keyboard or mouse 51 * produces data (mouse produces data at faster rate). 52 */ 53 #define BUFFER_SIZE 64 50 #define BUFFER_SIZE 12 54 51 55 52 /** i8042 HW I/O interface */ … … 76 73 /** Signal new data in buffer */ 77 74 fibril_condvar_t buf_cv; 78 /** Interrupt number */79 int irq;80 75 } i8042_port_t; 81 76 82 77 /** i8042 Controller. */ 83 78 typedef struct i8042 { 84 /** DDF device */ 85 ddf_dev_t *dev; 86 /** I/O registers. */ 79 /**< I/O registers. */ 87 80 i8042_regs_t *regs; 88 81 /** Keyboard port */ … … 90 83 /** AUX port */ 91 84 i8042_port_t *aux; 92 /** Prevents simultanous port writes. 85 /** Prevents simultanous port writes.*/ 93 86 fibril_mutex_t write_guard; 94 87 } i8042_t;
Note:
See TracChangeset
for help on using the changeset viewer.