* Added kernelland_emu vm.cpp (for user_{strlcpy,memcpy}()).
* Added dummy entry cache functions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29457 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -31,6 +31,7 @@ SharedLibrary libuserlandfs_haiku_kernel.so
|
|||||||
misc.cpp
|
misc.cpp
|
||||||
scheduler.cpp
|
scheduler.cpp
|
||||||
slab.cpp
|
slab.cpp
|
||||||
|
vm.cpp
|
||||||
|
|
||||||
# kernel
|
# kernel
|
||||||
block_cache.cpp
|
block_cache.cpp
|
||||||
@@ -38,6 +39,7 @@ SharedLibrary libuserlandfs_haiku_kernel.so
|
|||||||
khash.c
|
khash.c
|
||||||
|
|
||||||
# emulation
|
# emulation
|
||||||
|
entry_cache.cpp
|
||||||
file_cache.cpp
|
file_cache.cpp
|
||||||
haiku_kernel_emu.cpp
|
haiku_kernel_emu.cpp
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009, Ingo Weinhold, [email protected].
|
||||||
|
* Distributed under the terms of the MIT License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <fs_cache.h>
|
||||||
|
|
||||||
|
|
||||||
|
// TODO: We could propagate these calls to the kernel. They are only used for
|
||||||
|
// optimization though and are not mission critical.
|
||||||
|
|
||||||
|
|
||||||
|
status_t
|
||||||
|
entry_cache_add(dev_t mountID, ino_t dirID, const char* name, ino_t nodeID)
|
||||||
|
{
|
||||||
|
return B_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
status_t
|
||||||
|
entry_cache_remove(dev_t mountID, ino_t dirID, const char* name)
|
||||||
|
{
|
||||||
|
return B_OK;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user