Changes in uspace/srv/hid/fb/port/niagara.c [446ac2a:7c014d1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/fb/port/niagara.c
r446ac2a r7c014d1 68 68 static void niagara_putchar(wchar_t ch) 69 69 { 70 if ( ascii_check(ch))70 if ((ch >= 0) && (ch < 128)) 71 71 niagara_putc(ch); 72 72 else … … 103 103 return rc; 104 104 105 rc = physmem_map((void *) paddr, 1, 106 AS_AREA_READ | AS_AREA_WRITE, (void *) &niagara.fifo); 105 niagara.fifo = 106 (output_fifo_t *) as_get_mappable_page(sizeof(output_fifo_t)); 107 if (niagara.fifo == NULL) 108 return ENOMEM; 109 110 rc = physmem_map((void *) paddr, (void *) niagara.fifo, 1, 111 AS_AREA_READ | AS_AREA_WRITE); 107 112 if (rc != EOK) 108 113 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.