Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/input/port/niagara.c

    r8442d10 rbf9cb2f  
    7474        uint64_t read_ptr;
    7575        char data[INPUT_BUFFER_SIZE];
    76 }
    77         __attribute__ ((packed))
    78         __attribute__ ((aligned(PAGE_SIZE)))
    79         *input_buffer_t;
     76} __attribute__((packed)) __attribute__((aligned(PAGE_SIZE))) *input_buffer_t;
    8077
    8178/* virtual address of the shared buffer */
    82 static input_buffer_t input_buffer;
     79static input_buffer_t input_buffer = (input_buffer_t) AS_AREA_ANY;
    8380
    8481static volatile bool polling_disabled = false;
     
    8784/**
    8885 * Initializes the Niagara driver.
    89  * Maps the shared buffer and creates the polling thread. 
     86 * Maps the shared buffer and creates the polling thread.
    9087 */
    9188static int niagara_port_init(kbd_dev_t *kdev)
Note: See TracChangeset for help on using the changeset viewer.