Updated because of header changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10439 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a1d0963176
commit
84a910b64f
@ -1,10 +1,10 @@
|
||||
/*
|
||||
** Copyright 2002-2004, The Haiku Team. All rights reserved.
|
||||
** Distributed under the terms of the Haiku License.
|
||||
**
|
||||
** Copyright 2002, Travis Geiselbrecht. All rights reserved.
|
||||
** Distributed under the terms of the NewOS License.
|
||||
*/
|
||||
* Copyright 2002-2004, Axel Dörfler, axeld@pinc-software.de.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Copyright 2002, Travis Geiselbrecht. All rights reserved.
|
||||
* Distributed under the terms of the NewOS License.
|
||||
*/
|
||||
|
||||
/* This file contains the cpu functions (init, etc). */
|
||||
|
||||
|
@ -894,7 +894,7 @@ elf_lookup_symbol_address(addr_t address, addr_t *_baseAddress, const char **_sy
|
||||
TRACE(("looking up %p\n", (void *)address));
|
||||
|
||||
mutex_lock(&sImageMutex);
|
||||
|
||||
|
||||
image = find_image_at_address(address);
|
||||
// get image that may contain the address
|
||||
|
||||
|
@ -1,12 +1,15 @@
|
||||
/* User Runtime Loader support in the kernel
|
||||
**
|
||||
** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
||||
** Distributed under the terms of the Haiku License.
|
||||
*/
|
||||
/*
|
||||
* Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
/* User Runtime Loader support in the kernel */
|
||||
|
||||
|
||||
#include <KernelExport.h>
|
||||
#include <kernel.h>
|
||||
#include <kimage.h>
|
||||
#include <lock.h>
|
||||
#include <thread.h>
|
||||
#include <team.h>
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <lock.h>
|
||||
#include <khash.h>
|
||||
#include <elf.h>
|
||||
#include <vfs.h>
|
||||
#include <boot/elf.h>
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <OS.h>
|
||||
|
||||
#include <port.h>
|
||||
#include <kernel.h>
|
||||
#include <sem.h>
|
||||
#include <team.h>
|
||||
#include <util/list.h>
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include <arch/real_time_clock.h>
|
||||
#include <real_time_clock.h>
|
||||
#include <real_time_data.h>
|
||||
#include <vm_types.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
@ -1,13 +1,15 @@
|
||||
/*
|
||||
** Copyright 2002-2004, The Haiku Team. All rights reserved.
|
||||
** Distributed under the terms of the Haiku License.
|
||||
**
|
||||
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
||||
** Distributed under the terms of the NewOS License.
|
||||
*/
|
||||
* Copyright 2002-2004, Axel Dörfler, axeld@pinc-software.de.
|
||||
* Copyright 2002, Angelo Mottola, a.mottola@libero.it.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
||||
* Distributed under the terms of the NewOS License.
|
||||
*/
|
||||
|
||||
/* The thread scheduler */
|
||||
|
||||
|
||||
#include <OS.h>
|
||||
|
||||
#include <thread.h>
|
||||
@ -16,6 +18,7 @@
|
||||
#include <smp.h>
|
||||
#include <cpu.h>
|
||||
#include <khash.h>
|
||||
#include <debug.h>
|
||||
|
||||
|
||||
//#define TRACE_SCHEDULER
|
||||
|
@ -1,16 +1,18 @@
|
||||
/*
|
||||
** Copyright 2002-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
||||
** Distributed under the terms of the Haiku License.
|
||||
**
|
||||
** Copyright 2001, Travis Geiselbrecht. All rights reserved.
|
||||
** Distributed under the terms of the NewOS License.
|
||||
*/
|
||||
* Copyright 2002-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Copyright 2001, Travis Geiselbrecht. All rights reserved.
|
||||
* Distributed under the terms of the NewOS License.
|
||||
*/
|
||||
|
||||
/* Semaphore code */
|
||||
|
||||
|
||||
#include <OS.h>
|
||||
|
||||
#include <sem.h>
|
||||
#include <kernel.h>
|
||||
#include <smp.h>
|
||||
#include <int.h>
|
||||
#include <arch/int.h>
|
||||
@ -22,8 +24,8 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define TRACE_SEM 0
|
||||
#if TRACE_SEM
|
||||
//#define TRACE_SEM
|
||||
#ifdef TRACE_SEM
|
||||
# define TRACE(x) dprintf x
|
||||
# define TRACE_BLOCK(x) dprintf x
|
||||
#else
|
||||
|
@ -11,8 +11,8 @@
|
||||
#include <int.h>
|
||||
#include <debug.h>
|
||||
#include <vfs.h>
|
||||
#include <vm.h>
|
||||
#include <thread.h>
|
||||
#include <OS.h>
|
||||
#include <sem.h>
|
||||
#include <port.h>
|
||||
#include <cpu.h>
|
||||
|
@ -21,6 +21,10 @@
|
||||
#include <syscalls.h>
|
||||
#include <syscall_process_info.h>
|
||||
#include <tls.h>
|
||||
#include <defines.h>
|
||||
#include <kernel.h>
|
||||
#include <vm.h>
|
||||
#include <vfs.h>
|
||||
|
||||
#include <sys/wait.h>
|
||||
#include <string.h>
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include <ksignal.h>
|
||||
#include <syscalls.h>
|
||||
#include <tls.h>
|
||||
#include <vfs.h>
|
||||
|
||||
#include <sys/resource.h>
|
||||
#include <string.h>
|
||||
|
Loading…
Reference in New Issue
Block a user