* Moved the VM headers into subdirectory vm/.
* Renamed vm_cache.h/vm_address_space.h to VMCache.h/VMAddressSpace. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34449 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
939b3801ea
commit
e50cf8765b
@ -5,7 +5,7 @@
|
|||||||
#ifndef ARCH_ARM_VM_H
|
#ifndef ARCH_ARM_VM_H
|
||||||
#define ARCH_ARM_VM_H
|
#define ARCH_ARM_VM_H
|
||||||
|
|
||||||
//#include <vm_translation_map.h>
|
//#include <vm/vm_translation_map.h>
|
||||||
|
|
||||||
/* This many pages will be read/written on I/O if possible */
|
/* This many pages will be read/written on I/O if possible */
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#ifndef ARCH_M68K_VM_H
|
#ifndef ARCH_M68K_VM_H
|
||||||
#define ARCH_M68K_VM_H
|
#define ARCH_M68K_VM_H
|
||||||
|
|
||||||
#include <vm_translation_map.h>
|
#include <vm/vm_translation_map.h>
|
||||||
|
|
||||||
/* This many pages will be read/written on I/O if possible */
|
/* This many pages will be read/written on I/O if possible */
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#define KERNEL_ARCH_VM_TRANSLATION_MAP_H
|
#define KERNEL_ARCH_VM_TRANSLATION_MAP_H
|
||||||
|
|
||||||
|
|
||||||
#include <vm_translation_map.h>
|
#include <vm/vm_translation_map.h>
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <vfs.h>
|
#include <vfs.h>
|
||||||
#include <vm_types.h>
|
#include <vm/vm_types.h>
|
||||||
#include <module.h>
|
#include <module.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#define _SYSCALL_ARGS_H
|
#define _SYSCALL_ARGS_H
|
||||||
|
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
//#include <vm.h>
|
|
||||||
|
|
||||||
// Hack to be able to use the IS_USER_ADDRESS macro when compiling for R5.
|
// Hack to be able to use the IS_USER_ADDRESS macro when compiling for R5.
|
||||||
#ifdef R5_MEMORY_LAYOUT
|
#ifdef R5_MEMORY_LAYOUT
|
||||||
@ -34,4 +34,5 @@ copy_ref_var_to_user(T &kernel, T *user)
|
|||||||
return user_memcpy(user, &kernel, sizeof(T));
|
return user_memcpy(user, &kernel, sizeof(T));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif // _SYSCALL_ARGS_H
|
#endif // _SYSCALL_ARGS_H
|
||||||
|
@ -6,13 +6,13 @@
|
|||||||
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
||||||
* Distributed under the terms of the NewOS License.
|
* Distributed under the terms of the NewOS License.
|
||||||
*/
|
*/
|
||||||
#ifndef _KERNEL_VM_ADDRESS_SPACE_H
|
#ifndef _KERNEL_VM_VM_ADDRESS_SPACE_H
|
||||||
#define _KERNEL_VM_ADDRESS_SPACE_H
|
#define _KERNEL_VM_VM_ADDRESS_SPACE_H
|
||||||
|
|
||||||
|
|
||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
|
|
||||||
#include <vm_translation_map.h>
|
#include <vm/vm_translation_map.h>
|
||||||
|
|
||||||
|
|
||||||
struct VMArea;
|
struct VMArea;
|
||||||
@ -115,4 +115,4 @@ status_t vm_delete_areas(struct VMAddressSpace *aspace);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif /* _KERNEL_VM_ADDRESS_SPACE_H */
|
#endif /* _KERNEL_VM_VM_ADDRESS_SPACE_H */
|
@ -5,12 +5,12 @@
|
|||||||
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
||||||
* Distributed under the terms of the NewOS License.
|
* Distributed under the terms of the NewOS License.
|
||||||
*/
|
*/
|
||||||
#ifndef _KERNEL_VM_CACHE_H
|
#ifndef _KERNEL_VM_VM_CACHE_H
|
||||||
#define _KERNEL_VM_CACHE_H
|
#define _KERNEL_VM_VM_CACHE_H
|
||||||
|
|
||||||
|
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
|
|
||||||
struct kernel_args;
|
struct kernel_args;
|
||||||
@ -28,4 +28,4 @@ struct VMCache *vm_cache_acquire_locked_page_cache(struct vm_page *page,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _KERNEL_VM_CACHE_H */
|
#endif /* _KERNEL_VM_VM_CACHE_H */
|
@ -5,8 +5,8 @@
|
|||||||
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
||||||
* Distributed under the terms of the NewOS License.
|
* Distributed under the terms of the NewOS License.
|
||||||
*/
|
*/
|
||||||
#ifndef _KERNEL_VM_H
|
#ifndef _KERNEL_VM_VM_H
|
||||||
#define _KERNEL_VM_H
|
#define _KERNEL_VM_VM_H
|
||||||
|
|
||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
|
|
||||||
@ -154,4 +154,4 @@ status_t _user_unreserve_address_range(addr_t address, addr_t size);
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _KERNEL_VM_H */
|
#endif /* _KERNEL_VM_VM_H */
|
@ -5,11 +5,11 @@
|
|||||||
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
||||||
* Distributed under the terms of the NewOS License.
|
* Distributed under the terms of the NewOS License.
|
||||||
*/
|
*/
|
||||||
#ifndef _KERNEL_VM_PAGE_H
|
#ifndef _KERNEL_VM_VM_PAGE_H
|
||||||
#define _KERNEL_VM_PAGE_H
|
#define _KERNEL_VM_VM_PAGE_H
|
||||||
|
|
||||||
|
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
|
|
||||||
struct kernel_args;
|
struct kernel_args;
|
||||||
@ -62,4 +62,4 @@ struct vm_page *vm_lookup_page(addr_t pageNumber);
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _KERNEL_VM_PAGE_H */
|
#endif /* _KERNEL_VM_VM_PAGE_H */
|
@ -5,11 +5,11 @@
|
|||||||
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
||||||
* Distributed under the terms of the NewOS License.
|
* Distributed under the terms of the NewOS License.
|
||||||
*/
|
*/
|
||||||
#ifndef _KERNEL_VM_PRIV_H
|
#ifndef _KERNEL_VM_VM_PRIV_H
|
||||||
#define _KERNEL_VM_PRIV_H
|
#define _KERNEL_VM_VM_PRIV_H
|
||||||
|
|
||||||
|
|
||||||
#include <vm_types.h>
|
#include <vm/vm_types.h>
|
||||||
|
|
||||||
|
|
||||||
// reserved area definitions
|
// reserved area definitions
|
||||||
@ -41,5 +41,4 @@ const char *page_state_to_string(int state);
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _KERNEL_VM_PRIV_H */
|
#endif /* _KERNEL_VM_VM_PRIV_H */
|
||||||
|
|
@ -5,8 +5,8 @@
|
|||||||
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
||||||
* Distributed under the terms of the NewOS License.
|
* Distributed under the terms of the NewOS License.
|
||||||
*/
|
*/
|
||||||
#ifndef KERNEL_VM_TRANSLATION_MAP_H
|
#ifndef KERNEL_VM_VM_TRANSLATION_MAP_H
|
||||||
#define KERNEL_VM_TRANSLATION_MAP_H
|
#define KERNEL_VM_VM_TRANSLATION_MAP_H
|
||||||
|
|
||||||
|
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
@ -73,4 +73,4 @@ typedef struct vm_translation_map_ops {
|
|||||||
|
|
||||||
#include <arch/vm_translation_map.h>
|
#include <arch/vm_translation_map.h>
|
||||||
|
|
||||||
#endif /* KERNEL_VM_TRANSLATION_MAP_H */
|
#endif /* KERNEL_VM_VM_TRANSLATION_MAP_H */
|
@ -6,8 +6,8 @@
|
|||||||
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
||||||
* Distributed under the terms of the NewOS License.
|
* Distributed under the terms of the NewOS License.
|
||||||
*/
|
*/
|
||||||
#ifndef _KERNEL_VM_TYPES_H
|
#ifndef _KERNEL_VM_VM_TYPES_H
|
||||||
#define _KERNEL_VM_TYPES_H
|
#define _KERNEL_VM_VM_TYPES_H
|
||||||
|
|
||||||
|
|
||||||
#include <arch/vm_types.h>
|
#include <arch/vm_types.h>
|
||||||
@ -314,4 +314,4 @@ struct VMArea {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // _KERNEL_VM_TYPES_H
|
#endif // _KERNEL_VM_VM_TYPES_H
|
@ -130,7 +130,7 @@
|
|||||||
|
|
||||||
#include <dpc.h>
|
#include <dpc.h>
|
||||||
#include <PCI.h>
|
#include <PCI.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
|
|
||||||
extern pci_module_info *gPCIManager;
|
extern pci_module_info *gPCIManager;
|
||||||
|
@ -33,8 +33,8 @@
|
|||||||
#include <util/OpenHashTable.h>
|
#include <util/OpenHashTable.h>
|
||||||
#ifdef __HAIKU__
|
#ifdef __HAIKU__
|
||||||
# include <kernel/lock.h>
|
# include <kernel/lock.h>
|
||||||
# include <vm_page.h>
|
# include <vm/vm_page.h>
|
||||||
# include <vm_types.h>
|
# include <vm/vm_types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <lock.h>
|
#include <lock.h>
|
||||||
|
@ -990,7 +990,7 @@ ATAChannel::_TransferPIOBlock(ATARequest *request, size_t length,
|
|||||||
|
|
||||||
|
|
||||||
// TODO: this should not be necessary, we could directly use virtual addresses
|
// TODO: this should not be necessary, we could directly use virtual addresses
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
#include "ATAPrivate.h"
|
#include "ATAPrivate.h"
|
||||||
|
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#include "ide_internal.h"
|
#include "ide_internal.h"
|
||||||
#include "ide_sim.h"
|
#include "ide_sim.h"
|
||||||
|
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
#include "ide_sim.h"
|
#include "ide_sim.h"
|
||||||
|
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include "scsi_internal.h"
|
#include "scsi_internal.h"
|
||||||
#include "KernelExport_ext.h"
|
#include "KernelExport_ext.h"
|
||||||
|
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
#include "scsi_internal.h"
|
#include "scsi_internal.h"
|
||||||
|
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#include <KernelExport.h>
|
#include <KernelExport.h>
|
||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#include <frame_buffer_console.h>
|
#include <frame_buffer_console.h>
|
||||||
#include <util/kernel_cpp.h>
|
#include <util/kernel_cpp.h>
|
||||||
#include <arch/x86/vm86.h>
|
#include <arch/x86/vm86.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
#include "driver.h"
|
#include "driver.h"
|
||||||
#include "utility.h"
|
#include "utility.h"
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#include <arch/debug_console.h>
|
#include <arch/debug_console.h>
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <arch/arm/uart.h>
|
#include <arch/arm/uart.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -26,9 +26,9 @@
|
|||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
#include <util/DoublyLinkedList.h>
|
#include <util/DoublyLinkedList.h>
|
||||||
#include <util/kernel_cpp.h>
|
#include <util/kernel_cpp.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_priv.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#warning M68K: writeme!
|
#warning M68K: writeme!
|
||||||
|
@ -18,8 +18,8 @@
|
|||||||
#include <boot/stage2.h>
|
#include <boot/stage2.h>
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_types.h>
|
||||||
#include <vm_types.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
#include <arch_vm.h>
|
#include <arch_vm.h>
|
||||||
//#include <arch/vm_translation_map.h>
|
//#include <arch/vm_translation_map.h>
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
|
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_types.h>
|
#include <vm/vm_types.h>
|
||||||
#include <arch/vm.h>
|
#include <arch/vm.h>
|
||||||
//#include <arch_mmu.h>
|
//#include <arch_mmu.h>
|
||||||
|
|
||||||
|
@ -11,9 +11,9 @@
|
|||||||
|
|
||||||
#include <KernelExport.h>
|
#include <KernelExport.h>
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_priv.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
#include <int.h>
|
#include <int.h>
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
#include <arch/vm_translation_map.h>
|
#include <arch/vm_translation_map.h>
|
||||||
|
@ -9,9 +9,9 @@
|
|||||||
|
|
||||||
#include "generic_vm_physical_page_mapper.h"
|
#include "generic_vm_physical_page_mapper.h"
|
||||||
|
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_page.h>
|
||||||
#include <vm_page.h>
|
#include <vm/vm_priv.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <util/queue.h>
|
#include <util/queue.h>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include "generic_vm_physical_page_ops.h"
|
#include "generic_vm_physical_page_ops.h"
|
||||||
|
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#include <arch/debug_console.h>
|
#include <arch/debug_console.h>
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -26,9 +26,9 @@
|
|||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
#include <util/DoublyLinkedList.h>
|
#include <util/DoublyLinkedList.h>
|
||||||
#include <util/kernel_cpp.h>
|
#include <util/kernel_cpp.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_priv.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#warning M68K: writeme!
|
#warning M68K: writeme!
|
||||||
|
@ -18,8 +18,8 @@
|
|||||||
#include <boot/stage2.h>
|
#include <boot/stage2.h>
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_types.h>
|
||||||
#include <vm_types.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
#include <arch_vm.h>
|
#include <arch_vm.h>
|
||||||
//#include <arch/vm_translation_map.h>
|
//#include <arch/vm_translation_map.h>
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
|
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_types.h>
|
#include <vm/vm_types.h>
|
||||||
#include <arch/vm.h>
|
#include <arch/vm.h>
|
||||||
#include <arch_mmu.h>
|
#include <arch_mmu.h>
|
||||||
|
|
||||||
|
@ -11,9 +11,9 @@
|
|||||||
|
|
||||||
#include <KernelExport.h>
|
#include <KernelExport.h>
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_priv.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
#include <int.h>
|
#include <int.h>
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
#include <arch/vm_translation_map.h>
|
#include <arch/vm_translation_map.h>
|
||||||
|
@ -43,10 +43,10 @@
|
|||||||
#include <KernelExport.h>
|
#include <KernelExport.h>
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <heap.h>
|
#include <heap.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_page.h>
|
||||||
#include <vm_page.h>
|
#include <vm/vm_priv.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
#include <int.h>
|
#include <int.h>
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
#include <arch/vm_translation_map.h>
|
#include <arch/vm_translation_map.h>
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#include <arch/debug_console.h>
|
#include <arch/debug_console.h>
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <arch/arm/uart.h>
|
#include <arch/arm/uart.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -24,9 +24,9 @@
|
|||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
#include <util/DoublyLinkedList.h>
|
#include <util/DoublyLinkedList.h>
|
||||||
#include <util/kernel_cpp.h>
|
#include <util/kernel_cpp.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_priv.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
#include <boot/stage2.h>
|
#include <boot/stage2.h>
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_types.h>
|
||||||
#include <vm_types.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
#include <arch_vm.h>
|
#include <arch_vm.h>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
|
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_types.h>
|
#include <vm/vm_types.h>
|
||||||
#include <arch/vm.h>
|
#include <arch/vm.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
|
|
||||||
#include <KernelExport.h>
|
#include <KernelExport.h>
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_priv.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
#include <int.h>
|
#include <int.h>
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
#include <arch/vm_translation_map.h>
|
#include <arch/vm_translation_map.h>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#include <arch/debug_console.h>
|
#include <arch/debug_console.h>
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -22,9 +22,9 @@
|
|||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
#include <util/DoublyLinkedList.h>
|
#include <util/DoublyLinkedList.h>
|
||||||
#include <util/kernel_cpp.h>
|
#include <util/kernel_cpp.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_priv.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
#include <boot/stage2.h>
|
#include <boot/stage2.h>
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_types.h>
|
||||||
#include <vm_types.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
//#include <arch/vm_translation_map.h>
|
//#include <arch/vm_translation_map.h>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
|
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <arch/vm.h>
|
#include <arch/vm.h>
|
||||||
#include <arch_mmu.h>
|
#include <arch_mmu.h>
|
||||||
|
|
||||||
|
@ -73,9 +73,9 @@
|
|||||||
|
|
||||||
#include <KernelExport.h>
|
#include <KernelExport.h>
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_priv.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
#include <int.h>
|
#include <int.h>
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
#include <arch/vm_translation_map.h>
|
#include <arch/vm_translation_map.h>
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
#include <elf.h>
|
#include <elf.h>
|
||||||
#include <smp.h>
|
#include <smp.h>
|
||||||
#include <tls.h>
|
#include <tls.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_types.h>
|
||||||
#include <vm_types.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
|
|
||||||
#include <arch_system_info.h>
|
#include <arch_system_info.h>
|
||||||
#include <arch/x86/selector.h>
|
#include <arch/x86/selector.h>
|
||||||
|
@ -20,9 +20,9 @@
|
|||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <kimage.h>
|
#include <kimage.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_types.h>
|
||||||
#include <vm_types.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
|
|
||||||
#include <arch_cpu.h>
|
#include <arch_cpu.h>
|
||||||
|
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
#include <smp.h>
|
#include <smp.h>
|
||||||
#include <team.h>
|
#include <team.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/vm_priv.h>
|
||||||
|
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <arch/int.h>
|
#include <arch/int.h>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <int.h>
|
#include <int.h>
|
||||||
#include <smp.h>
|
#include <smp.h>
|
||||||
#include <smp_priv.h>
|
#include <smp_priv.h>
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <tls.h>
|
#include <tls.h>
|
||||||
#include <tracing.h>
|
#include <tracing.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_types.h>
|
||||||
#include <vm_types.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
|
|
||||||
#include "x86_paging.h"
|
#include "x86_paging.h"
|
||||||
|
|
||||||
|
@ -16,10 +16,10 @@
|
|||||||
|
|
||||||
#include <smp.h>
|
#include <smp.h>
|
||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_page.h>
|
||||||
#include <vm_page.h>
|
#include <vm/vm_priv.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
|
|
||||||
#include <arch/vm.h>
|
#include <arch/vm.h>
|
||||||
#include <arch/int.h>
|
#include <arch/int.h>
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
#include <smp.h>
|
#include <smp.h>
|
||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <util/queue.h>
|
#include <util/queue.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_page.h>
|
||||||
#include <vm_page.h>
|
#include <vm/vm_priv.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
|
|
||||||
#include "x86_paging.h"
|
#include "x86_paging.h"
|
||||||
#include "x86_physical_page_mapper.h"
|
#include "x86_physical_page_mapper.h"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <KernelExport.h>
|
#include <KernelExport.h>
|
||||||
#include <vm_types.h>
|
#include <vm/vm_types.h>
|
||||||
|
|
||||||
#include <arch/x86/bios.h>
|
#include <arch/x86/bios.h>
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* Copyright (C) 1998 by Josh Vanderhoof
|
* Copyright (C) 1998 by Josh Vanderhoof
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <vm86.h>
|
#include <vm86.h>
|
||||||
#include <arch_cpu.h>
|
#include <arch_cpu.h>
|
||||||
|
@ -32,10 +32,10 @@
|
|||||||
#include <smp.h>
|
#include <smp.h>
|
||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <util/DoublyLinkedList.h>
|
#include <util/DoublyLinkedList.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_translation_map.h>
|
||||||
#include <vm_translation_map.h>
|
#include <vm/vm_types.h>
|
||||||
#include <vm_types.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
|
|
||||||
#include "x86_paging.h"
|
#include "x86_paging.h"
|
||||||
|
|
||||||
|
6
src/system/kernel/cache/file_cache.cpp
vendored
6
src/system/kernel/cache/file_cache.cpp
vendored
@ -21,9 +21,9 @@
|
|||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <util/kernel_cpp.h>
|
#include <util/kernel_cpp.h>
|
||||||
#include <vfs.h>
|
#include <vfs.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_page.h>
|
#include <vm/vm_page.h>
|
||||||
#include <vm_cache.h>
|
#include <vm/VMCache.h>
|
||||||
|
|
||||||
#include "IORequest.h"
|
#include "IORequest.h"
|
||||||
|
|
||||||
|
6
src/system/kernel/cache/file_map.cpp
vendored
6
src/system/kernel/cache/file_map.cpp
vendored
@ -19,9 +19,9 @@
|
|||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <util/DoublyLinkedList.h>
|
#include <util/DoublyLinkedList.h>
|
||||||
#include <vfs.h>
|
#include <vfs.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_page.h>
|
#include <vm/vm_page.h>
|
||||||
#include <vm_cache.h>
|
#include <vm/VMCache.h>
|
||||||
|
|
||||||
#include "kernel_debug_config.h"
|
#include "kernel_debug_config.h"
|
||||||
|
|
||||||
|
2
src/system/kernel/cache/vnode_store.cpp
vendored
2
src/system/kernel/cache/vnode_store.cpp
vendored
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
#include <file_cache.h>
|
#include <file_cache.h>
|
||||||
#include <vfs.h>
|
#include <vfs.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
#include "IORequest.h"
|
#include "IORequest.h"
|
||||||
|
|
||||||
|
2
src/system/kernel/cache/vnode_store.h
vendored
2
src/system/kernel/cache/vnode_store.h
vendored
@ -7,7 +7,7 @@
|
|||||||
#define VNODE_STORE_H
|
#define VNODE_STORE_H
|
||||||
|
|
||||||
|
|
||||||
#include <vm_types.h>
|
#include <vm/vm_types.h>
|
||||||
|
|
||||||
|
|
||||||
struct file_cache_ref;
|
struct file_cache_ref;
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
#include <KernelExport.h>
|
#include <KernelExport.h>
|
||||||
|
|
||||||
#include <elf.h>
|
#include <elf.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_types.h>
|
#include <vm/vm_types.h>
|
||||||
|
|
||||||
|
|
||||||
static area_id sCommPageArea;
|
static area_id sCommPageArea;
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#include <commpage_defs.h>
|
#include <commpage_defs.h>
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
|
|
||||||
//#define TRACE_BREAKPOINT_MANAGER
|
//#define TRACE_BREAKPOINT_MANAGER
|
||||||
|
@ -28,8 +28,8 @@
|
|||||||
#include <smp.h>
|
#include <smp.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <tracing.h>
|
#include <tracing.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_translation_map.h>
|
#include <vm/vm_translation_map.h>
|
||||||
|
|
||||||
#include <arch/debug_console.h>
|
#include <arch/debug_console.h>
|
||||||
#include <arch/debug.h>
|
#include <arch/debug.h>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <lock.h>
|
#include <lock.h>
|
||||||
#include <boot_item.h>
|
#include <boot_item.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <fs/devfs.h>
|
#include <fs/devfs.h>
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
#include <vesa_info.h>
|
#include <vesa_info.h>
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#include <elf.h>
|
#include <elf.h>
|
||||||
#include <elf_priv.h>
|
#include <elf_priv.h>
|
||||||
#include <smp.h>
|
#include <smp.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
|
|
||||||
enum { INIT = 0, CMDREAD, CKSUM1, CKSUM2, WAITACK, QUIT, GDBSTATES };
|
enum { INIT = 0, CMDREAD, CKSUM1, CKSUM2, WAITACK, QUIT, GDBSTATES };
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#include <team.h>
|
#include <team.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <user_debugger.h>
|
#include <user_debugger.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
#include <arch/debug.h>
|
#include <arch/debug.h>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#include <team.h>
|
#include <team.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
|
|
||||||
struct tracing_stack_trace {
|
struct tracing_stack_trace {
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <thread_types.h>
|
#include <thread_types.h>
|
||||||
#include <user_debugger.h>
|
#include <user_debugger.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_types.h>
|
#include <vm/vm_types.h>
|
||||||
|
|
||||||
#include <AutoDeleter.h>
|
#include <AutoDeleter.h>
|
||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
|
|
||||||
#include "dma_resources.h"
|
#include "dma_resources.h"
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <util/khash.h>
|
#include <util/khash.h>
|
||||||
#include <vfs.h>
|
#include <vfs.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
#include "BaseDevice.h"
|
#include "BaseDevice.h"
|
||||||
#include "FileDevice.h"
|
#include "FileDevice.h"
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <util/khash.h>
|
#include <util/khash.h>
|
||||||
#include <vfs.h>
|
#include <vfs.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_types.h>
|
||||||
#include <vm_types.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
|
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <arch/elf.h>
|
#include <arch/elf.h>
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <util/ring_buffer.h>
|
#include <util/ring_buffer.h>
|
||||||
#include <vfs.h>
|
#include <vfs.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
#include "fifo.h"
|
#include "fifo.h"
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
# include <khash.h>
|
# include <khash.h>
|
||||||
# include <lock.h>
|
# include <lock.h>
|
||||||
# include <util/AutoLock.h>
|
# include <util/AutoLock.h>
|
||||||
# include <vm.h>
|
# include <vm/vm.h>
|
||||||
|
|
||||||
# include <NodeMonitor.h>
|
# include <NodeMonitor.h>
|
||||||
|
|
||||||
|
@ -51,8 +51,8 @@
|
|||||||
#include <util/DoublyLinkedList.h>
|
#include <util/DoublyLinkedList.h>
|
||||||
#include <util/OpenHashTable.h>
|
#include <util/OpenHashTable.h>
|
||||||
#include <vfs.h>
|
#include <vfs.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_cache.h>
|
#include <vm/VMCache.h>
|
||||||
|
|
||||||
#include "fifo.h"
|
#include "fifo.h"
|
||||||
#include "IORequest.h"
|
#include "IORequest.h"
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <tracing.h>
|
#include <tracing.h>
|
||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_page.h>
|
#include <vm/vm_page.h>
|
||||||
|
|
||||||
|
|
||||||
//#define TRACE_HEAP
|
//#define TRACE_HEAP
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
#include <sem.h>
|
#include <sem.h>
|
||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <util/DoublyLinkedList.h>
|
#include <util/DoublyLinkedList.h>
|
||||||
#include <vm_page.h>
|
#include <vm/vm_page.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/vm_priv.h>
|
||||||
|
|
||||||
|
|
||||||
//#define TRACE_LOW_RESOURCE_MANAGER
|
//#define TRACE_LOW_RESOURCE_MANAGER
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
#include <user_debugger.h>
|
#include <user_debugger.h>
|
||||||
#include <vfs.h>
|
#include <vfs.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
|
|
||||||
#include "vm/VMAnonymousCache.h"
|
#include "vm/VMAnonymousCache.h"
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <util/DoublyLinkedList.h>
|
#include <util/DoublyLinkedList.h>
|
||||||
#include <vfs.h>
|
#include <vfs.h>
|
||||||
#include <vm_page.h>
|
#include <vm/vm_page.h>
|
||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
#include <syscall_restart.h>
|
#include <syscall_restart.h>
|
||||||
#include <wait_for_objects.h>
|
#include <wait_for_objects.h>
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
#include <util/DoublyLinkedList.h>
|
#include <util/DoublyLinkedList.h>
|
||||||
#include <util/OpenHashTable.h>
|
#include <util/OpenHashTable.h>
|
||||||
#include <util/khash.h>
|
#include <util/khash.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
|
|
||||||
|
|
||||||
// TODO kMagazineCapacity should be dynamically tuned per cache.
|
// TODO kMagazineCapacity should be dynamically tuned per cache.
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
#include <usergroup.h>
|
#include <usergroup.h>
|
||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <vfs.h>
|
#include <vfs.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <wait_for_objects.h>
|
#include <wait_for_objects.h>
|
||||||
|
|
||||||
#include "syscall_numbers.h"
|
#include "syscall_numbers.h"
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
#include <smp.h>
|
#include <smp.h>
|
||||||
#include <team.h>
|
#include <team.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_page.h>
|
#include <vm/vm_page.h>
|
||||||
|
|
||||||
|
|
||||||
const static int64 kKernelVersion = 0x1;
|
const static int64 kKernelVersion = 0x1;
|
||||||
|
@ -47,8 +47,8 @@
|
|||||||
#include <user_thread.h>
|
#include <user_thread.h>
|
||||||
#include <usergroup.h>
|
#include <usergroup.h>
|
||||||
#include <vfs.h>
|
#include <vfs.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <util/khash.h>
|
#include <util/khash.h>
|
||||||
|
|
||||||
|
@ -41,8 +41,8 @@
|
|||||||
#include <user_runtime.h>
|
#include <user_runtime.h>
|
||||||
#include <user_thread.h>
|
#include <user_thread.h>
|
||||||
#include <vfs.h>
|
#include <vfs.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
#include <wait_for_objects.h>
|
#include <wait_for_objects.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,12 +6,12 @@ UseHeaders [ FDirName $(SUBDIR) $(DOTDOT) device_manager ] ;
|
|||||||
|
|
||||||
KernelMergeObject kernel_vm.o :
|
KernelMergeObject kernel_vm.o :
|
||||||
vm.cpp
|
vm.cpp
|
||||||
vm_address_space.cpp
|
|
||||||
vm_cache.cpp
|
|
||||||
vm_daemons.cpp
|
vm_daemons.cpp
|
||||||
vm_page.cpp
|
vm_page.cpp
|
||||||
|
VMAddressSpace.cpp
|
||||||
VMAnonymousCache.cpp
|
VMAnonymousCache.cpp
|
||||||
VMAnonymousNoSwapCache.cpp
|
VMAnonymousNoSwapCache.cpp
|
||||||
|
VMCache.cpp
|
||||||
VMDeviceCache.cpp
|
VMDeviceCache.cpp
|
||||||
VMNullCache.cpp
|
VMNullCache.cpp
|
||||||
#vm_tests.c
|
#vm_tests.c
|
||||||
|
@ -8,17 +8,18 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include <vm/VMAddressSpace.h>
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <KernelExport.h>
|
#include <KernelExport.h>
|
||||||
|
|
||||||
#include <util/OpenHashTable.h>
|
#include <util/OpenHashTable.h>
|
||||||
|
|
||||||
#include <vm.h>
|
|
||||||
#include <vm_address_space.h>
|
|
||||||
#include <vm_priv.h>
|
|
||||||
#include <heap.h>
|
#include <heap.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
|
#include <vm/vm.h>
|
||||||
#include <stdlib.h>
|
#include <vm/vm_priv.h>
|
||||||
|
|
||||||
|
|
||||||
//#define TRACE_VM
|
//#define TRACE_VM
|
@ -35,9 +35,9 @@
|
|||||||
#include <util/OpenHashTable.h>
|
#include <util/OpenHashTable.h>
|
||||||
#include <util/RadixBitmap.h>
|
#include <util/RadixBitmap.h>
|
||||||
#include <vfs.h>
|
#include <vfs.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_page.h>
|
#include <vm/vm_page.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/vm_priv.h>
|
||||||
|
|
||||||
#include "IORequest.h"
|
#include "IORequest.h"
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#ifndef _KERNEL_VM_STORE_ANONYMOUS_H
|
#ifndef _KERNEL_VM_STORE_ANONYMOUS_H
|
||||||
#define _KERNEL_VM_STORE_ANONYMOUS_H
|
#define _KERNEL_VM_STORE_ANONYMOUS_H
|
||||||
|
|
||||||
#include <vm_types.h>
|
#include <vm/vm_types.h>
|
||||||
|
|
||||||
|
|
||||||
#if ENABLE_SWAP_SUPPORT
|
#if ENABLE_SWAP_SUPPORT
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#include <arch_config.h>
|
#include <arch_config.h>
|
||||||
#include <heap.h>
|
#include <heap.h>
|
||||||
#include <KernelExport.h>
|
#include <KernelExport.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/vm_priv.h>
|
||||||
|
|
||||||
|
|
||||||
//#define TRACE_STORE
|
//#define TRACE_STORE
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#ifndef _KERNEL_VM_STORE_ANONYMOUS_NO_SWAP_H
|
#ifndef _KERNEL_VM_STORE_ANONYMOUS_NO_SWAP_H
|
||||||
#define _KERNEL_VM_STORE_ANONYMOUS_NO_SWAP_H
|
#define _KERNEL_VM_STORE_ANONYMOUS_NO_SWAP_H
|
||||||
|
|
||||||
#include <vm_types.h>
|
#include <vm/vm_types.h>
|
||||||
|
|
||||||
|
|
||||||
class VMAnonymousNoSwapCache : public VMCache {
|
class VMAnonymousNoSwapCache : public VMCache {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* Distributed under the terms of the NewOS License.
|
* Distributed under the terms of the NewOS License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <vm_cache.h>
|
#include <vm/VMCache.h>
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@ -23,10 +23,10 @@
|
|||||||
#include <util/khash.h>
|
#include <util/khash.h>
|
||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <vfs.h>
|
#include <vfs.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_page.h>
|
#include <vm/vm_page.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/vm_priv.h>
|
||||||
#include <vm_types.h>
|
#include <vm/vm_types.h>
|
||||||
|
|
||||||
|
|
||||||
//#define TRACE_VM_CACHE
|
//#define TRACE_VM_CACHE
|
@ -9,7 +9,7 @@
|
|||||||
#ifndef _KERNEL_VM_STORE_DEVICE_H
|
#ifndef _KERNEL_VM_STORE_DEVICE_H
|
||||||
#define _KERNEL_VM_STORE_DEVICE_H
|
#define _KERNEL_VM_STORE_DEVICE_H
|
||||||
|
|
||||||
#include <vm_types.h>
|
#include <vm/vm_types.h>
|
||||||
|
|
||||||
|
|
||||||
class VMDeviceCache : public VMCache {
|
class VMDeviceCache : public VMCache {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#ifndef _KERNEL_VM_STORE_NULL_H
|
#ifndef _KERNEL_VM_STORE_NULL_H
|
||||||
#define _KERNEL_VM_STORE_NULL_H
|
#define _KERNEL_VM_STORE_NULL_H
|
||||||
|
|
||||||
#include <vm_types.h>
|
#include <vm/vm_types.h>
|
||||||
|
|
||||||
|
|
||||||
class VMNullCache : public VMCache {
|
class VMNullCache : public VMCache {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@ -44,10 +44,10 @@
|
|||||||
#include <tracing.h>
|
#include <tracing.h>
|
||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <util/khash.h>
|
#include <util/khash.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_page.h>
|
||||||
#include <vm_cache.h>
|
#include <vm/vm_priv.h>
|
||||||
#include <vm_page.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/VMCache.h>
|
||||||
|
|
||||||
#include "VMAnonymousCache.h"
|
#include "VMAnonymousCache.h"
|
||||||
#include "IORequest.h"
|
#include "IORequest.h"
|
||||||
|
@ -13,10 +13,11 @@
|
|||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
|
|
||||||
#include <tracing.h>
|
#include <tracing.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/vm_priv.h>
|
||||||
#include <vm_cache.h>
|
#include <vm/vm_page.h>
|
||||||
#include <vm_page.h>
|
#include <vm/VMCache.h>
|
||||||
|
|
||||||
#include "VMAnonymousCache.h"
|
#include "VMAnonymousCache.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -27,11 +27,11 @@
|
|||||||
#include <tracing.h>
|
#include <tracing.h>
|
||||||
#include <util/AutoLock.h>
|
#include <util/AutoLock.h>
|
||||||
#include <vfs.h>
|
#include <vfs.h>
|
||||||
#include <vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm_address_space.h>
|
#include <vm/vm_priv.h>
|
||||||
#include <vm_priv.h>
|
#include <vm/vm_page.h>
|
||||||
#include <vm_page.h>
|
#include <vm/VMAddressSpace.h>
|
||||||
#include <vm_cache.h>
|
#include <vm/VMCache.h>
|
||||||
|
|
||||||
#include "VMAnonymousCache.h"
|
#include "VMAnonymousCache.h"
|
||||||
#include "IORequest.h"
|
#include "IORequest.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user