Commit Graph

7535 Commits

Author SHA1 Message Date
Axel Dörfler
feec20d64b It's now <util/kernel_cpp.h> rather than <kernel_cpp.h>.
Forgot to commit that...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 11:13:17 +00:00
Jérôme Duval
22b19ff048 Improvements. Still not beta.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 09:02:48 +00:00
Axel Dörfler
f4e3a8d25f This file don't belong here and is not used at all.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 00:39:07 +00:00
Axel Dörfler
6e5cac2da6 Private exported kernel functions of the device manager.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 00:36:44 +00:00
Axel Dörfler
3ad71e9d7e Rearranged the device_manager init/module stuff; it's now initialized from
main, not by getting the module any longer.
It now also creates the root node directly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 00:34:00 +00:00
Axel Dörfler
637f662399 The node lock was missing in action.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 00:32:45 +00:00
Axel Dörfler
e5d9d14f90 Added the root node of the device tree to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 00:16:46 +00:00
beveloper
720aa69389 removed many compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 21:00:01 +00:00
Rudolf Cornelissen
bef5b86a74 another panel modeline update
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 18:45:40 +00:00
Jérôme Duval
6bef4567da Fixed the build of echo24 and echogals drivers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 15:47:19 +00:00
Rudolf Cornelissen
16fc5a3011 panel modeline updates including refreshrate update
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 14:07:06 +00:00
Phil Greenway
b66afdfa2d All New Code by Michael Berg.
The clock and calendar work.  The Zone list is mostly there.  I haven't gotten it to apply changes yet, and the second timezone time view isn't updated.  It is almost a bit copy of the original, I couldn't work out some of the positioning.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 12:55:26 +00:00
Phil Greenway
3211ef3088 Just getting back into the swing of things with the New Connection Window.
I'm going to keep plugging away at this app until such that it needs assistance from the net crew.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 12:45:28 +00:00
Axel Dörfler
6f7e72c0b7 Moved the logic from bfs_close() to bfs_free_cookie() - apparently, doing
anything in bfs_close() does not really makes sense. Thanks to Ingo for
pointing this out.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 12:31:18 +00:00
Axel Dörfler
c697a0f4cc When you now set COMPILE_FOR_ZETA=1 on the command line when jamming, the
api version will be set to 3 as required for Dano/Zeta - apparently, the
previous mechanism doesn't work with our headers, as we don't define
B_BEOS_VERSION_DANO at all :)
Fixed the build again (because of the stdio switch).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 12:30:23 +00:00
Rudolf Cornelissen
b6ec0fb23b tuned modeline tweaking a bit more for panels: currently in test for conf.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 12:04:48 +00:00
Axel Dörfler
df0dd8a5dd Removed test code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 01:44:14 +00:00
Axel Dörfler
f7e706a409 Separated initialization of standard file systems from boot file system.
team_create_team() now uses the B_NORMAL_PRIORITY constant instead of the number directly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 01:27:34 +00:00
Axel Dörfler
7f79432203 Separated the bootstrapping of the standard file systems from the boot file
system - it's now mounted a bit later.
Renamed vfs_register_filesystem() to vfs_register_file_system().
Changed return codes to status_t where appropriate.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 01:25:36 +00:00
Axel Dörfler
b14f8b5746 Removed some debug output (it's not only dumped if TRACE_ROOTFS is defined).
Updated the debug stuff a bit, fixed debug build.
Renamed vfs_register_filesystem() to vfs_register_file_system().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 01:23:58 +00:00
Axel Dörfler
c947b674ee Renamed vfs_register_filesystem() to vfs_register_file_system().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 01:22:33 +00:00
Axel Dörfler
cdbef38048 Changed some return codes to status_t where appropriate.
Renamed vfs_bootstrap_all_filesystems() to vfs_bootstrap_file_systems().
Renamed vfs_register_filesystem() to vfs_register_file_system().
Added new call vfs_mount_boot_file_system().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 01:20:41 +00:00
Axel Dörfler
dc8585a402 Worked around a strange bug that happened without an additional printf in between...
Somehow that reminds of BASIC.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 00:39:01 +00:00
Philippe Houdoin
85898f2b1a One should be enough!
NET_STACK_CONTROL_MODULE IPC support is still a work in progress, thought.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-05 17:11:53 +00:00
Axel Dörfler
91d62d9f6a Removed stuff that's no longer necessary due to the stdio.h switch.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-05 16:38:32 +00:00
Axel Dörfler
4ac038c1cc Fixed the build of the DoublyLinkedList test.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-05 16:23:08 +00:00
Axel Dörfler
c757aac399 Added BeBuild.h in a central header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-05 16:21:44 +00:00
Axel Dörfler
48c68671a2 Fixed the build of the cppunit stuff; if you are using IMPORT/EXPORT you should
make sure they are defined.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-05 16:19:03 +00:00
Axel Dörfler
dda55a58d7 Added two other unusual font sizes (11 & 13 pt). We may remove then again if
those doesn't look good with our font renderer :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-05 15:36:25 +00:00
shatty
8efe380a8a add more variants of MS MPEG4 vx
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-05 07:45:06 +00:00
shatty
094bec45ab add lowercase variants of MS MPEG4 vx, verified MS MPEG4 v2 seems to be working, for decoding anyway
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-05 07:32:39 +00:00
Bruno G. Albuquerque
4e936bb759 Now when BFS_REPLACEMENT is set, the name used for the add-on is "bfs" instead
of "obfs" (thanks Ingo). Also, changed the destination directory. It was formelly
"beos/system/add-ons/kernel/file_systems/bfs/" and now it is
"beos/system/add-ons/kernel/file_systems/" (as it should be).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 22:07:12 +00:00
Philippe Houdoin
cda24f2279 Ooops, should have not commit this stupid change!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 21:22:00 +00:00
Philippe Houdoin
4d7e82c125 Doh! Forgot to commit these after having removed from headers/posix/*.
My mistake.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 16:08:52 +00:00
Rudolf Cornelissen
979945ae6b move_overlay() fix for dualhead stretch/switch modes added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 10:27:41 +00:00
Axel Dörfler
69a19e8844 Now supports creation of the target path if necessary.
Now supports renaming while copying if another target name was given.
Forgot to add license (applies for previous versions as well).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 02:38:37 +00:00
Axel Dörfler
ab647990dc Now preserves the st_mod of the copied file.
Improved output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 01:44:59 +00:00
Axel Dörfler
34cf473d12 BlockAllocator::CheckBlockRun() can now also check for non-allocated ranges.
Fixed a possible endian problem in CheckBlockRun(), too.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 01:42:53 +00:00
Bruno G. Albuquerque
b1e752314f Ops! :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 01:27:17 +00:00
Bruno G. Albuquerque
e4758ac382 Added BFS_REPLACEMENT define that will enable compiling OpenBFS as as full
BFS replacement (will report itself as "bfs" instead of "obfs". Is there a
way to change the add-on name based on the same define?


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 01:24:27 +00:00
Axel Dörfler
c832ff1e1b Fixed a race condition in the block allocator initialization (the lock was held
too late, and could theoretically already be acquired by someone else).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 00:07:38 +00:00
Philippe Houdoin
dd8f2aef56 Jamfile for ipro1000 driver too.
Added ipro1000, rtl8169 and via-rhine to build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:41:33 +00:00
Michael Phipps
6acaca4662 Should have never been there.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:38:22 +00:00
beveloper
56676a8c4b This is the real hard stuff!
FreeBSD compatibility layer that provides a struct ifnet interface,
all #defines that are used by the driver, the mbuf functions,
mbuf queues, etc.
Also some unused things are provided by empty macros.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:31:45 +00:00
beveloper
b567981843 A simple memory pool that is used the the mbuf support. Can be called
from within an interrupt handler, and wastes pretty much memory.
Knows only about two different block sizes, and implements them by
using a simple free list.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:29:46 +00:00
beveloper
07815bc520 The driver interface detects the cards and publishes defs entries.
util.* provide a convenience function to map physical memory.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:27:26 +00:00
Philippe Houdoin
8f1b75b72e Jamify the new network cards drivers commited by Marcus.
Coming soon for ipro1000, too.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:25:31 +00:00
beveloper
6ba61f712f The device driver interface to the network stack, either BeOS R5, BONE, or OpenBeOS.
Initialized attaches and detaches the core driver, sends and receives packets


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:21:39 +00:00
beveloper
21482d71c1 a very simple debugging macro
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:17:40 +00:00
beveloper
46e6df0fc5 Reacting on a link change inside the interrupt handler is plain crazy,
as this involves some long delays like eeprom reading, etc.
Need to snooze() there, and this moved this into a separate thread.
Obviously, the FreeBSD driver isn't doing prober locking yet, so
it's not really save. But it's the correct way to do it, and it
doesn't crash. Inside the interrupt handler it did crash when reconnecting the cable...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:09:50 +00:00