#
899e0ef8 |
|
01-Jul-2023 |
PulkoMandy <pulkomandy@pulkomandy.tk> |
userlandfs: use std::bitset for FSCapabilities gcc 13 is confused by the custom bitset implementation, so use the C++ standard one instead. However, this results in including the C++ <string> header in kernel code. This doesn't work for gcc2, because of two problems: - That header includes a declaration of atomic_add that doesn't match the one in SupportsDefs.h (which can in some cases replace the function with a #define for an inline version). Adjust the header to use the be a problem because it creates a risk of circular inclusions. Standard C++ headers shouldn't depend on BeAPI ones. - It also leads to the inclusion of iostream which defined lock and unlock functions in the global namespace. We don't want these, and they are not part of the C++ standard, so just remove them. Ideally we could use std::hash for the GetHashCode implementation, but that doesn't work because it depends on an helper function that's in libstdc++, and we can't link that from kernel add-ons. Change-Id: Iee07280beb4dddf7a9b6160e37f3b816e4de89ae Reviewed-on: https://review.haiku-os.org/c/haiku/+/6663 Reviewed-by: Niels Sascha Reedijk <niels.reedijk@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
08edcdfb |
|
19-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added interface constant for FUSE. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29617 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fabcaf1c |
|
17-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added GetHashCode() method and == operator. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29571 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fac733d2 |
|
03-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Removed the remnants of the dispatcher mechanism. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29390 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4ffdedd0 |
|
28-Feb-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Missed to check this in earlier. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29357 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cdebdeb0 |
|
25-Feb-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Some more work towards adjusting the UserlandFS to the current FS interface: * Split the FSCapabilities bit mask into three bit masks for the FS, the volume, and the vnodes, since we have three independent FS interface structures, now. The latter is not supported in the kernel add-on, yet. * Server: - Temporarily removed some things from the build (the BeOS interface and the cache implementations). - Some WIP in HaikuKernelVolume and [haiku_]kernel_emu.{h,cpp}. - Added HaikuKernelNode, which wraps fs_vnode for the client FS. The server is still quite a bit away from being buildable again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29323 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4e0e80ed |
|
04-Mar-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
We analyze a client FS's capabilities -- i.e. which hooks it provides or can be emulated -- and pass this info to the kernel add-on. Thus we can avoid passing requests to the userland that can't be serviced anyway. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20331 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
08edcdfb615624bd078d864d17ac536acd52e715 |
|
19-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added interface constant for FUSE. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29617 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fabcaf1c0a31c042bbf0322968bab775ec16a0aa |
|
17-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added GetHashCode() method and == operator. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29571 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fac733d2f6e7cff3ea88d217fa99134735654acb |
|
03-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Removed the remnants of the dispatcher mechanism. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29390 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4ffdedd0f011979f4ac5dd9a6d6fb249dab9da04 |
|
28-Feb-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Missed to check this in earlier. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29357 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cdebdeb0aa35c9eabf093024474c865ce9bd6840 |
|
25-Feb-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Some more work towards adjusting the UserlandFS to the current FS interface: * Split the FSCapabilities bit mask into three bit masks for the FS, the volume, and the vnodes, since we have three independent FS interface structures, now. The latter is not supported in the kernel add-on, yet. * Server: - Temporarily removed some things from the build (the BeOS interface and the cache implementations). - Some WIP in HaikuKernelVolume and [haiku_]kernel_emu.{h,cpp}. - Added HaikuKernelNode, which wraps fs_vnode for the client FS. The server is still quite a bit away from being buildable again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29323 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4e0e80ed6cbc449889d81464a9c67e11d8b76ff3 |
|
04-Mar-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
We analyze a client FS's capabilities -- i.e. which hooks it provides or can be emulated -- and pass this info to the kernel add-on. Thus we can avoid passing requests to the userland that can't be serviced anyway. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20331 a95241bf-73f2-0310-859d-f6bbb57e9c96
|