Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/char/i8042/i8042.h

    r60744cb rc8ea6eca  
    11/*
    2  * Copyright (c) 2024 Jiri Svoboda
    32 * Copyright (c) 2006 Josef Cejka
    43 * Copyright (c) 2011 Jan Vesely
     4 * Copyright (c) 2017 Jiri Svoboda
    55 * All rights reserved.
    66 *
     
    4848#define NAME  "i8042"
    4949
    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
    5451
    5552/** i8042 HW I/O interface */
     
    7673        /** Signal new data in buffer */
    7774        fibril_condvar_t buf_cv;
    78         /** Interrupt number */
    79         int irq;
    8075} i8042_port_t;
    8176
    8277/** i8042 Controller. */
    8378typedef struct i8042 {
    84         /** DDF device */
    85         ddf_dev_t *dev;
    86         /** I/O registers. */
     79        /**< I/O registers. */
    8780        i8042_regs_t *regs;
    8881        /** Keyboard port */
     
    9083        /** AUX port */
    9184        i8042_port_t *aux;
    92         /** Prevents simultanous port writes. */
     85        /** Prevents simultanous port writes.*/
    9386        fibril_mutex_t write_guard;
    9487} i8042_t;
Note: See TracChangeset for help on using the changeset viewer.