History log of /haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/beos_kernel_emu.cpp
Revision Date Author Comments
# fa51454b 02-Oct-2020 Jérôme Duval <jerome.duval@gmail.com>

userlandsfs: needs AppDefs.h for B_QUERY_UPDATE

Change-Id: If39a60089873b20dedadd05ee69628d14585fdbd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3278
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 9200ccec 05-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* That must have been a BeOS limitation, at least our kernel sports the same
generic API for each architecture.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29919 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fcd5f6b9 04-Apr-2009 Rene Gollent <anevilyak@gmail.com>

Patch by Urias McCullough: Fix userlandfs build on ppc (unused variable warning/error). Thanks!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29915 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4649fe05 17-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Haiku kernel interface emulation: Retrieve the capabilities for each vnode.
We do some caching using a hash table indexed by the operations vector.
* Pass the vnode capabilities to the kernel module.
* In the kernel tailor the operation vectors for volumes and vnodes passed to
the VFS according to the respective capabilities. This way those vectors look
pretty much like those from the client FS. This saves unnecessary calls when
hooks are not implemented and should also fix compatibility problems in cases
where not implementing a hook and returning an error don't mean the same to
the VFS.
* Inlined some of the kernel module Volume class getters.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29572 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9accd619 01-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* FileSystem does now have a list of all volumes. This allows to get a volume
by ID.
* Added a three parameters version of UserlandFS::KernelEmu::publish_vnode(),
which is used by the BeOS new_vnode() emulation. It calls the new
Volume::GetVNodeType() to get the type of the node.

Theoretically BeOS FS interface style add-ons should work again, but ATM we
crash the kernel when trying to mount.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29367 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 25c4a958 28-Feb-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Renamed files (removed "beos_" prefix).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29355 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 35d56691 28-Feb-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Adjusted to interface changes in the server. Should be working save for the
stubbed new_vnode().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29353 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a7b34687 28-Feb-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Reorganized the sources. Haiku and BeOS kernel interface each have their own
subdirectory, now.
* Moved all code specific to a kernel interface into the respective library.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29344 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9200ccec5ae747fe921b960e7799aecd55d7ee6b 05-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* That must have been a BeOS limitation, at least our kernel sports the same
generic API for each architecture.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29919 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fcd5f6b97ccc87e45039f28cf4db2989458c13fc 04-Apr-2009 Rene Gollent <anevilyak@gmail.com>

Patch by Urias McCullough: Fix userlandfs build on ppc (unused variable warning/error). Thanks!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29915 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4649fe05ef03c9981231538121df35aab32f2bc0 17-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Haiku kernel interface emulation: Retrieve the capabilities for each vnode.
We do some caching using a hash table indexed by the operations vector.
* Pass the vnode capabilities to the kernel module.
* In the kernel tailor the operation vectors for volumes and vnodes passed to
the VFS according to the respective capabilities. This way those vectors look
pretty much like those from the client FS. This saves unnecessary calls when
hooks are not implemented and should also fix compatibility problems in cases
where not implementing a hook and returning an error don't mean the same to
the VFS.
* Inlined some of the kernel module Volume class getters.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29572 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9accd619b893cbb1ca577e1230ec77e988460f13 01-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* FileSystem does now have a list of all volumes. This allows to get a volume
by ID.
* Added a three parameters version of UserlandFS::KernelEmu::publish_vnode(),
which is used by the BeOS new_vnode() emulation. It calls the new
Volume::GetVNodeType() to get the type of the node.

Theoretically BeOS FS interface style add-ons should work again, but ATM we
crash the kernel when trying to mount.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29367 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 25c4a958a2c785ab00fb6c3bff6605c55fcc25ad 28-Feb-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Renamed files (removed "beos_" prefix).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29355 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 35d56691a2b6005ee2b21cc33b944df83e6d2162 28-Feb-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Adjusted to interface changes in the server. Should be working save for the
stubbed new_vnode().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29353 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a7b346877023493472fc5c8ef0de99ed9043450f 28-Feb-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Reorganized the sources. Haiku and BeOS kernel interface each have their own
subdirectory, now.
* Moved all code specific to a kernel interface into the respective library.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29344 a95241bf-73f2-0310-859d-f6bbb57e9c96