Fixes due to the team/thread.h separation and minor header cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6998 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
#include <khash.h>
|
#include <khash.h>
|
||||||
#include <lock.h>
|
#include <lock.h>
|
||||||
#include <vm.h>
|
#include <vm.h>
|
||||||
#include <thread.h>
|
#include <team.h>
|
||||||
|
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
/* User Runtime Loader support in the kernel
|
/* User Runtime Loader support in the kernel
|
||||||
**
|
**
|
||||||
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
|
** Copyright 2003-2004, Axel Dörfler, [email protected]. All rights reserved.
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
** Distributed under the terms of the OpenBeOS License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <KernelExport.h>
|
#include <KernelExport.h>
|
||||||
#include <kimage.h>
|
#include <kimage.h>
|
||||||
#include <thread_types.h>
|
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
|
#include <team.h>
|
||||||
|
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@@ -8,9 +8,9 @@
|
|||||||
** Distributed under the terms of the NewOS License.
|
** Distributed under the terms of the NewOS License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <OS.h>
|
||||||
|
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
#include <Errors.h>
|
|
||||||
#include <kernel.h>
|
|
||||||
#include <console.h>
|
#include <console.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <arch/faults.h>
|
#include <arch/faults.h>
|
||||||
@@ -19,7 +19,6 @@
|
|||||||
#include <vm.h>
|
#include <vm.h>
|
||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
#include <smp.h>
|
#include <smp.h>
|
||||||
#include <OS.h>
|
|
||||||
#include <sem.h>
|
#include <sem.h>
|
||||||
#include <port.h>
|
#include <port.h>
|
||||||
#include <vfs.h>
|
#include <vfs.h>
|
||||||
@@ -31,6 +30,7 @@
|
|||||||
#include <bus.h>
|
#include <bus.h>
|
||||||
#include <kmodule.h>
|
#include <kmodule.h>
|
||||||
#include <int.h>
|
#include <int.h>
|
||||||
|
#include <team.h>
|
||||||
#include <real_time_clock.h>
|
#include <real_time_clock.h>
|
||||||
#include <kernel_daemon.h>
|
#include <kernel_daemon.h>
|
||||||
|
|
||||||
|
|||||||
@@ -3,16 +3,16 @@
|
|||||||
/*
|
/*
|
||||||
** Copyright 2002-2004, The OpenBeOS Team. All rights reserved.
|
** Copyright 2002-2004, The OpenBeOS Team. All rights reserved.
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
** Distributed under the terms of the OpenBeOS License.
|
||||||
*/
|
**
|
||||||
|
|
||||||
/*
|
|
||||||
** Copyright 2001, Mark-Jan Bastian. All rights reserved.
|
** Copyright 2001, Mark-Jan Bastian. All rights reserved.
|
||||||
** Distributed under the terms of the NewOS License.
|
** Distributed under the terms of the NewOS License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
|
|
||||||
#include <port.h>
|
#include <port.h>
|
||||||
#include <sem.h>
|
#include <sem.h>
|
||||||
|
#include <team.h>
|
||||||
#include <util/list.h>
|
#include <util/list.h>
|
||||||
#include <arch/int.h>
|
#include <arch/int.h>
|
||||||
#include <cbuf.h>
|
#include <cbuf.h>
|
||||||
|
|||||||
@@ -3,25 +3,20 @@
|
|||||||
/*
|
/*
|
||||||
** Copyright 2002-2004, The OpenBeOS Team. All rights reserved.
|
** Copyright 2002-2004, The OpenBeOS Team. All rights reserved.
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
** Distributed under the terms of the OpenBeOS License.
|
||||||
*/
|
**
|
||||||
|
|
||||||
/*
|
|
||||||
** Copyright 2001, Travis Geiselbrecht. All rights reserved.
|
** Copyright 2001, Travis Geiselbrecht. All rights reserved.
|
||||||
** Distributed under the terms of the NewOS License.
|
** Distributed under the terms of the NewOS License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <kernel.h>
|
|
||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
|
|
||||||
#include <sem.h>
|
#include <sem.h>
|
||||||
#include <smp.h>
|
#include <smp.h>
|
||||||
#include <int.h>
|
#include <int.h>
|
||||||
#include <arch/int.h>
|
#include <arch/int.h>
|
||||||
#include <timer.h>
|
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <malloc.h>
|
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <Errors.h>
|
#include <team.h>
|
||||||
|
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
/* POSIX signals handling routines
|
/* POSIX signals handling routines
|
||||||
**
|
**
|
||||||
** Copyright 2002, Angelo Mottola, a.mottola@libero.it. All rights reserved.
|
** Copyright 2002, Angelo Mottola, a.mottola@libero.it. All rights reserved.
|
||||||
|
** Copyright 2002-2004, The OpenBeOS Team. All rights reserved.
|
||||||
|
**
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
** Distributed under the terms of the OpenBeOS License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -8,7 +10,7 @@
|
|||||||
#include <KernelExport.h>
|
#include <KernelExport.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <arch/thread.h>
|
#include <team.h>
|
||||||
#include <int.h>
|
#include <int.h>
|
||||||
#include <sem.h>
|
#include <sem.h>
|
||||||
#include <ksignal.h>
|
#include <ksignal.h>
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
#include <KernelExport.h>
|
#include <KernelExport.h>
|
||||||
|
|
||||||
#include <kerrors.h>
|
#include <kerrors.h>
|
||||||
#include <kernel.h>
|
|
||||||
#include <vm.h>
|
#include <vm.h>
|
||||||
#include <vm_priv.h>
|
#include <vm_priv.h>
|
||||||
#include <vm_page.h>
|
#include <vm_page.h>
|
||||||
@@ -25,6 +25,7 @@
|
|||||||
#include <lock.h>
|
#include <lock.h>
|
||||||
#include <khash.h>
|
#include <khash.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
|
#include <team.h>
|
||||||
|
|
||||||
#include <boot/stage2.h>
|
#include <boot/stage2.h>
|
||||||
|
|
||||||
@@ -493,6 +494,7 @@ vm_create_anonymous_region(aspace_id aid, const char *name, void **address,
|
|||||||
/* check parameters */
|
/* check parameters */
|
||||||
if (addr_type != REGION_ADDR_ANY_ADDRESS && addr_type != REGION_ADDR_EXACT_ADDRESS)
|
if (addr_type != REGION_ADDR_ANY_ADDRESS && addr_type != REGION_ADDR_EXACT_ADDRESS)
|
||||||
return B_BAD_VALUE;
|
return B_BAD_VALUE;
|
||||||
|
|
||||||
switch (wiring) {
|
switch (wiring) {
|
||||||
case REGION_WIRING_WIRED:
|
case REGION_WIRING_WIRED:
|
||||||
case REGION_WIRING_WIRED_ALREADY:
|
case REGION_WIRING_WIRED_ALREADY:
|
||||||
|
|||||||
Reference in New Issue
Block a user