Changeset 41811af in mainline for uspace/srv/hw/irc/fhc/fhc.c
- Timestamp:
- 2011-06-10T10:14:26Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ab547063
- Parents:
- 9536e6e (diff), 390d80d (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/hw/irc/fhc/fhc.c
r9536e6e r41811af 38 38 #include <ipc/services.h> 39 39 #include <ipc/irc.h> 40 #include < ipc/ns.h>40 #include <ns.h> 41 41 #include <sysinfo.h> 42 42 #include <as.h> … … 53 53 #define NAME "fhc" 54 54 55 #define FHC_UART_INR 0x39 55 #define FHC_UART_INR 0x39 56 56 57 57 #define FHC_UART_IMAP 0x0 … … 128 128 129 129 if (retval < 0) { 130 printf( NAME ": Error mapping FHC UART registers\n");130 printf("%s: Error mapping FHC UART registers\n", NAME); 131 131 return false; 132 132 } 133 133 134 printf( NAME ": FHC UART registers at %p, %zu bytes\n", fhc_uart_phys,135 fhc_uart_ size);134 printf("%s: FHC UART registers at %p, %zu bytes\n", NAME, 135 fhc_uart_phys, fhc_uart_size); 136 136 137 137 async_set_client_connection(fhc_connection); … … 143 143 int main(int argc, char **argv) 144 144 { 145 printf( NAME ": HelenOS FHC bus controller driver\n");145 printf("%s: HelenOS FHC bus controller driver\n", NAME); 146 146 147 147 if (!fhc_init()) 148 148 return -1; 149 149 150 printf(NAME ": Accepting connections\n"); 150 printf("%s: Accepting connections\n", NAME); 151 task_retval(0); 151 152 async_manager(); 152 153 153 154 /* Never reached */ 154 155 return 0; … … 157 158 /** 158 159 * @} 159 */ 160 */
Note:
See TracChangeset
for help on using the changeset viewer.