50 S_IFCHR | S_IRWXU | S_IRWXG | S_IRWXO,
62 S_IFCHR | S_IRWXU | S_IRWXG | S_IRWXO,
74 S_IFCHR | S_IRWXU | S_IRWXG | S_IRWXO,
86 S_IFCHR | S_IRWXU | S_IRWXG | S_IRWXO,
98 S_IFCHR | S_IRWXU | S_IRWXG | S_IRWXO,
110 S_IFCHR | S_IRUSR | S_IRGRP | S_IROTH,
122 S_IFCHR | S_IWUSR | S_IWGRP | S_IWOTH,
143 static const devoptab_name_t devoptab_names[] = {
144 {
"UART0", &dotab_uart0},
145 {
"UART1", &dotab_uart1},
146 {
"UART2", &dotab_uart2},
147 {
"UART3", &dotab_uart3},
148 {
"UART4", &dotab_uart4},
151 const devoptab_name_list_t devoptab_name_list = {
152 sizeof(devoptab_names) /
sizeof(devoptab_names[0]),
156 void devicemap_init(
void) {
158 devoptab_list[STDIN_FILENO] = &dotab_stdin;
159 devoptab_list[STDOUT_FILENO] = &dotab_stdout;
160 devoptab_list[STDERR_FILENO] = &dotab_stdout;
File-like I/O device operations table.
Device I/O mappings for the Mulle platform.
A simple "device operations" table, with function pointers for all the kinds of activities you would ...
#define NULL
The null pointer.
K60 hardware register header wrapper.
Device I/O helpers for UARTs on K60.
Device I/O helpers for a no-op device.
#define MAX_OPEN_DEVICES
Maximum number of file descriptors allocated to hardware devices.