Changes in uspace/srv/hw/cir/obio/obio.c [d9fae235:b3d513f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/cir/obio/obio.c
rd9fae235 rb3d513f 112 112 static bool obio_init(void) 113 113 { 114 sysarg_t paddr; 114 ipcarg_t phonead; 115 116 base_phys = (void *) sysinfo_value("obio.base.physical"); 115 117 116 if ( sysinfo_get_value("obio.base.physical", &paddr) != EOK) {118 if (!base_phys) { 117 119 printf(NAME ": no OBIO registers found\n"); 118 120 return false; 119 121 } 120 121 base_phys = (void *) paddr; 122 122 123 base_virt = as_get_mappable_page(OBIO_SIZE); 123 124 … … 132 133 133 134 printf(NAME ": OBIO registers with base at %p\n", base_phys); 134 135 135 136 async_set_client_connection(obio_connection); 136 ipcarg_t phonead;137 137 ipc_connect_to_me(PHONE_NS, SERVICE_OBIO, 0, 0, &phonead); 138 138
Note:
See TracChangeset
for help on using the changeset viewer.