Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1688 → Rev 1689

/shark/trunk/include/math.h
52,7 → 52,7
#ifndef __MATH_H__
#define __MATH_H__
 
#include <ll/math.h>
#include <arch/math.h>
 
/* not POSIX but required by some programs */
 
/shark/trunk/include/kernel/func.h
73,7 → 73,7
#define __KERNEL_FUNC_H__
 
#include <ll/ll.h>
#include <ll/stdio.h>
#include <arch/stdio.h>
#include <kernel/types.h>
#include <kernel/model.h>
#include <kernel/mem.h>
89,7 → 89,7
/* if a source use printk() it should include log.h not func.h */
#include <kernel/log.h>
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/kernel/iqueue.h
75,7 → 75,7
#ifndef __KERNEL_IQUEUE_H__
#define __KERNEL_IQUEUE_H__
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/kernel/int_sem.h
64,7 → 64,7
 
#include <kernel/types.h>
#include <kernel/iqueue.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/kernel/kernmem.h
49,7 → 49,7
#ifndef __KERNEL_KERNMEM_H_
#define __KERNEL_KERNMEM_H__
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
/* These function are used to manage memory at VM layer */
/shark/trunk/include/kernel/mem.h
59,7 → 59,7
#define __KERNEL_MEM_H__
 
#include <kernel/lmm.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/kernel/kern.h
56,8 → 56,8
*/
 
#include <ll/ll.h>
#include <ll/stdio.h>
#include <ll/stdlib.h>
#include <arch/stdio.h>
#include <arch/stdlib.h>
#include <kernel/config.h>
#include <kernel/model.h>
#include <kernel/const.h>
/shark/trunk/include/kernel/descr.h
72,7 → 72,7
#include <kernel/types.h>
#include <kernel/iqueue.h>
#include <limits.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/kernel/model.h
56,7 → 56,7
 
#include "ll/ll.h"
#include "kernel/types.h"
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/kernel/assert.h
49,7 → 49,7
#ifndef _KERNEL_ASSERT_H
#define _KERNEL_ASSERT_H
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/kernel/log.h
49,7 → 49,7
#ifndef __KERNEL_LOG_H
#define __KERNEL_LOG_H
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/kernel/types.h
51,7 → 51,7
 
#ifndef __KERNEL_TYPES_H__
#define __KERNEL_TYPES_H__
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/kernel/lmm.h
80,7 → 80,7
// this part was oskit/lmm.h
 
#include <sys/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
typedef DWORD lmm_flags_t;
/shark/trunk/include/kernel/var.h
57,7 → 57,7
#include <ll/ll.h>
#include <sys/types.h>
#include <kernel/descr.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/time.h
61,7 → 61,7
#endif
 
/* timespec defined in ll/sys/ll/time.h */
#include <ll/time.h>
#include <arch/time.h>
#include <signal.h>
 
 
/shark/trunk/include/assert.h
47,7 → 47,7
 
#ifndef __ASSERT_H
#define __ASSERT_H
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/mqueue.h
61,7 → 61,7
#include <fcntl.h>
#include <time.h>
#include <signal.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/float.h
39,8 → 39,8
#ifndef _MACHINE_FLOAT_H_
#define _MACHINE_FLOAT_H_ 1
 
#include <ll/limits.h>
#include <ll/float.h>
#include <arch/limits.h>
#include <arch/float.h>
 
#define LDBL_MANT_DIG DBL_MANT_DIG
#define LDBL_EPSILON DBL_EPSILON
/shark/trunk/include/unistd.h
90,7 → 90,7
#define __UNISTD_H__
 
#include <features.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/string.h
50,8 → 50,8
 
#ifndef __STRING_H__
#define __STRING_H__
#include <ll/string.h>
#include "ll/sys/cdefs.h"
#include <arch/string.h>
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/trace/qudp.h
40,7 → 40,7
 
#include <kernel/model.h>
#include <drivers/udpip.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/trace/qdummy.h
38,7 → 38,7
#ifndef __TRACE_QDUMMY_H
#define __TRACE_QDUMMY_H
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/trace/trace.h
48,7 → 48,7
#ifndef __TRACE_TRACE_H
#define __TRACE_TRACE_H
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/trace/qfixed.h
38,7 → 38,7
#ifndef __TRACE_QFIXED_H
#define __TRACE_QFIXED_H
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/trace/qcirc.h
38,7 → 38,7
#ifndef __TRACE_QCIRC_H
#define __TRACE_QCIRC_H
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/trace/queues.h
50,7 → 50,7
 
#include <ll/sys/types.h>
#include <trace/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/bits/endian.h
53,5 → 53,5
#define _QUAD_LOWWORD 0
#endif
 
#include "../../oslib/libm/machine/endian.h"
#include <arch/endian.h>
 
/shark/trunk/include/bits/limits.h
48,7 → 48,7
#ifndef _BITS_LIMITS_H
#define _BITS_LIMITS_H
 
#include <ll/limits.h>
#include <arch/limits.h>
 
#define FILENAME_MAX 1024
#define FOPEN_MAX 20
/shark/trunk/include/bits/errno.h
83,7 → 83,7
#ifndef __BITS_ERRNO_H__
#define __BITS_ERRNO_H__
 
#include <ll/errno.h>
#include <arch/errno.h>
 
/*---------------------------------------------------------------------*/
/* Abort values */
/shark/trunk/include/signal.h
95,7 → 95,7
#include <kernel/types.h>
#include <sys/types.h>
//#include <time.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/stdlib.h
53,10 → 53,10
#ifndef __STDLIB_H__
#define __STDLIB_H__
 
#include <ll/stdlib.h>
#include <arch/stdlib.h>
#include <sys/types.h>
#include <stddef.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/fs/irq.h
47,7 → 47,7
 
#ifndef __HARTIK_IRQ_H
#define __HARTIK_IRQ_H
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/fs/fsinit.h
47,7 → 47,7
#include <fs/major.h>
#include <fs/fsind.h>
#include <fs/mount.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/fs/libio.h
55,7 → 55,7
#ifndef __FS_LIBIO_H
#define __FS_LIBIO_H
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/fs/limits.h
50,7 → 50,7
#define __FS_LIMITS_H
 
#include <bits/limits.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/fs/assert.h
50,7 → 50,7
#define __FS_ASSERT_H
 
#include <kernel/assert.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/fs/mutex.h
59,7 → 59,7
*/
#include <kernel/int_sem.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/fs/mount.h
58,7 → 58,7
 
#include <fs/types.h>
#include <fs/fsconf.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/fs/bdevinit.h
54,7 → 54,7
#include <fs/types.h>
#include <fs/const.h>
#include <fs/bdevconf.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/fs/fs.h
50,7 → 50,7
 
#include <fs/types.h>
#include <fs/mount.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/fs/syscall.h
40,7 → 40,7
#define __FS_SYSCALL_H
 
#include <fs/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/fs/semaph.h
55,7 → 55,7
#define _FS_SEMAPH_H
 
#include <kernel/int_sem.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/fs/util.h
57,13 → 57,13
#include <fs/types.h>
#include <fs/stdarg.h>
 
#include <ll/i386/stdio.h>
//#include <ll/string.h> strcasecmp moved!!!
#include <arch/i386/stdio.h>
//#include <arch/string.h> strcasecmp moved!!!
#include <string.h>
#include <ll/stdlib.h>
#include <arch/stdlib.h>
#include <kernel/log.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/fs/maccess.h
54,7 → 54,7
* verify read/write access to user space
*
*/
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/fs/bdev.h
49,7 → 49,7
#define __FS_BDEV_H__
 
#include <fs/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/stdio.h
97,7 → 97,7
#define _STDIO_H_
 
/* MG */
#include <ll/stdio.h>
#include <arch/stdio.h>
#include <kernel/descr.h>
#include <limits.h>
 
/shark/trunk/include/ctype.h
75,7 → 75,7
#include <features.h>
#include <bits/types.h>
 
#include <ll/ctype.h>
#include <arch/ctype.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/stdarg.h
53,6 → 53,6
#ifndef __STDARG_H__
#define __STDARG_H__
 
#include <ll/stdarg.h>
#include <arch/stdarg.h>
 
#endif
/shark/trunk/include/sched.h
55,7 → 55,7
#define __SCHED_H__
 
#include <kernel/model.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/pthread.h
60,7 → 60,7
#include <signal.h>
#include <errno.h>
#include <kernel/func.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/sys/stat.h
33,7 → 33,7
# include <time.h> /* For time_t. */
#endif
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
/* The Single Unix specification says that some more types are
available here. */
/shark/trunk/include/sys/utsname.h
53,7 → 53,7
#ifndef __SYS_UTSNAME_H__
#define __SYS_UTSNAME_H__
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/sys/sysmacro.h
19,7 → 19,7
 
#ifndef _SYS_SYSMACROS_H
#define _SYS_SYSMACROS_H 1
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
_
/shark/trunk/include/sys/mount.h
44,7 → 44,7
#include <sys/types.h>
#include <fs/mount.h>
#include <fs/fsind.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/trunk/include/sys/cdefs.h
19,7 → 19,7
#ifndef _SYS_CDEFS_H
#define _SYS_CDEFS_H 1
 
#include <ll/sys/cdefs.h>
#include <arch/sys/cdefs.h>
 
/* MODIFIED by this add */
/*#define __warn_references(func,str)*/
/shark/trunk/include/sys/types.h
61,7 → 61,7
 
#include <bits/types.h>
#include <sys/htypes.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS