34 lines
1.1 KiB
C
34 lines
1.1 KiB
C
|
#ifndef __INCLUDE_LINUX_U_BOOT_WRAPPER_H
|
||
|
#define __INCLUDE_LINUX_U_BOOT_WRAPPER_H
|
||
|
|
||
|
#include <xfuncs.h>
|
||
|
|
||
|
#define kmalloc(len, mode) malloc(len)
|
||
|
#define kzalloc(len, mode) xzalloc(len)
|
||
|
#define vmalloc(len) malloc(len)
|
||
|
#define kfree(ptr) free(ptr)
|
||
|
#define vfree(ptr) free(ptr)
|
||
|
|
||
|
#define KERN_EMERG "" /* system is unusable */
|
||
|
#define KERN_ALERT "" /* action must be taken immediately */
|
||
|
#define KERN_CRIT "" /* critical conditions */
|
||
|
#define KERN_ERR "" /* error conditions */
|
||
|
#define KERN_WARNING "" /* warning conditions */
|
||
|
#define KERN_NOTICE "" /* normal but significant condition */
|
||
|
#define KERN_INFO "" /* informational */
|
||
|
#define KERN_DEBUG "" /* debug-level messages */
|
||
|
|
||
|
#define printk printf
|
||
|
|
||
|
#define __iomem
|
||
|
#define __init
|
||
|
#define __exit
|
||
|
|
||
|
#define MODULE_AUTHOR(x)
|
||
|
#define MODULE_DESCRIPTION(x)
|
||
|
#define MODULE_LICENSE(x)
|
||
|
|
||
|
#define pr_info printf
|
||
|
|
||
|
#endif /* __INCLUDE_LINUX_U_BOOT_WRAPPER_H */
|