1
0

initcalls: Add initial implementation

Create simple serial subsystem which makes use of initcalls, and convert
existing serial drivers to its use.
This commit is contained in:
2012-10-04 00:26:35 -04:00
parent 3f624153e7
commit 9d86813d8c
14 changed files with 219 additions and 102 deletions

View File

@ -21,8 +21,8 @@
#ifndef PRINT_H
#define PRINT_H
void print_init(void (*putc)(char));
void print_init(int (*putc)(char));
int print(char *fmt, ...);
int print_func(void (putcf)(char), char *fmt, ...);
int print_func(int (putcf)(char), char *fmt, ...);
#endif /* PRINT_H */