Commit Graph

7825 Commits

Author SHA1 Message Date
Axel Dörfler
83d9569570 Missing name index update with a late failed rename operation fixed (the
same as in kernel_interface_r5.cpp).
{add|remove}_debugger_commands() are now called in B_MODULE_[UN]INIT, no
longer in bfs_[un]mount().
Removed empty cache implementation as it's in the kernel itself for now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 06:13:38 +00:00
Axel Dörfler
fcf3d20e94 lock.h and cache.h are now C++ friendly.
If renaming failed late, the old name of the inode was restored, but the
name index was not.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 06:09:27 +00:00
Axel Dörfler
5b168fe639 Style cleanup.
Removed some temporary debug output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 06:06:55 +00:00
Axel Dörfler
f1613a0b1f Replaced libvm.a with kernel_vm.o.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 06:05:46 +00:00
Axel Dörfler
94c145777c Removed circular dependency - the module is now opened in B_MODULE_INIT.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 06:05:05 +00:00
Axel Dörfler
bd383ca361 Added simple and dumb BeOS compatible cache implementation - at this point
it's (almost) read only.
Added it to the build - libvm.a is now build as merged object file, since
the cache functions didn't get exported else.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 06:02:43 +00:00
Axel Dörfler
56b4e8289c We temporarily need a BeOS compatible cache implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 05:59:53 +00:00
Axel Dörfler
69debf9e84 get_module() didn't correctly maintain the module ref_count (in case
something went wrong) - this would have hidden circular dependencies
as well.
Recursive directory scan was broken, it didn't filter "." and ".." out.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 05:58:23 +00:00
Axel Dörfler
39f34cf425 Fixed the broken ioctl() function. Unlike BeOS, it also passes the
eventually specified length parameter.
The IOCPARM_LEN() macro should be used by the device/file system
implementation only if applicable.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 05:53:35 +00:00
Axel Dörfler
1bfc2c6901 First try at a working BFS for the new kernel - does compile but not much more.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 23:13:15 +00:00
Axel Dörfler
2b89e0b32f Now builds two file systems: "bfs" is now the file system for the new kernel,
while "bfs_r5" or "obfs_r5" is the one for the R5/Zeta kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 23:11:17 +00:00
Axel Dörfler
4f456fc26a It's now safe to include fsproto.h from C++.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 23:09:11 +00:00
Axel Dörfler
2855cf2fd4 Made the fsproto.h header a bit nicer to C++.
Also removed prototypes that are already found in fs_interface.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 23:07:32 +00:00
Axel Dörfler
41c5f712ce We're now using fs_interface.h instead of fsproto.h - doesn't change much here :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 22:57:31 +00:00
Axel Dörfler
dcceaee3bc Some changes due to the fsproto.h/fs_interface.h tandem.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 22:55:00 +00:00
Axel Dörfler
bb0a78b4d8 Now include fs_interface.h instead of fsproto.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 22:53:53 +00:00
Axel Dörfler
dca5d901c7 Added missing include.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 22:50:31 +00:00
Axel Dörfler
7335776148 Changes to keep it building with the move to kernel_interface_r5.cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 22:42:55 +00:00
Axel Dörfler
371536a11d Cleaned up C++/C separation.
Changed some return types from "int" to "status_t" to make it compatible
with the new VFS interface (should not cause any trouble).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 22:41:37 +00:00
Jérôme Duval
49776e51ad Forgot bash.rdef, removed network support (should be readded later)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 22:25:50 +00:00
Jérôme Duval
f465a5ec42 Adding libmedia.so to develop/lib/%arch%
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 21:54:07 +00:00
Jérôme Duval
8bcb00aa88 Added compress-4.0
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 21:23:10 +00:00
Axel Dörfler
2defe47a24 Removed no longer used system call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 21:12:30 +00:00
Jérôme Duval
72344504a8 new line
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 20:31:38 +00:00
Axel Dörfler
baae156b90 Added built-in file system modules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 17:33:18 +00:00
Axel Dörfler
6fdd106e9a File systems are modules now, so the module initialization must come before
bootstrapping the initial file systems.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 17:32:16 +00:00
Axel Dörfler
730f5a50cc No longer needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 17:29:43 +00:00
Axel Dörfler
d567161cad Copy of the kernel_interface.cpp file - this file will stay to be able
to compile BFS for R5.
The old kernel_interface.cpp will be moved to the new OpenBeOS FS API.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 17:28:52 +00:00
Axel Dörfler
f8edd5ecee File systems are modules now; removed all those no longer file system add-on
things.
Added unremove_vnode().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 17:25:55 +00:00
Axel Dörfler
bc1f913e8b File systems are modules now.
Renamed gDeviceFileSystem to sDeviceFileSystem.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 17:22:32 +00:00
Axel Dörfler
093015033f File systems are modules now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 17:20:59 +00:00
Axel Dörfler
34c763c98f File systems are modules now.
Added prototype for unremove_vnode(), some other minor changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 17:14:17 +00:00
Axel Dörfler
287704526b Don't panic for now if the PnP-root node cannot be registered; it doesn't
harm in case bootfs is used for now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 15:17:02 +00:00
Axel Dörfler
a0c7420724 Changes due to renaming the public fs functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 14:30:56 +00:00
Axel Dörfler
a540a3f904 Renamed the public fs functions (removed the vfs_ prefix), and separated
them from other functions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 14:25:22 +00:00
Axel Dörfler
d0da374bc3 Moved the public fs functions from vfs.h to this file.
Renamed them to match other exported BeOS functions as well (removed the vfs_ prefix).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 14:23:48 +00:00
Axel Dörfler
aad3f70c86 Moved the public fs functions to fs_interface.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 14:21:51 +00:00
Rudolf Cornelissen
72de05e13a doc update
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 13:59:19 +00:00
Axel Dörfler
600203b105 Added the ability to link against static libraries for both, the R5KernelAddon
and the KernelAddon rule.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 13:55:34 +00:00
Rudolf Cornelissen
bc9c604133 panel detection updates once more: should fix more rare problems...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 13:54:34 +00:00
Axel Dörfler
99b8dab3b9 Added the "app" directory to the kernel includes to be able to access
AppDefs.h (for B_QUERY_UPDATE, etc.).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 13:35:31 +00:00
Jérôme Duval
d3777559b7 clean up
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 10:21:28 +00:00
Jérôme Duval
8b633f6534 Fix libtermcap and add version information
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 09:41:33 +00:00
Jérôme Duval
60e6ef4db4 Added gnu bash 2.05b
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 09:11:15 +00:00
Jérôme Duval
6a86e65f8c Added gnu bash 2.05b.
Following folders are ripped : 
cross-build, CWRU, doc, examples, lib/malloc, lib/termcap, tests


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 09:07:27 +00:00
Axel Dörfler
35c681e031 Ah, that looks better (and actually works...).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 02:06:04 +00:00
Axel Dörfler
67efc07974 MAX_BOOT_CPUS is defined in kernel_args.h so we better include it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 02:03:29 +00:00
Axel Dörfler
f475c9696b Fixes the build under R5.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 01:50:46 +00:00
Axel Dörfler
47197929ca Temporarily disabled bus manager iteration - this might be done differently
anyway when it's all done.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 01:45:16 +00:00
Axel Dörfler
12373950ab Added header guards, cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 01:40:08 +00:00