Intermediate stage in reincorporating old libc into userspace tasks.

This commit is contained in:
Bahadir Balban
2009-08-29 14:29:57 +03:00
parent 9e894274a3
commit 779429d289
179 changed files with 12922 additions and 918 deletions

View File

@@ -1,12 +0,0 @@
.section .text.head
.global _start;
.type _start,function;
.align;
_start:
ldr sp, =__stack
bl __container_init
1:
b 1b

View File

@@ -8,7 +8,7 @@
#include <l4/lib/list.h>
#include <l4/macros.h>
#include INC_GLUE(memory.h)
#include <printf.h>
#include <stdio.h>
/*
* This reads contents of a file in pages, calling the fs-specific file read function to read-in

View File

@@ -6,7 +6,7 @@
#include <lib/bit.h>
#include <l4/macros.h>
#include <l4/config.h>
#include <printf.h>
#include <stdio.h>
#include INC_GLUE(memory.h)
/* Emulation of ARM's CLZ (count leading zeroes) instruction */

View File

@@ -8,7 +8,7 @@
#include <lib/malloc.h> // --> This is a local library that statically allocates its heap.
#include <l4/macros.h>
#include INC_GLUE(memory.h)
#include <printf.h>
#include <stdio.h>
#include <l4/api/errno.h>
struct id_pool *id_pool_new_init(int totalbits)

View File

@@ -18,8 +18,7 @@ Messages that indicate a software error will contain three asterisks (***).
*****************************************************************************/
#include <string.h> /* memcpy(), memset() */
#include <stdio.h> /* printf() */
#include <printf.h>
#include <malloc.h>
#define _32BIT 1
/* use small (32K) heap for 16-bit compilers,

View File

@@ -8,7 +8,7 @@
#include <l4/types.h>
#include INC_GLUE(memory.h)
#include <lib/vaddr.h>
#include <printf.h>
#include <stdio.h>
void vaddr_pool_init(struct id_pool *pool, unsigned long start, unsigned long end)
{

View File

@@ -192,7 +192,7 @@ struct superblock *memfs_get_superblock(void *block)
return 0;
}
if (sb->magic != MEMFS_MAGIC) {
printf("%s: Magic number not match: %u\n", __FUNCTION__, sb->magic);
printf("%s: Magic number not match: %s\n", __FUNCTION__, sb->magic);
return 0;
}