Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1620 → Rev 1621

/shark/branches/xen/kernel/kern.c
59,9 → 59,9
 
#include <stdarg.h>
#include <ll/ll.h>
#include <ll/stdlib.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdlib.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/config.h>
#include <kernel/model.h>
#include <kernel/const.h>
/shark/branches/xen/kernel/join.c
50,9 → 50,9
 
#include <stdarg.h>
#include <ll/ll.h>
#include <ll/stdlib.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdlib.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/config.h>
#include <kernel/model.h>
#include <kernel/const.h>
/shark/branches/xen/kernel/blkact.c
53,9 → 53,9
 
#include <stdarg.h>
#include <ll/ll.h>
#include <ll/stdlib.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdlib.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/config.h>
#include <kernel/model.h>
#include <kernel/const.h>
/shark/branches/xen/kernel/activate.c
50,9 → 50,9
 
#include <stdarg.h>
#include <ll/ll.h>
#include <ll/stdlib.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdlib.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/config.h>
#include <kernel/model.h>
#include <kernel/const.h>
/shark/branches/xen/kernel/tpreempt.c
50,9 → 50,9
 
#include <stdarg.h>
#include <ll/ll.h>
#include <ll/stdlib.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdlib.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/config.h>
#include <kernel/model.h>
#include <kernel/const.h>
/shark/branches/xen/kernel/assert.c
44,9 → 44,9
*/
 
#include <ll/i386/cons.h>
#include <ll/stdarg.h>
#include <ll/string.h>
#include <ll/stdio.h>
#include <arch/stdarg.h>
#include <arch/string.h>
#include <arch/stdio.h>
#include <kernel/func.h>
#include <kernel/var.h>
#include <kernel/assert.h>
/shark/branches/xen/kernel/mqueue.c
49,7 → 49,7
*/
 
#include <mqueue.h>
#include <ll/string.h>
#include <arch/string.h>
#include <kernel/types.h>
#include <kernel/var.h>
#include <kernel/func.h>
/shark/branches/xen/kernel/init.c
51,9 → 51,9
 
#include <stdarg.h>
#include <ll/ll.h>
#include <ll/stdlib.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdlib.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/config.h>
#include <kernel/model.h>
#include <kernel/const.h>
/shark/branches/xen/kernel/grpcreat.c
52,9 → 52,9
 
#include <stdarg.h>
#include <ll/ll.h>
#include <ll/stdlib.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdlib.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/config.h>
#include <kernel/model.h>
#include <kernel/const.h>
/shark/branches/xen/kernel/printk.c
44,9 → 44,9
*/
 
#include <ll/i386/cons.h>
#include <ll/stdarg.h>
#include <ll/string.h>
#include <ll/stdio.h>
#include <arch/stdarg.h>
#include <arch/string.h>
#include <arch/stdio.h>
#include <kernel/log.h>
#include <kernel/func.h>
 
/shark/branches/xen/kernel/tskmsg.c
48,9 → 48,9
 
#include <stdarg.h>
#include <ll/ll.h>
#include <ll/stdlib.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdlib.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/config.h>
#include <kernel/model.h>
#include <kernel/const.h>
/shark/branches/xen/kernel/perror.c
19,8 → 19,8
 
#include <errno.h>
#include <kernel/const.h>
#include <ll/stdlib.h>
#include <ll/stdio.h>
#include <arch/stdlib.h>
#include <arch/stdio.h>
#include <kernel/func.h>
 
/* This is a list of all known `errno' codes. */
/shark/branches/xen/kernel/nanoslp.c
51,9 → 51,9
 
#include <stdarg.h>
#include <ll/ll.h>
#include <ll/stdlib.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdlib.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/config.h>
#include <kernel/model.h>
#include <kernel/const.h>
/shark/branches/xen/kernel/keys.c
51,9 → 51,9
 
#include <stdarg.h>
#include <ll/ll.h>
#include <ll/stdlib.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdlib.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/config.h>
#include <kernel/model.h>
#include <kernel/const.h>
/shark/branches/xen/kernel/signal.c
75,8 → 75,8
 
 
#include <ll/ll.h>
#include <ll/stdlib.h>
#include <ll/stdio.h>
#include <arch/stdlib.h>
#include <arch/stdio.h>
#include <ll/i386/pic.h>
#include <signal.h>
#include <errno.h>
/shark/branches/xen/kernel/event.c
54,9 → 54,9
 
#include <stdarg.h>
#include <ll/ll.h>
#include <ll/stdlib.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdlib.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/config.h>
#include <kernel/model.h>
#include <kernel/const.h>
/shark/branches/xen/kernel/jet.c
58,9 → 58,9
 
#include <stdarg.h>
#include <ll/ll.h>
#include <ll/stdlib.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdlib.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/config.h>
#include <kernel/model.h>
#include <kernel/const.h>
/shark/branches/xen/kernel/cancel.c
53,9 → 53,9
 
#include <stdarg.h>
#include <ll/ll.h>
#include <ll/stdlib.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdlib.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/config.h>
#include <kernel/model.h>
#include <kernel/const.h>
/shark/branches/xen/kernel/panic.c
44,9 → 44,9
*/
 
#include <ll/i386/cons.h>
#include <ll/stdarg.h>
#include <ll/string.h>
#include <ll/stdio.h>
#include <arch/stdarg.h>
#include <arch/string.h>
#include <arch/stdio.h>
#include <stdlib.h>
#include <kernel/func.h>
 
/shark/branches/xen/kernel/kill.c
54,9 → 54,9
 
#include <stdarg.h>
#include <ll/ll.h>
#include <ll/stdlib.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdlib.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/config.h>
#include <kernel/model.h>
#include <kernel/const.h>
/shark/branches/xen/kernel/mem/stats.c
73,7 → 73,7
#define DEBUG
#endif
 
#include <ll/stdio.h>
#include <arch/stdio.h>
#include <kernel/func.h>
 
#include <kernel/lmm.h>
/shark/branches/xen/kernel/mem/dump.c
74,7 → 74,7
#define DEBUG
#endif
 
#include <ll/stdio.h>
#include <arch/stdio.h>
#include <kernel/func.h>
#include <kernel/lmm.h>
#define assert(test) assertk(test)
/shark/branches/xen/tracer/include/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/branches/xen/tracer/include/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/branches/xen/tracer/include/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/branches/xen/tracer/include/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/branches/xen/tracer/include/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/branches/xen/tracer/include/queues.h
50,7 → 50,7
 
#include <ll/sys/types.h>
#include "types.h"
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/tracer/include/FTrace_types.h
23,7 → 23,7
 
#include <ll/sys/types.h>
#include <ll/i386/mem.h>
#include <ll/math.h>
#include <arch/math.h>
 
#include "FTrace.h"
 
/shark/branches/xen/tracer/oldtrace/trcudp.c
39,7 → 39,7
*/
 
#include <ll/sys/types.h>
#include <ll/stdlib.h>
#include <arch/stdlib.h>
 
#include <kernel/func.h>
#include <kernel/mem.h>
/shark/branches/xen/tracer/oldtrace/trcdfix.c
34,7 → 34,7
*/
 
#include <ll/sys/types.h>
#include <ll/stdlib.h>
#include <arch/stdlib.h>
 
#include <kernel/func.h>
#include <kernel/mem.h>
/shark/branches/xen/tracer/oldtrace/trcdummy.c
34,7 → 34,7
*/
 
#include <ll/sys/types.h>
#include <ll/stdlib.h>
#include <arch/stdlib.h>
 
#include <kernel/log.h>
 
/shark/branches/xen/tracer/oldtrace/trcfixed.c
34,7 → 34,7
*/
 
#include <ll/sys/types.h>
#include <ll/stdlib.h>
#include <arch/stdlib.h>
 
#include <kernel/func.h>
#include <kernel/mem.h>
/shark/branches/xen/tracer/oldtrace/trccirc.c
46,7 → 46,7
*/
 
#include <ll/sys/types.h>
#include <ll/stdlib.h>
#include <arch/stdlib.h>
 
#include <kernel/func.h>
#include <kernel/mem.h>
/shark/branches/xen/tracer/oldtrace/oldtrace.c
40,8 → 40,8
#include <kernel/types.h>
#include <kernel/var.h>
 
#include <ll/stdlib.h>
#include <ll/string.h>
#include <arch/stdlib.h>
#include <arch/string.h>
 
#include <kernel/func.h>
 
/shark/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/include/bits/endian.h
53,5 → 53,5
#define _QUAD_LOWWORD 0
#endif
 
#include "../../libc/arch/x86/libm/machine/endian.h"
#include <arch/endian.h>
 
/shark/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/include/stdarg.h
53,6 → 53,6
#ifndef __STDARG_H__
#define __STDARG_H__
 
#include <ll/stdarg.h>
#include <arch/stdarg.h>
 
#endif
/shark/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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/branches/xen/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
/shark/branches/xen/config/config.mk
6,7 → 6,7
LD = ld
AR = ar
 
INCL = -I$(BASE)/include -I$(BASE)/modules
INCL = -I$(BASE)/include -I$(BASE)/modules -I$(BASE)/libc/arch/$(ARCH)/include
LIB_PATH = $(BASE)/lib
OSLIB = $(BASE)/oslib
OSLIB_PATH = $(OSLIB)/lib
/shark/branches/xen/ports/first/first-contract.c
34,7 → 34,7
#include <kernel/descr.h>
#include <kernel/func.h>
#include <pistar.h>
#include <ll/i386/string.h>
#include <arch/i386/string.h>
 
#define MAX_SHARED_NAME 15
 
/shark/branches/xen/ports/first/include/pistar.h
90,7 → 90,7
#define __PISTAR_H__
 
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/ports/first/modules/fedfstar.c
37,8 → 37,8
 
#include "ll/i386/64bit.h"
#include "fedfstar.h"
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/descr.h>
#include <kernel/var.h>
/shark/branches/xen/ports/first/modules/tdstar.c
36,8 → 36,8
*/
#include "fsf.h"
#include "tdstar.h"
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/descr.h>
#include <kernel/var.h>
/shark/branches/xen/ports/first/modules/mpegstar.c
36,8 → 36,8
*/
 
 
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/descr.h>
#include <kernel/var.h>
/shark/branches/xen/ports/first/modules/pistar.c
54,8 → 54,8
 
 
#include <ll/ll.h>
#include <ll/string.h>
#include <ll/stdio.h>
#include <arch/string.h>
#include <arch/stdio.h>
#include <kernel/const.h>
#include <sys/types.h>
#include <kernel/descr.h>
/shark/branches/xen/ports/first/modules/edfstar.c
36,8 → 36,8
*/
 
#include "edfstar.h"
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/descr.h>
#include <kernel/var.h>
/shark/branches/xen/ports/first/modules/rmstar.c
36,8 → 36,8
*/
 
#include "rmstar.h"
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/descr.h>
#include <kernel/var.h>
/shark/branches/xen/ports/first/modules/nonestar.c
36,8 → 36,8
*/
 
 
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/descr.h>
#include <kernel/var.h>
/shark/branches/xen/ports/first/modules/posixstar.c
36,8 → 36,8
*/
 
 
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/descr.h>
#include <kernel/var.h>
/shark/branches/xen/ports/dynalink/elf.c
22,7 → 22,7
#include <ll/i386/cons.h>
#include <ll/i386/error.h>
#include <ll/i386/mem.h>
#include <ll/ctype.h>
#include <arch/ctype.h>
#include <ll/i386/x-bios.h>
 
#include "format.h"
/shark/branches/xen/ports/dynalink/dynalink.c
23,7 → 23,7
#include <ll/i386/cons.h>
#include <ll/i386/error.h>
#include <ll/i386/mem.h>
#include <ll/ctype.h>
#include <arch/ctype.h>
#include <ll/i386/x-bios.h>
 
#include "format.h"
/shark/branches/xen/fs/rtcfunc.h
57,7 → 57,7
 
#include <time.h>
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/rrsoft/rrsoft/rrsoft.h
103,7 → 103,7
#include <kernel/config.h>
#include <sys/types.h>
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/rrsoft/rrsoft.c
54,8 → 54,8
 
 
#include <rrsoft/rrsoft/rrsoft.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/descr.h>
#include <kernel/var.h>
/shark/branches/xen/modules/ps/ps/ps.h
93,7 → 93,7
#include <kernel/config.h>
#include <sys/types.h>
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/ps/ps.c
97,8 → 97,8
 
 
#include <ps/ps/ps.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/descr.h>
#include <kernel/var.h>
/shark/branches/xen/modules/rr/rr/rr.h
95,7 → 95,7
#include <kernel/config.h>
#include <sys/types.h>
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/rr/rr.c
54,8 → 54,8
 
 
#include <rr/rr/rr.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/descr.h>
#include <kernel/var.h>
/shark/branches/xen/modules/intdrive/intdrive/intdrive.h
43,7 → 43,7
#include <kernel/config.h>
#include <sys/types.h>
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/sem/sem/sem.h
73,7 → 73,7
#define __MODULES_SEM_H__
 
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/sem/sem.c
63,7 → 63,7
#include <sem/sem/sem.h>
#include <kernel/config.h>
#include <ll/ll.h>
#include <ll/string.h>
#include <arch/string.h>
#include <kernel/const.h>
#include <sys/types.h>
#include <kernel/descr.h>
/shark/branches/xen/modules/ss/ss/ss.h
103,7 → 103,7
#include <kernel/config.h>
#include <kernel/types.h>
#include <sys/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/ss/ss/ssutils.h
62,7 → 62,7
#include <kernel/config.h>
#include <sys/types.h>
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/ss/ss.c
114,8 → 114,8
 
#include <stdlib.h>
#include <ss/ss/ss.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
 
#include <ll/sys/ll/event.h>
 
/shark/branches/xen/modules/tbs/tbs/tbs.h
126,7 → 126,7
#include <kernel/config.h>
#include <sys/types.h>
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/tbs/tbs.c
54,8 → 54,8
 
 
#include <tbs/tbs/tbs.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/descr.h>
#include <kernel/var.h>
/shark/branches/xen/modules/dummy/dummy/dummy.h
79,7 → 79,7
#define __DUMMY_H__
 
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/dummy/dummy.c
54,8 → 54,8
 
#include <dummy/dummy/dummy.h>
#include <ll/ll.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/config.h>
#include <sys/types.h>
#include <kernel/model.h>
/shark/branches/xen/modules/nop/nop/nop.h
80,7 → 80,7
#define __NOP_H__
 
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/nop/nop.c
54,8 → 54,8
#include <nop/nop/nop.h>
 
#include <ll/ll.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/const.h>
#include <sys/types.h>
#include <kernel/descr.h>
/shark/branches/xen/modules/npp/npp/npp.h
88,7 → 88,7
#ifndef __NPP_H__
#define __NPP_H__
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/npp/npp.c
54,8 → 54,8
#include <npp/npp/npp.h>
 
#include <ll/ll.h>
#include <ll/string.h>
#include <ll/stdio.h>
#include <arch/string.h>
#include <arch/stdio.h>
#include <kernel/const.h>
#include <sys/types.h>
#include <kernel/descr.h>
/shark/branches/xen/modules/edf/edf.c
55,8 → 55,8
 
 
#include <edf/edf/edf.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/descr.h>
#include <kernel/var.h>
/shark/branches/xen/modules/edf/edf/edf.h
144,7 → 144,7
#include <kernel/config.h>
#include <sys/types.h>
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/pc/pc/pc.h
92,7 → 92,7
 
#include <kernel/types.h>
#include <kernel/descr.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/pc/pc.c
54,8 → 54,8
#include <pc/pc/pc.h>
 
#include <ll/ll.h>
#include <ll/string.h>
#include <ll/stdio.h>
#include <arch/string.h>
#include <arch/stdio.h>
#include <kernel/const.h>
#include <sys/types.h>
#include <kernel/var.h>
/shark/branches/xen/modules/posix/posix/posix.h
96,7 → 96,7
#include <kernel/config.h>
#include <sys/types.h>
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/posix/posix.c
57,8 → 57,8
 
 
#include <posix/posix/posix.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/descr.h>
#include <kernel/var.h>
/shark/branches/xen/modules/hartport/hartport/hartport.h
77,7 → 77,7
#include <sem/sem/sem.h>
#include <ll/ll.h>
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/hartport/hartport.c
60,8 → 60,8
#include <hartport/hartport/hartport.h>
#include <kernel/config.h>
#include <ll/ll.h>
#include <ll/string.h>
#include <ll/stdio.h>
#include <arch/string.h>
#include <arch/stdio.h>
#include <kernel/model.h>
#include <kernel/const.h>
#include <sys/types.h>
/shark/branches/xen/modules/bd_edf/bd_edf/bd_edf.h
50,7 → 50,7
 
#include <kernel/types.h>
#include <kernel/descr.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/bd_edf/bd_edf.c
48,8 → 48,8
#include <bd_edf/bd_edf/bd_edf.h>
 
#include <ll/ll.h>
#include <ll/string.h>
#include <ll/stdio.h>
#include <arch/string.h>
#include <arch/stdio.h>
#include <kernel/const.h>
#include <sys/types.h>
#include <kernel/var.h>
/shark/branches/xen/modules/srp/srp/srp.h
107,7 → 107,7
 
#include <kernel/model.h>
#include <kernel/descr.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/srp/srp.c
138,8 → 138,8
#include <srp/srp/srp.h>
 
#include <ll/ll.h>
#include <ll/string.h>
#include <ll/stdio.h>
#include <arch/string.h>
#include <arch/stdio.h>
#include <kernel/const.h>
#include <sys/types.h>
#include <kernel/descr.h>
/shark/branches/xen/modules/rr2/rr2/rr2.h
94,7 → 94,7
#include <kernel/config.h>
#include <sys/types.h>
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/rr2/rr2.c
54,8 → 54,8
 
 
#include <rr2/rr2/rr2.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/descr.h>
#include <kernel/var.h>
/shark/branches/xen/modules/hardcbs/hardcbs/hardcbs.h
96,7 → 96,7
#include <kernel/config.h>
#include <sys/types.h>
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/hardcbs/hardcbs.c
39,8 → 39,8
*/
 
#include <hardcbs/hardcbs/hardcbs.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/descr.h>
#include <kernel/var.h>
/shark/branches/xen/modules/ds/ds/ds.h
92,7 → 92,7
#include <kernel/config.h>
#include <sys/types.h>
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/ds/ds.c
58,8 → 58,8
 
 
#include <ds/ds/ds.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/descr.h>
#include <kernel/var.h>
/shark/branches/xen/modules/cbs/cbs/cbs.h
103,7 → 103,7
#include <kernel/config.h>
#include <sys/types.h>
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/cbs/cbs.c
54,8 → 54,8
 
 
#include <cbs/cbs/cbs.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/descr.h>
#include <kernel/var.h>
/shark/branches/xen/modules/cabs/cabs/cabs.h
66,7 → 66,7
#define __CAB_H__
 
#include <ll/sys/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/cabs/cabs.c
59,7 → 59,7
 
#include <kernel/config.h>
#include <ll/ll.h>
#include <ll/string.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/const.h>
#include <sys/types.h>
/shark/branches/xen/modules/pi/pi/pi.h
90,7 → 90,7
#define __PI_H__
 
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/pi/pi.c
54,8 → 54,8
#include <pi/pi/pi.h>
 
#include <ll/ll.h>
#include <ll/string.h>
#include <ll/stdio.h>
#include <arch/string.h>
#include <arch/stdio.h>
#include <kernel/const.h>
#include <sys/types.h>
#include <kernel/descr.h>
/shark/branches/xen/modules/nopm/nopm/nopm.h
59,7 → 59,7
#define __NOPM_H__
 
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/nopm/nopm.c
54,8 → 54,8
#include <nopm/nopm/nopm.h>
 
#include <ll/ll.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/const.h>
#include <sys/types.h>
#include <kernel/descr.h>
/shark/branches/xen/modules/bd_pscan/bd_pscan/bd_pscan.h
51,7 → 51,7
 
#include <kernel/types.h>
#include <kernel/descr.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/modules/bd_pscan/bd_pscan.c
48,8 → 48,8
#include <bd_pscan/bd_pscan/bd_pscan.h>
 
#include <ll/ll.h>
#include <ll/string.h>
#include <ll/stdio.h>
#include <arch/string.h>
#include <arch/stdio.h>
#include <kernel/const.h>
#include <sys/types.h>
#include <kernel/var.h>
/shark/branches/xen/modules/rm/rm.c
54,8 → 54,8
 
 
#include <rm/rm/rm.h>
#include <ll/stdio.h>
#include <ll/string.h>
#include <arch/stdio.h>
#include <arch/string.h>
#include <kernel/model.h>
#include <kernel/descr.h>
#include <kernel/var.h>
/shark/branches/xen/modules/rm/rm/rm.h
144,7 → 144,7
#include <kernel/config.h>
#include <sys/types.h>
#include <kernel/types.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/oslib/kl/mem.c
22,8 → 22,8
/* Basic Memory Manager Functions:
A classic fixed partition allocator! */
 
#include <ll/i386/stdlib.h>
#include <ll/i386/string.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/string.h>
#include <ll/i386/mem.h>
#include <ll/i386/cons.h>
#include <ll/i386/error.h>
/shark/branches/xen/oslib/kl/time.c
28,8 → 28,8
*
*/
 
#include <arch/i386/stdlib.h>
#include <ll/i386/pit.h>
#include <ll/i386/stdlib.h>
#include <ll/i386/error.h>
#include <ll/i386/mem.h>
#include <ll/i386/advtimer.h>
/shark/branches/xen/oslib/kl/event.c
28,7 → 28,7
 
/* Time Event routines */
 
#include <ll/i386/stdlib.h>
#include <arch/i386/stdlib.h>
#include <ll/i386/mem.h>
#include <ll/i386/error.h>
#include <ll/i386/hw-arch.h>
/shark/branches/xen/oslib/kl/event1.c
28,7 → 28,8
 
/* Time Event routines (one shot mode) */
 
#include <ll/i386/stdlib.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/limits.h>
#include <ll/i386/mem.h>
#include <ll/i386/pit.h>
#include <ll/i386/apic.h>
35,7 → 36,6
#include <ll/i386/advtimer.h>
#include <ll/i386/error.h>
#include <ll/i386/64bit.h>
#include <ll/i386/limits.h>
 
#include <ll/sys/ll/ll-data.h>
#include <ll/sys/ll/ll-func.h>
/shark/branches/xen/oslib/kl/cxsw-2.c
22,7 → 22,7
/* Routines that implements threads (creation, end, dump, and AS
assignment */
 
#include <ll/i386/stdio.h>
#include <arch/i386/stdio.h>
#include <ll/i386/mem.h>
#include <ll/i386/cons.h>
#include <ll/i386/error.h>
/shark/branches/xen/oslib/kl/init.c
21,7 → 21,7
 
/* KL initialization code */
 
#include <ll/i386/stdlib.h>
#include <arch/i386/stdlib.h>
#include <ll/i386/x-bios.h>
#include <ll/i386/mem.h>
#include <ll/i386/cons.h>
/shark/branches/xen/oslib/kl/intevt.c
21,7 → 21,7
 
/* Interrupt Events */
 
#include <ll/i386/stdlib.h>
#include <arch/i386/stdlib.h>
#include <ll/i386/mem.h>
#include <ll/i386/error.h>
#include <ll/i386/hw-arch.h>
/shark/branches/xen/oslib/kl/advtimer.c
23,7 → 23,7
* Author: Giacomo Guidi <giacomo@gandalf.sssup.it>
*/
 
#include <ll/i386/stdlib.h>
#include <arch/i386/stdlib.h>
#include <ll/i386/error.h>
#include <ll/sys/ll/ll-data.h>
#include <ll/sys/ll/ll-func.h>
/shark/branches/xen/oslib/ll/time.h
File deleted
/shark/branches/xen/oslib/ll/string.h
File deleted
/shark/branches/xen/oslib/ll/assert.h
File deleted
/shark/branches/xen/oslib/ll/errno.h
File deleted
/shark/branches/xen/oslib/ll/unistd.h
File deleted
/shark/branches/xen/oslib/ll/stdlib.h
File deleted
/shark/branches/xen/oslib/ll/float.h
File deleted
/shark/branches/xen/oslib/ll/ctype.h
File deleted
/shark/branches/xen/oslib/ll/stdio.h
File deleted
/shark/branches/xen/oslib/ll/limits.h
File deleted
/shark/branches/xen/oslib/ll/math.h
File deleted
/shark/branches/xen/oslib/ll/stdarg.h
File deleted
/shark/branches/xen/oslib/ll/i386/stdlib.h
File deleted
/shark/branches/xen/oslib/ll/i386/float.h
File deleted
/shark/branches/xen/oslib/ll/i386/stdio.h
File deleted
/shark/branches/xen/oslib/ll/i386/limits.h
File deleted
/shark/branches/xen/oslib/ll/i386/string.h
File deleted
/shark/branches/xen/oslib/ll/sys/cdefs.h
File deleted
/shark/branches/xen/oslib/libcons/cons1.c
25,10 → 25,10
#include <ll/i386/hw-instr.h>
#include <ll/i386/cons.h>
/* #include <xsys.h>*/
#include <ll/i386/string.h>
#include <ll/i386/stdlib.h>
#include <ll/i386/stdio.h>
#include <ll/stdarg.h>
#include <arch/i386/string.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/stdio.h>
#include <arch/stdarg.h>
 
FILE(Cons1);
/* CGA compatible registers value */
/shark/branches/xen/oslib/libcons/cons2.c
21,14 → 21,14
 
/* Console output functions - part 2 */
 
#include <arch/i386/string.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/stdio.h>
#include <arch/stdarg.h>
#include <ll/i386/hw-data.h>
#include <ll/i386/hw-instr.h>
#include <ll/i386/cons.h>
/* #include <xsys.h>*/
#include <ll/i386/string.h>
#include <ll/i386/stdlib.h>
#include <ll/i386/stdio.h>
#include <ll/stdarg.h>
 
FILE(Cons2);
 
/shark/branches/xen/oslib/libcons/message.c
21,13 → 21,13
 
/* Console output functions */
 
#include <arch/i386/string.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/stdio.h>
#include <arch/stdarg.h>
#include <ll/i386/hw-data.h>
#include <ll/i386/hw-instr.h>
#include <ll/i386/cons.h>
#include <ll/i386/string.h>
#include <ll/i386/stdlib.h>
#include <ll/i386/stdio.h>
#include <ll/stdarg.h>
 
FILE(message);
 
/shark/branches/xen/oslib/libcons/cprintf.c
21,13 → 21,13
 
/* Console output functions */
 
#include <arch/i386/string.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/stdio.h>
#include <arch/stdarg.h>
#include <ll/i386/hw-data.h>
#include <ll/i386/hw-instr.h>
#include <ll/i386/cons.h>
#include <ll/i386/string.h>
#include <ll/i386/stdlib.h>
#include <ll/i386/stdio.h>
#include <ll/stdarg.h>
 
FILE(cprintf);
 
/shark/branches/xen/oslib/config.mk
4,7 → 4,7
AS = gcc
LD = ld
AR = ar
INCL = $(BASE)
INCL = -I$(BASE) -I$(BASE)/../libc/arch/$(ARCH)/include
LIB_PATH = $(BASE)/lib/
LIB_DIR = $(BASE)/lib
 
42,18 → 42,18
 
ifeq ($(findstring GCC4,$(COMPILER)) , GCC4)
# this options are for newer gcc4 compilers
C_OPT = -Wall -O -fno-builtin -nostdinc -Wno-attributes -Wno-pointer-sign -minline-all-stringops $(CFG_OPT) -DMAIN=__kernel_init__ -I$(INCL)
C_OPT = -Wall -O -fno-builtin -nostdinc -Wno-attributes -Wno-pointer-sign -minline-all-stringops $(CFG_OPT) -DMAIN=__kernel_init__ $(INCL)
endif
 
ifeq ($(findstring GCC3,$(COMPILER)) , GCC3)
C_OPT = -Wall -O -fno-builtin -nostdinc -minline-all-stringops $(CFG_OPT) -DMAIN=__kernel_init__ -I$(INCL)
C_OPT = -Wall -O -fno-builtin -nostdinc -minline-all-stringops $(CFG_OPT) -DMAIN=__kernel_init__ $(INCL)
endif
 
ifeq ($(findstring DJGPP,$(COMPILER)) , DJGPP)
C_OPT = -Wall -O -fno-builtin -nostdinc -minline-all-stringops $(CFG_OPT) -DMAIN=__kernel_init__ -I$(INCL)
C_OPT = -Wall -O -fno-builtin -nostdinc -minline-all-stringops $(CFG_OPT) -DMAIN=__kernel_init__ $(INCL)
endif
 
ASM_OPT = -x assembler-with-cpp $(CFG_OPT) -I$(INCL)
ASM_OPT = -x assembler-with-cpp $(CFG_OPT) $(INCL)
LINK_OPT = -Bstatic -Ttext $(MEM_START) -s -nostartfiles -nostdlib -L$(LIB_PATH)
 
MKDIR = mkdir
/shark/branches/xen/oslib/examples/ctxswdem.c
21,7 → 21,7
 
/* Context Switch Demo */
 
#include <ll/i386/stdlib.h>
#include <arch/i386/stdlib.h>
#include <ll/i386/tss-ctx.h>
#include <ll/i386/error.h>
#include <ll/sys/ll/ll-instr.h>
/shark/branches/xen/oslib/examples/timetest.c
21,7 → 21,7
 
/* gettime() test file */
 
#include <ll/i386/stdlib.h>
#include <arch/i386/stdlib.h>
#include <ll/i386/error.h>
#include <ll/sys/ll/ll-func.h>
#include <ll/sys/ll/event.h>
/shark/branches/xen/oslib/examples/biosdemo.c
26,7 → 26,7
#include <ll/i386/x-bios.h>
#include <ll/i386/cons.h>
#include <ll/i386/error.h>
#include <ll/stdlib.h>
#include <arch/stdlib.h>
 
#define T 1000
#if 1
/shark/branches/xen/oslib/examples/mbdemo.c
21,7 → 21,7
 
/* Multiboot Info test file */
 
#include <ll/i386/stdlib.h>
#include <arch/i386/stdlib.h>
#include <ll/i386/cons.h>
#include <ll/i386/error.h>
#include <ll/i386/mem.h>
/shark/branches/xen/oslib/examples/pushdem.c
16,7 → 16,7
*
*/
 
#include <ll/i386/stdlib.h>
#include <arch/i386/stdlib.h>
#include <ll/i386/tss-ctx.h>
#include <ll/i386/cons.h>
#include <ll/sys/ll/ll-instr.h>
/shark/branches/xen/oslib/examples/eventdem.c
21,7 → 21,7
 
/* Event Demo */
 
#include <ll/i386/stdlib.h>
#include <arch/i386/stdlib.h>
#include <ll/i386/cons.h>
#include <ll/i386/error.h>
#include <ll/i386/mem.h>
/shark/branches/xen/oslib/examples/asdemo.c
21,7 → 21,7
 
/* Address Spaces test file */
 
#include <ll/i386/stdlib.h>
#include <arch/i386/stdlib.h>
#include <ll/i386/error.h>
#include <ll/i386/mem.h>
#include <ll/i386/hw-arch.h>
/shark/branches/xen/oslib/examples/cpudemo.c
21,7 → 21,7
 
/* CPU Detection test file */
 
#include <ll/i386/stdlib.h>
#include <arch/i386/stdlib.h>
#include <ll/i386/error.h>
#include <ll/i386/mem.h>
#include <ll/i386/hw-arch.h>
/shark/branches/xen/oslib/examples/scheddem.c
28,7 → 28,7
#include <ll/sys/ll/ll-func.h>
#include <ll/sys/ll/time.h>
#include <ll/sys/ll/event.h>
#include <ll/stdlib.h>
#include <arch/stdlib.h>
 
#define FREE 0
#define IDLE 1
/shark/branches/xen/oslib/examples/syscalls.c
21,7 → 21,7
 
/* Address Spaces test file */
 
#include <ll/i386/stdlib.h>
#include <arch/i386/stdlib.h>
#include <ll/i386/error.h>
#include <ll/i386/mem.h>
#include <ll/i386/hw-arch.h>
29,7 → 29,7
#include <ll/sys/ll/ll-func.h>
#include <ll/sys/ll/aspace.h>
#include <ll/sys/ll/event.h>
#include <ll/string.h>
#include <arch/string.h>
 
#define USE_NEW_HANDLERS
#define T 1000
/shark/branches/xen/oslib/xlib/xdosf.c
21,9 → 21,9
 
/* DOS Interface toward disk */
 
#include <arch/string.h>
#include <ll/i386/error.h>
#include <ll/i386/mem.h>
#include <ll/i386/error.h>
#include <ll/string.h>
#include <ll/i386/x-dos.h>
#include <ll/i386/x-dosmem.h>
 
/shark/branches/xen/oslib/xlib/xinfo.c
21,7 → 21,7
 
/* Access the info stucture */
 
#include <ll/i386/stdlib.h>
#include <arch/i386/stdlib.h>
#include <ll/i386/hw-func.h>
#include <ll/i386/mb-info.h>
#include <ll/i386/x-bios.h>
/shark/branches/xen/oslib/xlib/x1.c
23,8 → 23,8
/* Startup code: */
/* Build parameters list & make info accessible */
 
#include <arch/stdlib.h>
#include <ll/i386/hw-func.h>
#include <ll/stdlib.h>
#include <ll/i386/cons.h>
#include <ll/i386/mb-info.h>
 
/shark/branches/xen/libc/stdio/vfprintf.c
35,7 → 35,7
*/
 
/* MODIFIED:
* --added include <ll/math.h>
* --added include <arch/math.h>
* --initialization to prevent warnings
*/
 
82,18 → 82,18
# undef _ANSI_SOURCE
# if defined(_POSIX_SOURCE)
# undef _POSIX_SOURCE
# include <ll/math.h>
# include <arch/math.h>
# define _POSIX_SOURCE
# else
# include <ll/math.h>
# include <arch/math.h>
# endif
# define _ANSI_SOURCE
# elif defined(_POSIX_SOURCE)
# undef _POSIX_SOURCE
# include <ll/math.h>
# include <arch/math.h>
# define _POSIX_SOURCE
# else
# include <ll/math.h>
# include <arch/math.h>
# endif
#endif
 
/shark/branches/xen/libc/string/strcasecmp.c
50,8 → 50,8
 
 
 
#include <ll/i386/string.h>
#include <ll/ctype.h>
#include <arch/i386/string.h>
#include <arch/ctype.h>
 
int strcasecmp(const char *s1, const char *s2)
{
/shark/branches/xen/libc/arch/x86/ioformat/ksprintf.c
19,12 → 19,12
* For legalese, check out the included GPL license.
*/
 
#include <ll/i386/stdlib.h>
#include <ll/i386/string.h>
#include <ll/i386/limits.h>
#include <ll/i386/float.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/string.h>
#include <arch/i386/limits.h>
#include <arch/i386/float.h>
#include <ll/i386/mem.h>
#include <ll/stdarg.h>
#include <arch/stdarg.h>
#include "sprintf.h"
 
FILE(ksprintf);
/shark/branches/xen/libc/arch/x86/ioformat/ecvt.c
20,14 → 20,14
*/
 
 
#include <ll/i386/stdlib.h>
#include <ll/i386/string.h>
#include <ll/i386/limits.h>
#include <ll/i386/float.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/string.h>
#include <arch/i386/limits.h>
#include <arch/i386/float.h>
#include <ll/i386/mem.h>
#include <ll/stdarg.h>
#include <ll/ctype.h>
#include <ll/math.h>
#include <arch/stdarg.h>
#include <arch/ctype.h>
#include <arch/math.h>
#include "sprintf.h"
 
FILE(ecvt);
/shark/branches/xen/libc/arch/x86/ioformat/ucvt.c
19,13 → 19,13
* For legalese, check out the included GPL license.
*/
 
#include <ll/i386/stdlib.h>
#include <ll/i386/string.h>
#include <ll/i386/limits.h>
#include <ll/i386/float.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/string.h>
#include <arch/i386/limits.h>
#include <arch/i386/float.h>
#include <ll/i386/mem.h>
#include <ll/stdarg.h>
#include <ll/ctype.h>
#include <arch/stdarg.h>
#include <arch/ctype.h>
#include "sprintf.h"
 
FILE(ucvt);
/shark/branches/xen/libc/arch/x86/ioformat/fcvt.c
19,14 → 19,14
* For legalese, check out the included GPL license.
*/
 
#include <ll/i386/stdlib.h>
#include <ll/i386/string.h>
#include <ll/i386/limits.h>
#include <ll/i386/float.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/string.h>
#include <arch/i386/limits.h>
#include <arch/i386/float.h>
#include <ll/i386/mem.h>
#include <ll/stdarg.h>
#include <ll/ctype.h>
#include <ll/math.h>
#include <arch/stdarg.h>
#include <arch/ctype.h>
#include <arch/math.h>
#include "sprintf.h"
 
FILE(fcvt);
/shark/branches/xen/libc/arch/x86/ioformat/gcvt.c
19,14 → 19,14
* For legalese, check out the included GPL license.
*/
 
#include <ll/i386/stdlib.h>
#include <ll/i386/string.h>
#include <ll/i386/limits.h>
#include <ll/i386/float.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/string.h>
#include <arch/i386/limits.h>
#include <arch/i386/float.h>
#include <ll/i386/mem.h>
#include <ll/stdarg.h>
#include <ll/ctype.h>
#include <ll/math.h>
#include <arch/stdarg.h>
#include <arch/ctype.h>
#include <arch/math.h>
#include "sprintf.h"
 
FILE(gcvt);
/shark/branches/xen/libc/arch/x86/ioformat/sprintf.c
19,14 → 19,14
* For legalese, check out the included GPL license.
*/
 
#include <ll/i386/stdlib.h>
#include <ll/i386/string.h>
#include <ll/i386/limits.h>
#include <ll/i386/float.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/string.h>
#include <arch/i386/limits.h>
#include <arch/i386/float.h>
#include <ll/i386/mem.h>
#include <ll/stdarg.h>
//#include <ll/ctype.h>
#include <ll/math.h>
#include <arch/stdarg.h>
//#include <arch/ctype.h>
#include <arch/math.h>
#include "sprintf.h"
 
FILE(sprintf);
/shark/branches/xen/libc/arch/x86/ioformat/sscanf.c
19,11 → 19,11
* For legalese, check out the included GPL license.
*/
 
#include <ll/i386/stdlib.h>
#include <ll/i386/string.h>
#include <ll/i386/limits.h>
#include <ll/stdarg.h>
#include <ll/ctype.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/string.h>
#include <arch/i386/limits.h>
#include <arch/stdarg.h>
#include <arch/ctype.h>
#include "sprintf.h"
 
FILE(sscanf);
/shark/branches/xen/libc/arch/x86/stdlib/strtod.c
19,12 → 19,12
* For legalese, check out the included GPL license.
*/
 
#include <ll/i386/stdlib.h>
#include <ll/i386/string.h>
#include <ll/i386/limits.h>
#include <ll/stdarg.h>
#include <ll/ctype.h>
#include <ll/math.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/string.h>
#include <arch/i386/limits.h>
#include <arch/stdarg.h>
#include <arch/ctype.h>
#include <arch/math.h>
 
FILE(strod);
 
/shark/branches/xen/libc/arch/x86/stdlib/random.c
19,8 → 19,8
* For legalese, check out the included GPL license.
*/
 
#include <ll/i386/stdlib.h>
#include <ll/math.h>
#include <arch/i386/stdlib.h>
#include <arch/math.h>
 
FILE(random);
 
/shark/branches/xen/libc/arch/x86/stdlib/strtou.c
19,11 → 19,11
* For legalese, check out the included GPL license.
*/
 
#include <ll/i386/stdlib.h>
#include <ll/i386/string.h>
#include <ll/i386/limits.h>
#include <ll/stdarg.h>
#include <ll/ctype.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/string.h>
#include <arch/i386/limits.h>
#include <arch/stdarg.h>
#include <arch/ctype.h>
 
FILE(strtou);
 
/shark/branches/xen/libc/arch/x86/stdlib/stdlib.c
21,8 → 21,8
 
#include <ll/i386/hw-func.h>
 
#include <ll/i386/stdlib.h>
#include <ll/unistd.h>
#include <arch/i386/stdlib.h>
#include <arch/unistd.h>
 
FILE(stdlib);
 
/shark/branches/xen/libc/arch/x86/stdlib/strtoi.c
19,12 → 19,12
* For legalese, check out the included GPL license.
*/
 
#include <ll/i386/stdlib.h>
#include <ll/i386/string.h>
#include <ll/i386/limits.h>
#include <ll/stdarg.h>
#include <ll/ctype.h>
#include <ll/math.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/string.h>
#include <arch/i386/limits.h>
#include <arch/stdarg.h>
#include <arch/ctype.h>
#include <arch/math.h>
 
FILE(strtoi);
 
/shark/branches/xen/libc/arch/x86/stdlib/strtol.c
35,10 → 35,10
static char sccsid[] = "@(#)strtol.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
 
#include <ll/limits.h>
#include <ll/ctype.h>
#include <ll/errno.h>
#include <ll/stdlib.h>
#include <arch/limits.h>
#include <arch/ctype.h>
#include <arch/errno.h>
#include <arch/stdlib.h>
 
FILE(strtol);
 
/shark/branches/xen/libc/arch/x86/stdlib/strtoul.c
35,10 → 35,10
static char sccsid[] = "@(#)strtoul.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
 
#include <ll/limits.h>
#include <ll/ctype.h>
#include <ll/errno.h>
#include <ll/stdlib.h>
#include <arch/limits.h>
#include <arch/ctype.h>
#include <arch/errno.h>
#include <arch/stdlib.h>
 
FILE(strtoul);
 
/shark/branches/xen/libc/arch/x86/libm/msun/src/w_cabs.c
5,7 → 5,7
* Placed into the Public Domain, 1994.
*/
 
#include <math.h>
#include "math.h"
 
struct complex {
double x;
/shark/branches/xen/libc/arch/x86/libm/msun/src/math.h
92,7 → 92,7
#endif /* !_ANSI_SOURCE && !_POSIX_SOURCE */
 
 
#include <sys/cdefs.h>
#include <arch/sys/cdefs.h>
__BEGIN_DECLS
/*
* ANSI/POSIX
/shark/branches/xen/libc/arch/x86/libm/msun/src/s_ldexpf.c
19,7 → 19,7
 
#include "math.h"
#include "math_private.h"
#include <errno.h>
#include <arch/errno.h>
 
#ifdef __STDC__
float ldexpf(float value, int exp)
/shark/branches/xen/libc/arch/x86/libm/msun/src/math_pri.h
17,8 → 17,8
#ifndef _MATH_PRIVATE_H_
#define _MATH_PRIVATE_H_
 
#include <machine/endian.h>
#include <sys/types.h>
#include <arch/endian.h>
#include <ll/sys/types.h>
 
/* The original fdlibm code used statements like:
n0 = ((*(int*)&one)>>29)^1; * index of high word *
/shark/branches/xen/libc/arch/x86/libm/msun/src/w_scalbf.c
26,7 → 26,7
#include "math.h"
#include "math_private.h"
 
#include <errno.h>
#include <arch/errno.h>
 
#ifdef __STDC__
#ifdef _SCALB_INT
/shark/branches/xen/libc/arch/x86/libm/msun/src/s_ldexp.c
16,7 → 16,7
 
#include "math.h"
#include "math_private.h"
#include <errno.h>
#include <arch/errno.h>
 
#ifdef __STDC__
double ldexp(double value, int exp)
/shark/branches/xen/libc/arch/x86/libm/msun/src/w_drem.c
5,7 → 5,7
* Placed into the Public Domain, 1994.
*/
 
#include <math.h>
#include "math.h"
 
double
drem(x, y)
/shark/branches/xen/libc/arch/x86/libm/msun/src/math_private.h
17,8 → 17,8
#ifndef _MATH_PRIVATE_H_
#define _MATH_PRIVATE_H_
 
#include <machine/endian.h>
#include <sys/types.h>
#include <arch/endian.h>
#include <ll/sys/types.h>
 
/* The original fdlibm code used statements like:
n0 = ((*(int*)&one)>>29)^1; * index of high word *
/shark/branches/xen/libc/arch/x86/libm/msun/src/w_scalb.c
23,7 → 23,7
#include "math.h"
#include "math_private.h"
 
#include <errno.h>
#include <arch/errno.h>
 
#ifdef __STDC__
#ifdef _SCALB_INT
/shark/branches/xen/libc/arch/x86/libm/msun/src/k_standa.c
16,7 → 16,7
 
#include "math.h"
#include "math_private.h"
#include <errno.h>
#include <arch/errno.h>
 
/* Undefine these if you're actually going to use the FreeBSD libc. */
#define _USE_WRITE
26,7 → 26,7
#include <stdio.h> /* fputs(), stderr */
#define WRITE2(u,v) fputs(u, stderr)
#else /* !defined(_USE_WRITE) */
#include <unistd.h> /* write */
#include <arch/unistd.h> /* write */
#define WRITE2(u,v) write(2, u, v)
#undef fflush
#endif /* !defined(_USE_WRITE) */
/shark/branches/xen/libc/arch/x86/libm/machine/endian.h
File deleted
/shark/branches/xen/libc/arch/x86/libm/machine/infinity.c
20,7 → 20,7
*/
 
 
#include <math.h>
#include <arch/math.h>
 
/* bytes for +Infinity on a 387 */
char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };
/shark/branches/xen/libc/arch/x86/libm/machine/stub.c
21,7 → 21,7
 
 
#include <ll/i386/cons.h>
#include <ll/stdlib.h>
#include <arch/stdlib.h>
#include <ll/sys/types.h>
 
/* bytes for +Infinity on a 387 */
/shark/branches/xen/libc/arch/x86/libm/makefile
12,7 → 12,7
 
include $(BASE)/config.mk
 
C_OPT += -I$(INCL)/ll -I.
C_OPT += $(INCL)/ll -I.
C_OPT += -Dlint -Wno-uninitialized -Wno-parentheses
ASM_OPT += -Dlint -I.
 
75,7 → 75,7
 
cleanall : clean
echo # Kernel Dependency file > deps
$(RM) (LIB_PATH)libhm.a
$(RM) $(LIB_PATH)libhm.a
 
#deps : $(OBJS:.o=.c)
deps : makefile $(CFILES)
/shark/branches/xen/libc/arch/x86/include/arch/math.h
0,0 → 1,141
/*
* Copyright (c) 1985, 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* @(#)math.h 8.1 (Berkeley) 6/2/93
*/
 
#ifndef __LL_MATH_H__
#define __LL_MATH_H__
 
#if defined(vax) || defined(tahoe) /* DBL_MAX from float.h */
#define HUGE_VAL 1.701411834604692294E+38
#else
#define HUGE_VAL 1e500 /* IEEE: positive infinity */
#endif
 
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
#if defined(vax) || defined(tahoe)
/*
* HUGE for the VAX and Tahoe converts to the largest possible F-float value.
* This implies an understanding of the conversion behavior of atof(3). It
* was defined to be the largest float so that overflow didn't occur when it
* was assigned to a single precision number. HUGE_VAL is strongly preferred.
*/
#define HUGE 1.701411733192644270E+38
#else
#define HUGE HUGE_VAL
#endif
 
#define M_E 2.7182818284590452354 /* e */
#define M_LOG2E 1.4426950408889634074 /* log 2e */
#define M_LOG10E 0.43429448190325182765 /* log 10e */
#define M_LN2 0.69314718055994530942 /* log e2 */
#define M_LN10 2.30258509299404568402 /* log e10 */
#define M_PI 3.14159265358979323846 /* pi */
#define M_PI_2 1.57079632679489661923 /* pi/2 */
#define M_PI_4 0.78539816339744830962 /* pi/4 */
#define M_1_PI 0.31830988618379067154 /* 1/pi */
#define M_2_PI 0.63661977236758134308 /* 2/pi */
#define M_2_SQRTPI 1.12837916709551257390 /* 2/sqrt(pi) */
#define M_SQRT2 1.41421356237309504880 /* sqrt(2) */
#define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */
#endif /* !_ANSI_SOURCE && !_POSIX_SOURCE */
 
#include <arch/sys/cdefs.h>
 
/*
* Most of these functions have the side effect of setting errno, except
* in the (broken) BSD libm, so they not declared as __pure2.
*/
__BEGIN_DECLS double acos __P((double));
double asin __P((double));
double atan __P((double));
double atan2 __P((double, double));
double ceil __P((double));
double cos __P((double));
double cosh __P((double));
double exp __P((double));
double fabs __P((double));
double floor __P((double));
double fmod __P((double, double));
double frexp __P((double, int *)); /* fundamentally !__pure2 */
double ldexp __P((double, int));
double log __P((double));
double log10 __P((double));
double modf __P((double, double *)); /* fundamentally !__pure2 */
double pow __P((double, double));
double sin __P((double));
double sinh __P((double));
double sqrt __P((double));
double tan __P((double));
double tanh __P((double));
 
/*
* These functions are non-ANSI so they can be "right". The ones that
* don't set errno in [lib]msun are declared as __pure2.
*/
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
double acosh __P((double));
double asinh __P((double));
double atanh __P((double));
double cabs(); /* we can't describe cabs()'s argument properly */
double cbrt __P((double)) __pure2;
double copysign __P((double, double)) __pure2;
double drem __P((double, double));
double erf __P((double));
double erfc __P((double)) __pure2;
double expm1 __P((double)) __pure2;
int finite __P((double)) __pure2;
double hypot __P((double, double));
#if defined(vax) || defined(tahoe)
double infnan __P((int));
#endif
int isinf __P((double)) __pure2;
int isnan __P((double)) __pure2;
double j0 __P((double));
double j1 __P((double));
double jn __P((int, double));
double lgamma __P((double));
double log1p __P((double)) __pure2;
double logb __P((double)) __pure2;
double rint __P((double)) __pure2;
double scalb __P((double, int));
double y0 __P((double));
double y1 __P((double));
double yn __P((int, double));
#endif
 
#define isinf(x) (isspecial(x, NULL) > 1)
#define isnan(x) (isspecial(x, NULL) == 1)
 
__END_DECLS
#endif /* !_MATH_H_ */
/shark/branches/xen/libc/arch/x86/include/arch/endian.h
0,0 → 1,120
/*
* Copyright (c) 1987, 1991 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)endian.h 7.8 (Berkeley) 4/3/91
* endian.h,v 1.5 1994/09/10 20:03:14 csgr Exp
*/
 
#ifndef _MACHINE_ENDIAN_H_
#define _MACHINE_ENDIAN_H_ 1
 
/*
* Define the order of 32-bit words in 64-bit words.
*/
#define _QUAD_HIGHWORD 1
#define _QUAD_LOWWORD 0
 
/*
* Definitions for byte order, according to byte significance from low
* address to high.
*/
#define LITTLE_ENDIAN 1234 /* LSB first: i386, vax */
#define BIG_ENDIAN 4321 /* MSB first: 68000, ibm, net */
#define PDP_ENDIAN 3412 /* LSB first in word, MSW first in long */
 
#define BYTE_ORDER LITTLE_ENDIAN
 
#ifndef KERNEL
#include <arch/sys/cdefs.h>
#endif
 
#define __word_swap_long(x) \
({ register u_long X = (x); \
__asm ("rorl $16, %1" \
: "=r" (X) \
: "0" (X)); \
X; })
#if __GNUC__ >= 2
#define __byte_swap_long(x) \
({ register u_long X = (x); \
__asm ("xchgb %h1, %b1\n\trorl $16, %1\n\txchgb %h1, %b1" \
: "=q" (X) \
: "0" (X)); \
X; })
#define __byte_swap_word(x) \
({ register u_short X = (x); \
__asm ("xchgb %h1, %b1" \
: "=q" (X) \
: "0" (X)); \
X; })
#else /* __GNUC__ >= 2 */
#define __byte_swap_long(x) \
({ register u_long X = (x); \
__asm ("rorw $8, %w1\n\trorl $16, %1\n\trorw $8, %w1" \
: "=r" (X) \
: "0" (X)); \
X; })
#define __byte_swap_word(x) \
({ register u_short X = (x); \
__asm ("rorw $8, %w1" \
: "=r" (X) \
: "0" (X)); \
X; })
#endif /* __GNUC__ >= 2 */
 
/*
* Macros for network/external number representation conversion.
*/
#if BYTE_ORDER == BIG_ENDIAN && !defined(lint)
#define ntohl(x) (x)
#define ntohs(x) (x)
#define htonl(x) (x)
#define htons(x) (x)
 
#define NTOHL(x) (x)
#define NTOHS(x) (x)
#define HTONL(x) (x)
#define HTONS(x) (x)
 
#else
 
#define ntohl __byte_swap_long
#define ntohs __byte_swap_word
#define htonl __byte_swap_long
#define htons __byte_swap_word
 
#define NTOHL(x) (x) = ntohl((u_long)x)
#define NTOHS(x) (x) = ntohs((u_short)x)
#define HTONL(x) (x) = htonl((u_long)x)
#define HTONS(x) (x) = htons((u_short)x)
#endif
#endif /* _MACHINE_ENDIAN_H_ */
/shark/branches/xen/libc/arch/x86/include/arch/time.h
0,0 → 1,35
/* Project: OSLib
* Description: The OS Construction Kit
* Date: 1.6.2000
* Idea by: Luca Abeni & Gerardo Lamastra
*
* OSLib is an SO project aimed at developing a common, easy-to-use
* low-level infrastructure for developing OS kernels and Embedded
* Applications; it partially derives from the HARTIK project but it
* currently is independently developed.
*
* OSLib is distributed under GPL License, and some of its code has
* been derived from the Linux kernel source; also some important
* ideas come from studying the DJGPP go32 extender.
*
* We acknowledge the Linux Community, Free Software Foundation,
* D.J. Delorie and all the other developers who believe in the
* freedom of software and ideas.
*
* For legalese, check out the included GPL license.
*/
 
/* A wrapper to the time handling functions */
 
#ifndef __LL_TIME_H__
#define __LL_TIME_H__
 
#include <ll/sys/types.h>
 
#ifndef NULL
#define NULL 0L
#endif
 
#include <ll/sys/ll/time.h>
 
#endif
/shark/branches/xen/libc/arch/x86/include/arch/assert.h
0,0 → 1,39
/* Project: OSLib
* Description: The OS Construction Kit
* Date: 1.6.2000
* Idea by: Luca Abeni & Gerardo Lamastra
*
* OSLib is an SO project aimed at developing a common, easy-to-use
* low-level infrastructure for developing OS kernels and Embedded
* Applications; it partially derives from the HARTIK project but it
* currently is independently developed.
*
* OSLib is distributed under GPL License, and some of its code has
* been derived from the Linux kernel source; also some important
* ideas come from studying the DJGPP go32 extender.
*
* We acknowledge the Linux Community, Free Software Foundation,
* D.J. Delorie and all the other developers who believe in the
* freedom of software and ideas.
*
* For legalese, check out the included GPL license.
*/
 
/* Assert & demand: diagnostic routines */
 
#ifndef __LL_ASSERT_H__
#define __LL_ASSERT_H__
 
#include "i386/error.h"
 
#define assert(x) { \
if (! (x)) \
message("%s:%d: assertion failed: %s", __FILE__, __LINE__, #x); \
}
#define demand(x,y) { \
if (! (x)) \
message("%s:%d: demand %s failed: %s", __FILE__, __LINE__, #x, #y); \
}
 
#endif
/shark/branches/xen/libc/arch/x86/include/arch/limits.h
0,0 → 1,22
 
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
 
#ifndef __LL_LIMITS_H__
#define __LL_LIMITS_H__
#include "i386/limits.h"
#endif
/shark/branches/xen/libc/arch/x86/include/arch/stdlib.h
0,0 → 1,27
/* Project: OSLib
* Description: The OS Construction Kit
* Date: 1.6.2000
* Idea by: Luca Abeni & Gerardo Lamastra
*
* OSLib is an SO project aimed at developing a common, easy-to-use
* low-level infrastructure for developing OS kernels and Embedded
* Applications; it partially derives from the HARTIK project but it
* currently is independently developed.
*
* OSLib is distributed under GPL License, and some of its code has
* been derived from the Linux kernel source; also some important
* ideas come from studying the DJGPP go32 extender.
*
* We acknowledge the Linux Community, Free Software Foundation,
* D.J. Delorie and all the other developers who believe in the
* freedom of software and ideas.
*
* For legalese, check out the included GPL license.
*/
 
/* The system independent part of the standard library */
 
#ifndef __LL_STDLIB_H__
#define __LL_STDLIB_H__
#include "i386/stdlib.h"
#endif
/shark/branches/xen/libc/arch/x86/include/arch/stdio.h
0,0 → 1,26
/* Project: OSLib
* Description: The OS Construction Kit
* Date: 1.6.2000
* Idea by: Luca Abeni & Gerardo Lamastra
*
* OSLib is an SO project aimed at developing a common, easy-to-use
* low-level infrastructure for developing OS kernels and Embedded
* Applications; it partially derives from the HARTIK project but it
* currently is independently developed.
*
* OSLib is distributed under GPL License, and some of its code has
* been derived from the Linux kernel source; also some important
* ideas come from studying the DJGPP go32 extender.
*
* We acknowledge the Linux Community, Free Software Foundation,
* D.J. Delorie and all the other developers who believe in the
* freedom of software and ideas.
*
* For legalese, check out the included GPL license.
*/
 
/* The standard input/output */
#ifndef __LL_STDIO_H__
#define __LL_STDIO_H__
#include "i386/stdio.h"
#endif
/shark/branches/xen/libc/arch/x86/include/arch/i386/limits.h
0,0 → 1,48
/* Project: OSLib
* Description: The OS Construction Kit
* Date: 1.6.2000
* Idea by: Luca Abeni & Gerardo Lamastra
*
* OSLib is an SO project aimed at developing a common, easy-to-use
* low-level infrastructure for developing OS kernels and Embedded
* Applications; it partially derives from the HARTIK project but it
* currently is independently developed.
*
* OSLib is distributed under GPL License, and some of its code has
* been derived from the Linux kernel source; also some important
* ideas come from studying the DJGPP go32 extender.
*
* We acknowledge the Linux Community, Free Software Foundation,
* D.J. Delorie and all the other developers who believe in the
* freedom of software and ideas.
*
* For legalese, check out the included GPL license.
*/
 
/* Some POSIX compliance stuff */
 
#ifndef __LL_I386_LIMITS_H__
#define __LL_I386_LIMITS_H__
 
/* Number limits */
 
#define CHAR_BIT 8
#define CHAR_MAX 255
#define CHAR_MIN 0
#define SCHAR_MAX 127
#define SCHAR_MIN -128
#define UCHAR_MAX 255
 
#define INT_MAX 2147483647
#define INT_MIN (-INT_MAX - 1)
#define UINT_MAX 4294967295U
 
#define SHRT_MIN (-32768)
#define SHRT_MAX 32767
#define USHRT_MAX 65535
 
#define LONG_MAX 2147483647L
#define LONG_MIN (-LONG_MAX - 1)
#define ULONG_MAX 4294967295UL
 
#endif
/shark/branches/xen/libc/arch/x86/include/arch/i386/stdlib.h
0,0 → 1,100
/* Project: OSLib
* Description: The OS Construction Kit
* Date: 1.6.2000
* Idea by: Luca Abeni & Gerardo Lamastra
*
* OSLib is an SO project aimed at developing a common, easy-to-use
* low-level infrastructure for developing OS kernels and Embedded
* Applications; it partially derives from the HARTIK project but it
* currently is independently developed.
*
* OSLib is distributed under GPL License, and some of its code has
* been derived from the Linux kernel source; also some important
* ideas come from studying the DJGPP go32 extender.
*
* We acknowledge the Linux Community, Free Software Foundation,
* D.J. Delorie and all the other developers who believe in the
* freedom of software and ideas.
*
* For legalese, check out the included GPL license.
*/
 
/* Standard library for OSLib applications */
 
#ifndef __LL_I386_STDLIB_H__
#define __LL_I386_STDLIB_H__
 
#include <ll/i386/defs.h>
BEGIN_DEF
 
#define EXIT_FAILURE 1 /* Failing exit status. */
#define EXIT_SUCCESS 0 /* Successful exit status. */
 
/* Added by Nino - Begin */
#define EXIT_MODE_HALT 0 /* End the system using the 'hlt' instruction. */
#define EXIT_MODE_COLD 1 /* End the system with a _cold_ reboot. */
#define EXIT_MODE_WARM 2 /* End the system with a _warm_ reboot. */
#define EXIT_MODE_REAL 3 /* End the system returning in real-mode. */
/* Added by Nino - End */
 
#ifndef NULL
#define NULL 0L
#endif
 
#define RAND_MAX 2147483647
 
/* String conversion functions */
/* File: StrConv.C */
 
long strtoi(char *s,int base,char **scan_end);
unsigned long strtou(char *s,int base,char **scan_end);
double strtod(char *s,char **scan_end);
long strtol(const char *nptr, char **endptr, int base);
unsigned long strtoul(const char *nptr, char **endptr, int base);
 
 
unsigned ecvt(double v,char *buffer,int width,int prec,int flag);
unsigned fcvt(double v,char *buffer,int width,int prec,int flag);
unsigned gcvt(double v,char *buffer,int width,int prec,int flag);
unsigned dcvt(long v,char *buffer,int base,int width,int flag);
unsigned ucvt(unsigned long v,char *buffer,int base,int width,int flag);
 
 
/* StdLib Macro */
 
#define atof(s) strtod(s, NULL)
#define atoi(s) strtoi(s, 10, NULL)
#define atou(s) strtou(s, 10, NULL)
#define atol(s) strtol(s, 10, NULL)
 
/* Generic utility functions */
/* File StdLib.C */
 
void srand(long int seed);
long int rand(void);
unsigned abs(int x);
 
/* The stdlib exit functions */
void l1_exit(int code);
int ll_set_reboot(int mode);
 
/* Stdlib Macro */
#ifndef __WC16__
#define labs(x) abs(x)
#endif
 
#if !defined(__max)
#define __max(a,b) (((a) > (b)) ? (a) : (b))
#endif
#if !defined(max) && !defined(__cplusplus)
#define max(a,b) (((a) > (b)) ? (a) : (b))
#endif
#if !defined(__min)
#define __min(a,b) (((a) < (b)) ? (a) : (b))
#endif
#if !defined(min) && !defined(__cplusplus)
#define min(a,b) (((a) < (b)) ? (a) : (b))
#endif
END_DEF
 
#endif
/shark/branches/xen/libc/arch/x86/include/arch/i386/stdio.h
0,0 → 1,40
/* Project: OSLib
* Description: The OS Construction Kit
* Date: 1.6.2000
* Idea by: Luca Abeni & Gerardo Lamastra
*
* OSLib is an SO project aimed at developing a common, easy-to-use
* low-level infrastructure for developing OS kernels and Embedded
* Applications; it partially derives from the HARTIK project but it
* currently is independently developed.
*
* OSLib is distributed under GPL License, and some of its code has
* been derived from the Linux kernel source; also some important
* ideas come from studying the DJGPP go32 extender.
*
* We acknowledge the Linux Community, Free Software Foundation,
* D.J. Delorie and all the other developers who believe in the
* freedom of software and ideas.
*
* For legalese, check out the included GPL license.
*/
 
#ifndef __LL_I386_STDIO_H__
#define __LL_I386_STDIO_H__
 
#include <arch/stdarg.h>
#include <ll/i386/defs.h>
 
BEGIN_DEF
 
int vsprintf(char *buf,char *fmt,va_list parms);
int vksprintf(char *buf,char *fmt,va_list parms);
int sprintf(char *buf,char *fmt,...) __attribute__((__format__(printf,2,3)));
int ksprintf(char *buf,char *fmt,...) __attribute__((__format__(printf,2,3)));
int vsscanf(char *buf,char *fmt,va_list parms);
int sscanf(char *buf,char *fmt,...) __attribute__((__format__(scanf,2,3)));
 
int ll_printf(char *fmt,...);
 
END_DEF
#endif
/shark/branches/xen/libc/arch/x86/include/arch/i386/float.h
0,0 → 1,59
/* Project: OSLib
* Description: The OS Construction Kit
* Date: 1.6.2000
* Idea by: Luca Abeni & Gerardo Lamastra
*
* OSLib is an SO project aimed at developing a common, easy-to-use
* low-level infrastructure for developing OS kernels and Embedded
* Applications; it partially derives from the HARTIK project but it
* currently is independently developed.
*
* OSLib is distributed under GPL License, and some of its code has
* been derived from the Linux kernel source; also some important
* ideas come from studying the DJGPP go32 extender.
*
* We acknowledge the Linux Community, Free Software Foundation,
* D.J. Delorie and all the other developers who believe in the
* freedom of software and ideas.
*
* For legalese, check out the included GPL license.
*/
 
/* The POSIX float.h header */
 
#ifndef __LL_I386_FLOAT_H
#define __LL_I386_FLOAT_H__
 
#define DBL_DIG 15
#define DBL_EPSILON 2.22044604925031300e-016
#define DBL_MANT_DIG 53
#define DBL_MAX 1.79769313486231500e+308
#define DBL_MAX_10_EXP 308
#define DBL_MAX_EXP 1024
#define DBL_MIN 2.22507385850720200e-308
#define DBL_MIN_10_EXP (-307)
#define DBL_MIN_EXP (-1021)
 
#define FLT_DIG 6
#define FLT_EPSILON 1.192092896e-7f
#define FLT_MANT_DIG 24
#define FLT_MAX 3.402823466e+38f
#define FLT_MAX_10_EXP 38
#define FLT_MAX_EXP 128
#define FLT_MIN 1.175494351e-38f
#define FLT_MIN_10_EXP (-37)
#define FLT_MIN_EXP (-125)
#define FLT_RADIX 2
#define FLT_ROUNDS 1
 
#define LDBL_DIG DBL_DIG
#define LDBL_EPSILON DBL_EPSILON
#define LDBL_MANT_DIG DBL_MANT_DIG
#define LDBL_MAX DBL_MAX
#define LDBL_MAX_10_EXP DBL_MAX_10_EXP
#define LDBL_MAX_EXP DBL_MAX_EXP
#define LDBL_MIN DBL_MIN
#define LDBL_MIN_10_EXP DBL_MIN_10_EXP
#define LDBL_MIN_EXP DBL_MIN_EXP
 
#endif
/shark/branches/xen/libc/arch/x86/include/arch/i386/string.h
0,0 → 1,50
/* Project: OSLib
* Description: The OS Construction Kit
* Date: 1.6.2000
* Idea by: Luca Abeni & Gerardo Lamastra
*
* OSLib is an SO project aimed at developing a common, easy-to-use
* low-level infrastructure for developing OS kernels and Embedded
* Applications; it partially derives from the HARTIK project but it
* currently is independently developed.
*
* OSLib is distributed under GPL License, and some of its code has
* been derived from the Linux kernel source; also some important
* ideas come from studying the DJGPP go32 extender.
*
* We acknowledge the Linux Community, Free Software Foundation,
* D.J. Delorie and all the other developers who believe in the
* freedom of software and ideas.
*
* For legalese, check out the included GPL license.
*/
 
/* String manipulation functions */
 
#ifndef __LL_I386_STRING_H__
#define __LL_I386_STRING_H__
 
#include <ll/i386/mem.h>
 
#include <ll/i386/defs.h>
BEGIN_DEF
 
/* Various string manipulation functions */
 
/* File: String.C */
 
char *strcpy(char *dst,const char *src);
char *strncpy(char *dst,const char *src,int n);
int strcmp(const char *s1,const char *s2);
int strncmp(const char *s1,const char *s2,int n);
int strlen(const char *s);
char *strscn(char *s,char *pattern);
char *strchr(char *s,int c);
char *strupr(char *s);
char *strlwr(char *s);
char *strcat(char *dst,char *src);
 
END_DEF
 
#endif
 
/shark/branches/xen/libc/arch/x86/include/arch/ctype.h
0,0 → 1,47
/* Project: OSLib
* Description: The OS Construction Kit
* Date: 1.6.2000
* Idea by: Luca Abeni & Gerardo Lamastra
*
* OSLib is an SO project aimed at developing a common, easy-to-use
* low-level infrastructure for developing OS kernels and Embedded
* Applications; it partially derives from the HARTIK project but it
* currently is independently developed.
*
* OSLib is distributed under GPL License, and some of its code has
* been derived from the Linux kernel source; also some important
* ideas come from studying the DJGPP go32 extender.
*
* We acknowledge the Linux Community, Free Software Foundation,
* D.J. Delorie and all the other developers who believe in the
* freedom of software and ideas.
*
* For legalese, check out the included GPL license.
*/
 
/* Standard character conversions and tests */
 
#ifndef __LL_CTYPE_H__
#define __LL_CTYPE_H__
 
#include <ll/i386/defs.h>
BEGIN_DEF
 
/* String conversion functions */
char toupper(char c);
char tolower(char c);
int tonumber(char c);
char todigit(int c);
int isalnum(char c);
int isalpha(char c);
int iscntrl(char c);
int isdigit(char c);
int islower(char c);
int isspace(char c);
int isupper(char c);
int isxdigit(char c);
int isnumber(char c,int base);
int isspecial(double d,char *bufp);
 
END_DEF
#endif
/shark/branches/xen/libc/arch/x86/include/arch/stdarg.h
0,0 → 1,90
/*
* Project: HARTIK (HA-rd R-eal TI-me K-ernel)
*
* Coordinators: Giorgio Buttazzo <giorgio@sssup.it>
* Gerardo Lamastra <gerardo@sssup.it>
*
* Authors : Paolo Gai <pj@hartik.sssup.it>
* (see authors.txt for full list of hartik's authors)
*
* ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
*
* http://www.sssup.it
* http://retis.sssup.it
* http://hartik.sssup.it
*/
 
/**
------------
CVS : $Id: stdarg.h,v 1.2 2003-03-17 09:27:56 pj Exp $
 
File: $File$
Revision: $Revision: 1.2 $
Last update: $Date: 2003-03-17 09:27:56 $
------------
 
lowlevel's stdarg.h
 
**/
 
/*
* Copyright (C) 2000 Paolo Gai
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
 
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#ifndef __dj_include_stdarg_h_
#define __dj_include_stdarg_h_
 
#include <ll/i386/defs.h>
 
#ifndef __dj_ENFORCE_ANSI_FREESTANDING
 
#ifdef __dj_include_varargs_h_
#error stdarg.h and varargs.h are mutually exclusive
#endif
 
#include <ll/sys/types.h>
 
BEGIN_DEF
 
#define __dj_va_rounded_size(T) \
(((sizeof (T) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
 
#define va_arg(ap, T) \
(ap = (va_list) ((char *) (ap) + __dj_va_rounded_size (T)), \
*((T *) (void *) ((char *) (ap) - __dj_va_rounded_size (T))))
 
#define va_end(ap)
 
#define va_start(ap, last_arg) \
(ap = ((va_list) __builtin_next_arg (last_arg)))
#ifndef __STRICT_ANSI__
 
#ifndef _POSIX_SOURCE
 
#endif /* !_POSIX_SOURCE */
#endif /* !__STRICT_ANSI__ */
#endif /* !__dj_ENFORCE_ANSI_FREESTANDING */
 
#ifndef __dj_ENFORCE_FUNCTION_CALLS
#endif /* !__dj_ENFORCE_FUNCTION_CALLS */
 
END_DEF
#endif /* !__dj_include_stdarg_h_ */
/shark/branches/xen/libc/arch/x86/include/arch/errno.h
0,0 → 1,38
/* Project: OSLib
* Description: The OS Construction Kit
* Date: 1.6.2000
* Idea by: Luca Abeni & Gerardo Lamastra
*
* OSLib is an SO project aimed at developing a common, easy-to-use
* low-level infrastructure for developing OS kernels and Embedded
* Applications; it partially derives from the HARTIK project but it
* currently is independently developed.
*
* OSLib is distributed under GPL License, and some of its code has
* been derived from the Linux kernel source; also some important
* ideas come from studying the DJGPP go32 extender.
*
* We acknowledge the Linux Community, Free Software Foundation,
* D.J. Delorie and all the other developers who believe in the
* freedom of software and ideas.
*
* For legalese, check out the included GPL license.
*/
 
/* Stuff needed by the Math library... It wants to set errno!!! */
 
#ifndef __LL_ERRNO_H__
#define __LL_ERRNO_H__
 
void seterrnumber(int *(*e)(void));
extern int *__errnumber1();
 
/*+ this macro refers the correct errno... +*/
#define errno (*__errnumber1())
#define __set_errno(val) ((*__errnumber1()) = (val) )
 
 
#define EDOM 33
#define EILSEQ 84
#define ERANGE 34
#endif
/shark/branches/xen/libc/arch/x86/include/arch/float.h
0,0 → 1,22
 
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
 
#ifndef __LL_FLOAT_H__
#define __LL_FLOAT_H__
#include "i386/float.h"
#endif
/shark/branches/xen/libc/arch/x86/include/arch/string.h
0,0 → 1,29
/* Project: OSLib
* Description: The OS Construction Kit
* Date: 1.6.2000
* Idea by: Luca Abeni & Gerardo Lamastra
*
* OSLib is an SO project aimed at developing a common, easy-to-use
* low-level infrastructure for developing OS kernels and Embedded
* Applications; it partially derives from the HARTIK project but it
* currently is independently developed.
*
* OSLib is distributed under GPL License, and some of its code has
* been derived from the Linux kernel source; also some important
* ideas come from studying the DJGPP go32 extender.
*
* We acknowledge the Linux Community, Free Software Foundation,
* D.J. Delorie and all the other developers who believe in the
* freedom of software and ideas.
*
* For legalese, check out the included GPL license.
*/
 
/* String operations... */
 
#ifndef __LL_STRING_H__
#define __LL_STRING_H__
#include "i386/string.h"
#include <ll/sys/types.h>
#endif
 
/shark/branches/xen/libc/arch/x86/include/arch/unistd.h
0,0 → 1,33
/* Project: OSLib
* Description: The OS Construction Kit
* Date: 1.6.2000
* Idea by: Luca Abeni & Gerardo Lamastra
*
* OSLib is an SO project aimed at developing a common, easy-to-use
* low-level infrastructure for developing OS kernels and Embedded
* Applications; it partially derives from the HARTIK project but it
* currently is independently developed.
*
* OSLib is distributed under GPL License, and some of its code has
* been derived from the Linux kernel source; also some important
* ideas come from studying the DJGPP go32 extender.
*
* We acknowledge the Linux Community, Free Software Foundation,
* D.J. Delorie and all the other developers who believe in the
* freedom of software and ideas.
*
* For legalese, check out the included GPL license.
*/
 
#ifndef __LL_UNISTD_H__
#define __LL_UNISTD_H__
 
/* _exit */
#include <ll/i386/hw-func.h>
 
/* cprintf */
#include <ll/i386/cons.h>
 
#include <ll/sys/types.h>
 
#endif /* !_SYS_UNISTD_H_ */
/shark/branches/xen/libc/arch/x86/include/arch/sys/cdefs.h
0,0 → 1,147
/*
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Berkeley Software Design, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* @(#)cdefs.h 8.7 (Berkeley) 1/21/94
*/
 
#ifndef __LL_SYS_CDEFS_H__
#define __LL_SYS_CDEFS_H__
 
#if defined(__cplusplus)
#define __BEGIN_DECLS extern "C" {
#define __END_DECLS };
#else
#define __BEGIN_DECLS
#define __END_DECLS
#endif
 
/*
* The __CONCAT macro is used to concatenate parts of symbol names, e.g.
* with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
* The __CONCAT macro is a bit tricky -- make sure you don't put spaces
* in between its arguments. __CONCAT can also concatenate double-quoted
* strings produced by the __STRING macro, but this only works with ANSI C.
*/
#if defined(__STDC__) || defined(__cplusplus)
#define __P(protos) protos /* full-blown ANSI C */
#define __CONCAT1(x,y) x ## y
#define __CONCAT(x,y) __CONCAT1(x,y)
#define __STRING(x) #x
 
#define __const const /* define reserved names to standard */
#define __signed signed
#define __volatile volatile
#if defined(__cplusplus)
#define __inline inline /* convert to C++ keyword */
#else
#ifndef __GNUC__
#define __inline /* delete GCC keyword */
#endif /* !__GNUC__ */
#endif /* !__cplusplus */
 
#else /* !(__STDC__ || __cplusplus) */
#define __P(protos) () /* traditional C preprocessor */
#define __CONCAT(x,y) x/**/y
#define __STRING(x) "x"
 
#ifndef __GNUC__
#define __const /* delete pseudo-ANSI C keywords */
#define __inline
#define __signed
#define __volatile
/*
* In non-ANSI C environments, new programs will want ANSI-only C keywords
* deleted from the program and old programs will want them left alone.
* When using a compiler other than gcc, programs using the ANSI C keywords
* const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
* When using "gcc -traditional", we assume that this is the intent; if
* __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
*/
#ifndef NO_ANSI_KEYWORDS
#define const /* delete ANSI C keywords */
#define inline
#define signed
#define volatile
#endif
#endif /* !NO_ANSI_KEYWORDS */
#endif /* !(__STDC__ || __cplusplus) */
 
/*
* GCC1 and some versions of GCC2 declare dead (non-returning) and
* pure (no side effects) functions using "volatile" and "const";
* unfortunately, these then cause warnings under "-ansi -pedantic".
* GCC2.5 uses a new, peculiar __attribute__((attrs)) style. All of
* these work for GNU C++ (modulo a slight glitch in the C++ grammar
* in the distribution version of 2.5.5).
*/
#if __GNUC__ < 2
#define __dead
#define __dead2
#define __pure
#define __pure2
#define __attribute__(x)
#endif
#if __GNUC__ == 2 && __GNUC_MINOR__ < 5
#define __dead __volatile
#define __dead2
#define __pure __const
#define __pure2
#endif
#if __GNUC__ == 2 && __GNUC_MINOR__ > 5 || __GNUC__ >= 3
#define __dead
#define __dead2 __attribute__((noreturn))
#define __pure
#define __pure2 __attribute__((const))
#endif
 
#ifdef __GNUC__
#ifdef __STDC__
#define __weak_reference(sym,alias) \
__asm__(".stabs \"_" #alias "\",11,0,0,0"); \
__asm__(".stabs \"_" #sym "\",1,0,0,0")
#define __warn_references(sym,msg) \
__asm__(".stabs \"" msg "\",30,0,0,0"); \
__asm__(".stabs \"_" #sym "\",1,0,0,0")
#else
#define __weak_reference(sym,alias) \
__asm__(".stabs \"_/**/alias\",11,0,0,0"); \
__asm__(".stabs \"_/**/sym\",1,0,0,0")
#define __warn_references(sym,msg) \
__asm__(".stabs msg,30,0,0,0"); \
__asm__(".stabs \"_/**/sym\",1,0,0,0")
#endif
#endif
 
#endif /* !_SYS_CDEFS_H_ */
/shark/branches/xen/libc/arch/x86/string/strncat.c
19,7 → 19,7
* For legalese, check out the included GPL license.
*/
 
#include <ll/i386/string.h>
#include <arch/i386/string.h>
 
FILE(strncat);
 
/shark/branches/xen/libc/arch/x86/string/special.c
19,8 → 19,8
* For legalese, check out the included GPL license.
*/
 
#include <ll/ctype.h>
#include <ll/i386/string.h>
#include <arch/ctype.h>
#include <arch/i386/string.h>
 
FILE(IsSpecial);
 
/shark/branches/xen/libc/arch/x86/string/strstr.c
19,7 → 19,7
* For legalese, check out the included GPL license.
*/
 
#include <ll/i386/string.h>
#include <arch/i386/string.h>
 
FILE(strstr);
 
/shark/branches/xen/libc/arch/x86/string/strbase.c
19,8 → 19,8
* For legalese, check out the included GPL license.
*/
 
#include <ll/ctype.h>
#include <ll/i386/string.h>
#include <arch/ctype.h>
#include <arch/i386/string.h>
 
FILE(strbase);
 
/shark/branches/xen/libc/arch/x86/string/string.c
19,7 → 19,7
* For legalese, check out the included GPL license.
*/
 
#include <ll/i386/string.h>
#include <arch/i386/string.h>
 
FILE(string);
 
/shark/branches/xen/libc/arch/x86/string/strrchr.c
19,7 → 19,7
* For legalese, check out the included GPL license.
*/
 
#include <ll/i386/string.h>
#include <arch/i386/string.h>
 
FILE(strchr);
 
/shark/branches/xen/libc/arch/x86/string/strnum.c
19,8 → 19,8
* For legalese, check out the included GPL license.
*/
 
#include <ll/ctype.h>
#include <ll/i386/string.h>
#include <arch/ctype.h>
#include <arch/i386/string.h>
 
FILE(strnum);
 
/shark/branches/xen/drivers/oldsnd/blaster.h
16,7 → 16,7
*
*/
#include "semaphore.h"
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/oldsnd/sbio.h
16,7 → 16,7
*
*/
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/oldsnd/include/drivers/dma.h
51,7 → 51,7
#ifndef __DRIVERS_DMA_H__
#define __DRIVERS_DMA_H__
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/net/netbuff.h
56,7 → 56,7
#ifndef __NETBUFF_H__
#define __NETBUFF_H__
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
#include <sem/sem/sem.h>
 
__BEGIN_DECLS
/shark/branches/xen/drivers/net/include/linux/llpci.h
1,4 → 1,4
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
extern int (*pcibios_read_config_byte)
/shark/branches/xen/drivers/net/include/linux/netdevice.h
9,7 → 9,7
#include <linux/skbuff.h>
#include <linux/notifier.h>
#include <time.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/net/include/linux/stddef.h
1,7 → 1,7
#ifndef _LINUX_STDDEF_H
#define _LINUX_STDDEF_H
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/net/include/linux/notifier.h
2,7 → 2,7
#define __NOTIFIER__
 
#include <linux/compatib.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/net/include/linux/kernel.h
2,7 → 2,7
#define __KERNEL__
 
#include <linux/compatib.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/net/include/linux/etherdevice.h
5,7 → 5,7
 
#include <linux/if_ether.h>
#include <linux/socket.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/net/include/linux/linuxpci.h
964,7 → 964,7
#define PCI_DEVICE_ID_ARK_STINGARK 0xa099
#define PCI_DEVICE_ID_ARK_2000MT 0xa0a1
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
/*
/shark/branches/xen/drivers/net/include/linux/interrupt.h
2,7 → 2,7
#define __INTERRUPT__
 
#include <linux/compatib.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/net/include/linux/compatib.h
1,6 → 1,6
#include <kernel/kern.h>
#include <stdlib.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/net/include/linux/skbuff.h
2,7 → 2,7
#define __SKBUFF__
 
#include <linux/compatib.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/net/include/linux/timer.h
52,7 → 52,7
#include <kernel/kern.h>
#include <time.h>
#include <linux/compatib.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/net/include/linux/socket.h
1,7 → 1,7
#ifndef _LINUX_SOCKET_H
#define _LINUX_SOCKET_H
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/net/include/asm/bitops.h
2,7 → 2,7
#define __BITOPS__
 
#include <linux/compatib.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/net/include/asm/io.h
2,7 → 2,7
#define __IO__
 
#include <linux/compatib.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/net/include/net/sock.h
56,7 → 56,7
#include <linux/netdevice.h>
#include <linux/skbuff.h> /* struct sk_buff */
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/net/8390.h
11,7 → 11,7
#include <linux/if_ether.h>
#include <linux/ioport.h>
#include <linux/skbuff.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/net/eth_priv.h
57,7 → 57,7
#ifndef __ETH_H__
#define __ETH_H__
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/net/arp.h
58,7 → 58,7
#ifndef __ARP_H__
#define __ARP_H__
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/parport/include/drivers/parport.h
57,7 → 57,7
#include <kernel/types.h>
#include <kernel/descr.h>
#include <math.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/fb/vesa.h
1,4 → 1,4
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
typedef struct { /* Questa struttura ci serve per definire */
BYTE red, green, blue; /* la nostra palette. */
/shark/branches/xen/drivers/fb/gdvesa.c
1,6 → 1,6
#include <ll/i386/hw-data.h>
#include <ll/i386/mem.h>
#include <ll/i386/string.h>
#include <arch/i386/string.h>
#include <ll/i386/x-dos.h>
#include <ll/i386/x-dosmem.h>
#include <ll/i386/cons.h>
/shark/branches/xen/drivers/block/sstf/sstf.h
42,7 → 42,7
 
#include "phdsk.h"
#include "glue.h"
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/block/fcfs/fcfs.h
42,7 → 42,7
 
#include "phdsk.h"
#include "glue.h"
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/block/glue.h
37,7 → 37,7
*/
#include <kernel/int_sem.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
136,7 → 136,7
 
/* timer functions */
 
#include <ll/time.h>
#include <arch/time.h>
 
/* all in usec */
 
/shark/branches/xen/drivers/block/ide.h
57,7 → 57,7
#include "glue.h"
#include "bdev.h"
#include "bqueue.h"
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/block/edf/edf.h
42,7 → 42,7
 
#include "phdsk.h"
#include "glue.h"
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/block/idereq.h
22,7 → 22,7
 
#include "bqueue.h"
#include "glue.h"
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/block/phdsk.h
49,7 → 49,7
#define __PHDSK_H__
 
#include "glue.h"
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/block/lodsk.h
50,7 → 50,7
#define __LODSK_H__
 
#include "glue.h"
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/block/ideglue.h
18,7 → 18,7
 
#ifndef __IDEGLUE_H
#define __IDEGLUE_H
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/block/look/look.h
42,7 → 42,7
 
#include "phdsk.h"
#include "glue.h"
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/block/pscan/pscan.h
42,7 → 42,7
 
#include "phdsk.h"
#include "glue.h"
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/block/bdev.h
52,7 → 52,7
#include "glue.h"
#include <fs/bdevinit.h>
#include <fs/bdev.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/block/clook/clook.h
43,7 → 43,7
 
#include "phdsk.h"
#include "glue.h"
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/block/debug.h
16,7 → 16,7
*
*/
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/block/bqueue.h
74,7 → 74,7
#include "pscan/pscan.h"
#endif
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/pci6025e/include/drivers/pci6025e/pci6025e.h
37,7 → 37,7
 
#include "regconst.h"
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/pci6025e/include/drivers/pci6025e/timer.h
37,7 → 37,7
 
#include <drivers/pci6025e/pci6025e.h>
#include <drivers/pci6025e/regconst.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/pci6025e/include/drivers/pci6025e/dio_ppi.h
34,7 → 34,7
#define _MY_DIO_H_
 
#include <drivers/pci6025e/pci6025e.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/pci6025e/include/drivers/pci6025e/adc.h
33,7 → 33,7
 
#include <drivers/pci6025e/pci6025e.h>
#include <drivers/pci6025e/regconst.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/pci6025e/include/drivers/pci6025e/dac.h
33,7 → 33,7
 
#include <drivers/pci6025e/pci6025e.h>
#include <drivers/pci6025e/regconst.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/grx/include/drivers/gd.h
54,7 → 54,7
#include <ll/sys/types.h>
/* Std 16 colors... are in cons.h !!!*/
#include <ll/i386/cons.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/grx/include/drivers/glib.h
54,7 → 54,7
 
#include <ll/sys/types.h>
#include <drivers/gd.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/grx/drawfun/fun16.c
19,7 → 19,7
#include <ll/i386/hw-data.h>
#include <ll/i386/hw-instr.h>
#include <ll/i386/mem.h>
#include <ll/stdlib.h>
#include <arch/stdlib.h>
 
#include <drivers/gd.h>
 
/shark/branches/xen/drivers/grx/drawfun/fun8.c
19,7 → 19,7
#include <ll/i386/hw-data.h>
#include <ll/i386/hw-instr.h>
#include <ll/i386/mem.h>
#include <ll/stdlib.h>
#include <arch/stdlib.h>
 
#include <drivers/gd.h>
 
/shark/branches/xen/drivers/grx/drawfun/fun16.h
16,7 → 16,7
*
*/
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
#define memsetw(addr, val, n) {LIN_ADDR i; for(i = addr; i < addr + n; i += 2) lmempokew(i, val);}
/shark/branches/xen/drivers/grx/drawfun/fun8.h
16,7 → 16,7
*
*/
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
void RdWin_256(WORD x1, WORD y1, WORD x2, WORD y2, BYTE *buf);
/shark/branches/xen/drivers/grx/drivers/trident.h
16,7 → 16,7
*
*/
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
int trident_test(void);
/shark/branches/xen/drivers/grx/drivers/vesa.h
17,7 → 17,7
*/
 
#include <ll/i386/x-dos.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/grx/drivers/gdvesa.c
18,7 → 18,7
 
#include <ll/i386/hw-data.h>
#include <ll/i386/mem.h>
#include <ll/i386/string.h>
#include <arch/i386/string.h>
#include <ll/i386/x-dos.h>
#include <ll/i386/x-dosmem.h>
#include <ll/i386/cons.h>
/shark/branches/xen/drivers/grx/drivers/gdvesa1.c
18,7 → 18,7
 
#include <ll/i386/hw-data.h>
#include <ll/i386/mem.h>
#include <ll/i386/string.h>
#include <arch/i386/string.h>
#include <ll/i386/x-dos.h>
#include <ll/i386/x-dosmem.h>
#include <ll/i386/cons.h>
/shark/branches/xen/drivers/grx/drivers/s3.h
16,7 → 16,7
*
*/
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
int s3_test(void);
/shark/branches/xen/drivers/grx/glib.c
18,7 → 18,7
 
#include <ll/i386/hw-data.h>
#include <ll/i386/mem.h>
#include <ll/i386/string.h>
#include <arch/i386/string.h>
#include <ll/i386/error.h>
#include <ll/sys/ll/ll-func.h>
 
/shark/branches/xen/drivers/cons/cons1.c
25,10 → 25,10
#include <ll/i386/hw-instr.h>
#include <ll/i386/cons.h>
/* #include <xsys.h>*/
#include <ll/i386/string.h>
#include <ll/i386/stdlib.h>
#include <ll/i386/stdio.h>
#include <ll/stdarg.h>
#include <arch/i386/string.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/stdio.h>
#include <arch/stdarg.h>
 
FILE(Cons1);
/* CGA compatible registers value */
/shark/branches/xen/drivers/cons/cons2.c
25,10 → 25,10
#include <ll/i386/hw-instr.h>
#include <ll/i386/cons.h>
/* #include <xsys.h>*/
#include <ll/i386/string.h>
#include <ll/i386/stdlib.h>
#include <ll/i386/stdio.h>
#include <ll/stdarg.h>
#include <arch/i386/string.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/stdio.h>
#include <arch/stdarg.h>
 
FILE(Cons2);
 
/shark/branches/xen/drivers/cons/message.c
24,10 → 24,10
#include <ll/i386/hw-data.h>
#include <ll/i386/hw-instr.h>
#include <ll/i386/cons.h>
#include <ll/i386/string.h>
#include <ll/i386/stdlib.h>
#include <ll/i386/stdio.h>
#include <ll/stdarg.h>
#include <arch/i386/string.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/stdio.h>
#include <arch/stdarg.h>
 
FILE(message);
 
/shark/branches/xen/drivers/cons/cprintf.c
24,10 → 24,10
#include <ll/i386/hw-data.h>
#include <ll/i386/hw-instr.h>
#include <ll/i386/cons.h>
#include <ll/i386/string.h>
#include <ll/i386/stdlib.h>
#include <ll/i386/stdio.h>
#include <ll/stdarg.h>
#include <arch/i386/string.h>
#include <arch/i386/stdlib.h>
#include <arch/i386/stdio.h>
#include <arch/stdarg.h>
 
FILE(cprintf);
 
/shark/branches/xen/drivers/cons/crtwin.c
60,7 → 60,7
//#include <cons.h>
 
#include <kernel/kern.h>
#include <ll/string.h>
#include <arch/string.h>
#include <drivers/crtwin.h>
 
#define CUPS1 201 /* Definizione caratteri per */
/shark/branches/xen/drivers/pcl812/include/drivers/pclab.h
3,7 → 3,7
/* le funzioni di aquisizione contenute in PCLAB.C */
/*--------------------------------------------------------------*/
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/linuxc26/kobject.c
12,7 → 12,7
 
#undef DEBUG
 
#include <ll/stdarg.h>
#include <arch/stdarg.h>
 
#include <linuxcomp.h>
 
/shark/branches/xen/drivers/oldchar/8042.h
63,7 → 63,7
#ifndef __8042_H__
#define __8042_H__
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/oldchar/include/drivers/mouse.h
76,7 → 76,7
 
#include <kernel/const.h>
 
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/oldchar/ps2mouse.h
59,7 → 59,7
#define __PS2MOUSE_H__
 
#include <drivers/mouse.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/oldchar/sermouse.h
59,7 → 59,7
#define __SERMOUSE_H__
 
#include <drivers/mouse.h>
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS
 
/shark/branches/xen/drivers/oldchar/_mouse.h
52,7 → 52,7
 
#ifndef ___MOUSE_H__
#define ___MOUSE_H__
#include "ll/sys/cdefs.h"
#include <arch/sys/cdefs.h>
 
__BEGIN_DECLS