OpenCores
URL https://opencores.org/ocsvn/c0or1k/c0or1k/trunk

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [include/] [l4/] [lib/] [printk.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 drasko
 
2
#ifndef __PRINTK_H__
3
#define __PRINTK_H__
4
 
5
#include <stdarg.h>
6
 
7
#if !defined(__KERNEL__)
8
#define printk          printf
9
#else
10
int printk(char *format, ...) __attribute__((format (printf, 1, 2)));
11
extern void putc(char c);
12
void init_printk_lock(void);
13
#endif
14
 
15
#endif /* __PRINTK_H__ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.