|
@@ -14,7 +14,6 @@
|
|
#include <asm/uaccess.h>
|
|
#include <asm/uaccess.h>
|
|
#include <asm/addrspace.h>
|
|
#include <asm/addrspace.h>
|
|
#include <asm/page.h>
|
|
#include <asm/page.h>
|
|
-#include <asm/sh_bios.h>
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
* gzip declarations
|
|
* gzip declarations
|
|
@@ -66,29 +65,11 @@ static unsigned long free_mem_end_ptr;
|
|
#include "../../../../lib/decompress_unlzo.c"
|
|
#include "../../../../lib/decompress_unlzo.c"
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#ifdef CONFIG_SH_STANDARD_BIOS
|
|
|
|
-size_t strlen(const char *s)
|
|
|
|
-{
|
|
|
|
- int i = 0;
|
|
|
|
-
|
|
|
|
- while (*s++)
|
|
|
|
- i++;
|
|
|
|
- return i;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-int puts(const char *s)
|
|
|
|
-{
|
|
|
|
- int len = strlen(s);
|
|
|
|
- sh_bios_console_write(s, len);
|
|
|
|
- return len;
|
|
|
|
-}
|
|
|
|
-#else
|
|
|
|
int puts(const char *s)
|
|
int puts(const char *s)
|
|
{
|
|
{
|
|
/* This should be updated to use the sh-sci routines */
|
|
/* This should be updated to use the sh-sci routines */
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
-#endif
|
|
|
|
|
|
|
|
void* memset(void* s, int c, size_t n)
|
|
void* memset(void* s, int c, size_t n)
|
|
{
|
|
{
|