Changeset 72d120e in mainline for uspace/srv/hid/input/port/niagara.c
- Timestamp:
- 2014-06-16T20:17:44Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5a78e4e
- Parents:
- 9d653e3 (diff), 334bf28 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/port/niagara.c
r9d653e3 r72d120e 74 74 uint64_t read_ptr; 75 75 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; 80 77 81 78 /* virtual address of the shared buffer */ 82 static input_buffer_t input_buffer ;79 static input_buffer_t input_buffer = (input_buffer_t) AS_AREA_ANY; 83 80 84 81 static volatile bool polling_disabled = false; … … 87 84 /** 88 85 * Initializes the Niagara driver. 89 * Maps the shared buffer and creates the polling thread. 86 * Maps the shared buffer and creates the polling thread. 90 87 */ 91 88 static int niagara_port_init(kbd_dev_t *kdev)
Note:
See TracChangeset
for help on using the changeset viewer.