12,6 → 12,8 |
#include <linux/ctype.h> |
#include <linux/device.h> |
#include <linux/completion.h> |
#include <linux/tty.h> |
#include <asm/setup.h> |
|
unsigned char _ctype[] = { |
_C,_C,_C,_C,_C,_C,_C,_C, /* 0-7 */ |
366,3 → 368,40 |
int unregister_chrdev(unsigned int a, const char *b) { |
return 0; |
} |
|
void * __ioremap(unsigned long offset, unsigned long size, unsigned long flags) { |
|
return (void *)offset; |
|
} |
|
void iounmap(void *addr) { |
|
} |
|
void *vmalloc(unsigned long size) { |
|
return malloc(size); |
|
} |
|
void vfree(void *addr) { |
|
return free(addr); |
|
} |
|
/* TODO */ |
char * strsep(char **a,const char *b) { |
|
return NULL; |
|
} |
|
struct screen_info screen_info; |
|
int linuxcomp_init(void) { |
|
return 0; |
|
} |