Axel Dörfler
cdacbf022a
elf_load_image() always returned B_OK instead of the real status.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 18:57:12 +00:00
Axel Dörfler
bf67cc9591
Now uses the correct heap to allocate the image path name (kernel_args).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 16:49:23 +00:00
Axel Dörfler
e883af3cda
Since we use the same includes as the real system, we now export _fstat()
...
with 3 arguments instead of fstat().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 16:48:33 +00:00
Axel Dörfler
007c81ec98
Added kernel_args_strdup() function as a strdup() replacement.
...
Added a ToDo comment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 16:47:06 +00:00
Axel Dörfler
f4c303c472
Fixed some warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 14:56:48 +00:00
Axel Dörfler
0204c9a360
Added device manager to the kernel.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 14:49:38 +00:00
Axel Dörfler
d93e356b51
Changed the "stat" related syscalls to have an additional parameter that specified
...
the size of the stat structure to allow extensions of that structure.
Renamed those syscalls to the new naming scheme.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 14:36:05 +00:00
Axel Dörfler
c396c39fc5
Changed the "stat" related syscalls to have an additional parameter that specified
...
the size of the stat structure to allow extensions of that structure.
Renamed those syscalls to the new naming scheme.
Updated the syscalls to support stat extensions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 14:33:17 +00:00
Axel Dörfler
7a7c7d9c2f
Added current device manager built-in modules - the device manager itself will
...
probably be available as public kernel API as well (or rather, only).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 13:29:47 +00:00
Axel Dörfler
9bd10a87c7
The device manager is now initialized as well.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 13:28:21 +00:00
Axel Dörfler
8d1b721ad5
Added device_manager to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 13:27:20 +00:00
Axel Dörfler
6aed83b39c
Removed all references of pnp_bus.h (its contents are now temporarily included
...
in device_manager.h).
Fixed some comments.
Removed realpath() from probe.c for now - mechanism will be changed, and that
prevented it from being built as part of the kernel; it's currently not functional.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 13:26:42 +00:00
Phil Greenway
a94fb8e252
SF's CVS screwed up and forgot to add these updated files by Michael Berg.
...
Sorry for any inconvenience this has caused.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 08:30:52 +00:00
Axel Dörfler
38fdd0ca47
node_lock variable was replaced by gNodeLock (in nodes.c).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 00:25:43 +00:00
Axel Dörfler
b36321870c
Renamed some global static variables to match our style guide.
...
Changed some comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 00:09:21 +00:00
Axel Dörfler
1792829685
Fixed prefix handling; previous version was broken. It now allows the prefix to
...
be any size, not just full path names (even without the file name...). Optimized
it to only traverse paths that match the prefix.
The built-in modules now honor the prefix as well.
Renamed module_iterator::path_stack to stack.
The system add-on path was even wrong (but that didn't matter yet, as we're
still do a recursive search for modules).
The user add-on path now matches the real one - but that should probably be
retrieved from calling find_directory(), anyway...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 00:02:20 +00:00
beveloper
3d546cd6e5
Replaced spin() by snooze()
...
The link change functions are no longer called from inside the interrupt handler.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 22:06:32 +00:00
beveloper
a05655eea6
Event thread sem can now be interrupted.
...
em_start() is no longer called from within interrupt.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 21:20:56 +00:00
beveloper
ec3efcdcac
don't exit timer loop on B_INTERRUPTED
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 21:01:14 +00:00
beveloper
6000570ec3
debug code cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 20:50:20 +00:00
beveloper
9b4b9246a3
replaced printf by dprintf
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 20:28:44 +00:00
beveloper
9924627a70
implemented timers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 20:27:54 +00:00
beveloper
89739e8c0a
Added ASSERT() macro to debug.h
...
Cleanup of printf calls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 20:22:28 +00:00
Philippe Houdoin
0b2d0f8217
Ooops, damn code templates!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 19:42:10 +00:00
beveloper
0ec64b89a9
Added a new timer function which can be used similar to the BeOS kernel add_timer function.
...
The difference is that these callback functions will be executed in thread (not interrupt) context,
and that they shouldn't crash (as add_timer does).
Integrated the timer funtions into the timeout() and untimeout() FreeBSD emulation framework.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 18:58:17 +00:00
beveloper
25993bbe98
removed polling support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 18:19:59 +00:00
beveloper
8012ca94e6
delay execution of em_82547_move_tail for 100 usec to compensate higher timeout resolution (might still be too small)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 18:04:36 +00:00
beveloper
5ace57d860
event_sem now also belongs to the kernel team
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 17:53:26 +00:00
beveloper
07903653ee
removed all em%d from dprintf output
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 17:39:43 +00:00
beveloper
014c3fc0c3
Cleanup of event handling.
...
Disable debugging.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 17:29:39 +00:00
beveloper
b35683ab0c
Added printing of link status.
...
Removed a few warnings.
Small cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 16:54:49 +00:00
beveloper
eefe75f24b
Added license. Please be aware that previous versions without license were not free, as they were copyrighted.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 16:04:04 +00:00
beveloper
77eda14527
Split the mempool spinlock into two.
...
Added a ROUNDUP() macro.
Moved area_malloc/free into util.c.
Added missing license.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 15:20:10 +00:00
Axel Dörfler
0a4a7dee30
open_module_list()/read_next_module_name() now take built-in modules into account as well.
...
The prefix will obviously ignored currently!
Fixed get_next_loaded_module_name(); it will now work correctly (doesn't check, though,
if the module is currently loaded...).
Removed the module_test() function - doesn't belong here.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-09 00:41:19 +00:00
Axel Dörfler
31db113eb8
pci_info.cpp now expects pcihdr.h to be part of the Devices preferences app.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-08 18:53:05 +00:00
Axel Dörfler
136b2d209a
pcihdr.h is no longer in private/kernel, as it is only really needed by
...
the Devices preferences application.
Removed the now unneeded include path from the Jamfile.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-08 18:43:54 +00:00
Axel Dörfler
72a2590171
Added missing newline.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-08 18:41:55 +00:00
Rudolf Cornelissen
a626297096
added blocking of non-supported modes on panels
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-08 14:09:30 +00:00
Axel Dörfler
132d416525
Enhanced the kernelland_emu to:
...
- support built-in modules
- support the private kernel locking calls
- support the private kernel doubly linked list functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-08 13:26:08 +00:00
Rudolf Cornelissen
051c0e75fb
another small timing update for panels
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-08 12:38:55 +00:00
Rudolf Cornelissen
b97caf33af
another small panel timing update
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-08 12:34:53 +00:00
Rudolf Cornelissen
268624c442
finished mod: driver works again
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-08 08:49:53 +00:00
beveloper
313e78ec7d
set semaphore owner to the kernel team
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 23:28:13 +00:00
Matthew Wilber
efc10d5e6a
Implemented rewind functionality so that slide show no longer stops when it reaches the last file in the directory
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 23:25:11 +00:00
Philippe Houdoin
b541da436f
Handling NET_STACK_CONTROL_NET_MODULE: work in progress...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 21:14:37 +00:00
Philippe Houdoin
c814e51224
Fighting Copy & Paste side effects:
...
fix some mistaken comments referencing PDF Writer driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 20:43:10 +00:00
Philippe Houdoin
d8afb49c8d
Without SO_NONBLOCK sockets option support, no way to get non blocking sockets!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 20:37:17 +00:00
Rudolf Cornelissen
0fccffc2c2
'cosmetic' update: in progress..
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 20:26:52 +00:00
beveloper
666fb348c4
some uncommited changes from long time ago. hope this doesn't break anything.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 18:43:44 +00:00
Jérôme Duval
28f08e9eb3
Moved this header to private/kernel for wide reuse
...
The Jamfile already has this directory as include, so i hope it should build right
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 15:25:02 +00:00
Axel Dörfler
0b48784541
Moved all remaining files under befs/ over to bfs/.
...
Fixed the build of all bfs tools.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 11:26:01 +00:00
Axel Dörfler
244d5b90d8
Moved befs/array to bfs/array. Removed befs directory from the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 11:19:30 +00:00
Axel Dörfler
da054c278c
Fixed the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 11:15:09 +00:00
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
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
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
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
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
beveloper
b8708997c5
the add_timer() function does panic, also it would call the hook in interrupt context, both it not acceptable. Commented it out
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 23:05:14 +00:00
beveloper
f8ce319207
removed some usec_delay() with spin(), since these functions are used inside the interrupt handler
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:55:46 +00:00
beveloper
2ec4faf00a
Removed device probing, it's now in driver.c
...
PCI id table, em_probe() and em_shutdown() are now gone.
Changed interrupt handler to use the BeOS calling convention, this avoid putting a wrapper around it.
em_attach() and em_detach() no longer link the adapter struct into a list.
When PCI io port access is configured, make sure that io address decoding is enabled in the PCI configuration.
replaced some offsetof() macros with #defiens to avoid importing all these structs.
Moved sysctl stuff into a #if 0 #endif wrapper.
Removed #include of FreeBSD header files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:48:04 +00:00
Michael Phipps
f141dd5709
Re-styled and (hopefully) finalized.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:41:30 +00:00
beveloper
5f1aaa70ce
added some BeOS compatiblity stuff for settings up resources, PCI access, Interrupt handling, etc...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:26:31 +00:00
beveloper
4543b62738
updated to most recent version
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:13:09 +00:00
beveloper
6acce18557
added phy configuration and some documentation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:08:18 +00:00
beveloper
eeb57e873c
replaced LOG with TRACE
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:04:31 +00:00
beveloper
4ade280af9
added a lot of register bits and register offsets, all taken from the documentation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 21:57:20 +00:00
beveloper
38f15423db
added info texts, init_hardware() now searches for hardware, replaced LOG with TRACE
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 21:53:42 +00:00
beveloper
c376689374
Removed REG*() macros and replaced them with read*() write*() macros.
...
Added chipset configuration, phy access, tx and rx interrupt handling, read and write hooks. Nearly working
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 21:50:29 +00:00
beveloper
45f9110d5c
added TRACE and ERROR macro, removed LOG macro
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 21:42:05 +00:00
beveloper
d5c64db1c5
First version of the:
...
Realtek RTL8169 Family Gigabit Ethernet Driver
Very basic, does only detection of the card and sets up some buffer descriptors.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 20:12:18 +00:00
beveloper
cf3d356127
Unfortunately, the original via-rhine driver is buggy and may hang during high traffic transfers.
...
These changes have been made by YellowTab and have been contributed to OpenBeOS.
While it might not fix every issue, things should be much better and more stable now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 19:34:04 +00:00
beveloper
e11301109a
A BeOS driver for the VIA Rhine chipset, written by Richard Houle.
...
Released under the BSD license.
===========================================
From: "Richard Houle" <richard.houle@sand.com>
Subject: RE: License question regarding beos via rhine driver.
Date: Thu, 1 Apr 2004 08:48:02 -0500
Whoa. You talking about very old stuff. I don't even know if I kept a copy
of that source code... If you have a copy of it, then you can do what you
want. I don't have any objections or restrictions.
For the license question, the driver was directly inspired by the FreeBSD
driver's source code. Therefore, It's a BSD License.
Richard Houle
===========================================
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 19:17:53 +00:00
beveloper
6d0dfa0f7e
FreeBSD Driver for the Intel(R) PRO/1000 Family of Adapters
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 18:59:33 +00:00
Rudolf Cornelissen
fb0e0c889e
added move_overlay() for virtualscreens
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 17:34:01 +00:00
Rudolf Cornelissen
ac83e70ce5
added move_overlay() for virtualscreens
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 16:17:24 +00:00
Rudolf Cornelissen
f1f5c0d05a
fixed compiler warning
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 14:26:37 +00:00
Rudolf Cornelissen
45a4e26e92
another modelist update regarding panels
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 14:21:01 +00:00
Axel Dörfler
5685273f87
Now maintains the private libroot variable "_single_threaded".
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:44:12 +00:00
Axel Dörfler
e304a7fd39
Minor cleanup, no longer includes BSD's stdio/local.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:32:12 +00:00
Axel Dörfler
f1e764a7e7
No longer uses fgetln() - that call is not part of the POSIX specs, and is
...
not supported by the GLIBC stdio that we now have.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:28:48 +00:00
Axel Dörfler
ee70fb4fed
Added glibc stuff to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:27:14 +00:00
Axel Dörfler
e7620319a4
Now links against GNU's stdio/libio instead of BSD's for binary compatibility with BeOS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:19:01 +00:00
Axel Dörfler
0490efc6ff
No longer compiles the BSD stdio files (we're using GNU's stdio now for compatibility).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:18:05 +00:00
Axel Dörfler
003be99349
Added missing header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 09:21:58 +00:00
Axel Dörfler
cda9457af2
Enable the stdio-common path.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 08:54:27 +00:00
Rudolf Cornelissen
65d3e07df2
sorted modelist for panels
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 07:28:34 +00:00
Rudolf Cornelissen
682c6e4a07
sorted modelist for panel native modes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 07:23:04 +00:00
Axel Dörfler
b9523fa3ef
Wrote a simple tool to copy files to a BFS image from a shell. Internally,
...
it uses the fs_shell offerings to provide that functionality.
This tool allows to overcome the BeOS cache bug that happens as soon as you
mount a file system image; when you write the files onto an image using this
tool, you will be able to use it in Bochs (or other such uses) directly
without a reboot.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 00:00:57 +00:00
Axel Dörfler
b166160684
Our BSD stdio now has snprintf(), too, sorry for the inconvenience.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-02 23:36:03 +00:00
Axel Dörfler
203849cc49
Fixed warnings about possibly non-initialized variables.
...
Fixed a possible non-crash (it OpenBeOS, addresses below 0x80000000 are valid
user memory).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-02 23:20:15 +00:00
Axel Dörfler
743c3cceb9
The BeOS cache will no longer be turned off in case of a mounted image when
...
NO_FILE_UNCACHED_IO is defined at compile time.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-02 22:58:15 +00:00
Axel Dörfler
1bf27bb166
Removed no longer needed files from the Jamfile (they've never been part of the repository anyway).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-02 17:05:51 +00:00
Axel Dörfler
b80d229ec2
Managed to compile all other needed files from the main device manager.
...
Added all of them - module_loader.c and boot_hack.c won't be needed anymore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-02 17:04:25 +00:00
Rudolf Cornelissen
4a3cf87482
modified panel modelines to be placed sorted in list
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-02 13:15:08 +00:00
Rudolf Cornelissen
63b94c104e
fixed secondary head specs (nview)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-02 12:18:19 +00:00
Rudolf Cornelissen
49e02c1862
fixed secondary head specs (nview)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-02 12:12:55 +00:00
Rudolf Cornelissen
14787e6d3a
important testrelease with panel DPMS programming disabled
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-30 20:33:48 +00:00
Rudolf Cornelissen
22ffe8b5c8
important testrelease with panel DPMS programming disabled
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-30 20:22:24 +00:00
Axel Dörfler
fe01b8fa14
Start of the integration of Thomas' pnp_manager (which is now called device_manager).
...
Nothing is tested right now, and it's not yet complete, but it's changed so that
it does compile in our tree (and looks a bit more like the other files, too).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-30 16:42:58 +00:00
Rudolf Cornelissen
8addb7c3d8
doc-update on some bits and pieces for TVout and panel use
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-29 12:40:29 +00:00
Axel Dörfler
511252a157
AddLink() added the link to the list of mounted volumes instead of the list
...
of links - that could have possibly hidden the boot volume under certain
circumstances. Thanks to Sean O'Brien for pointing this out.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-28 23:57:47 +00:00
Axel Dörfler
a44e28cc02
Fixed a possible buffer overflow condition in vfs_get_module_path().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-28 11:20:19 +00:00
Axel Dörfler
1802569c68
Removed the amount of warnings we get.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 23:53:59 +00:00
Axel Dörfler
9e2f757a6b
Unbuffered stdin/stdout the hard way - I'd guess this should be set to
...
buffered and determined at runtime if not (i.e. via isatty()) - but that
doesn't seem work at this time.
Must revisit later on!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 23:52:55 +00:00
Axel Dörfler
d68b82804a
Removed definition of internal_function - unfortunately, I don't remember why I did that, but lets hope for the best.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 23:51:09 +00:00
Axel Dörfler
0bc86489bb
Separated removed (via preprocessor) sections.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 23:49:46 +00:00
Axel Dörfler
3e9b495a0d
Added the real stdio_lim.h contents.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 23:48:29 +00:00
Axel Dörfler
bb72477637
Sure it can be compiled without optimizations...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 23:47:22 +00:00
Axel Dörfler
83375f1002
Removed unneeded exports.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 23:46:14 +00:00
beveloper
7164993bd6
Removed binaries from source tree. They shouldn't be here
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 23:39:08 +00:00
Rudolf Cornelissen
ed391aba66
panel DPMS update: now works on NV28 and NV34, still not ready yet though.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 19:52:06 +00:00
Axel Dörfler
86f34490f8
Simple R5 style pwd function implementation, courtesy of Eli Green.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 18:08:20 +00:00
Axel Dörfler
caa910df64
Changed some function return codes to return a status_t where appropriate.
...
Removed all old NewOS error codes.
Cleaned up the includes a bit.
Now prints out a list of preloaded images.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 11:55:31 +00:00
Axel Dörfler
192f207c78
Absolutely didn't like negative values for tm_wday and tm_mon before.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 00:50:01 +00:00
Axel Dörfler
50b3e5d4ce
Implemented asctime() and asctime_r().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 00:42:05 +00:00
Axel Dörfler
374d175555
Don't hide a possibly buggy caller.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 00:12:08 +00:00
Matthew Wilber
7fb3685ba6
Fixed low-depth grayscale issue, PNGTranslator can now read grayscale PNG images that are less than 8 bpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-26 23:09:19 +00:00
Matthew Wilber
1b56ef303a
Removed "unsupported images" test, as those images are now supported by the PNGTranslator. Also, removed the folder from the image paths to reduce redundancy and improve readability
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-26 23:07:29 +00:00
Axel Dörfler
130279a5bb
Added a ToDo item in BVolume::SetName().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-26 22:44:22 +00:00
Axel Dörfler
ef44862bfd
Now creates the usual links /bin, /tmp, /var, /system, ...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-26 21:46:01 +00:00
Axel Dörfler
52b6744e8d
bootfs now implements the read_fs_info() hook - it mostly reports a volume
...
name ("OpenBeOS").
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-26 21:43:12 +00:00
Axel Dörfler
179fd09879
Removed the unused argument from module_init().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-26 21:04:06 +00:00
Axel Dörfler
4b5782942c
Removed the unused argument from module_init().
...
Implemented the possibility for built-in modules - they have to be listed
in sBuiltInModules in module.c to be registered automatically.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-26 21:02:27 +00:00
Axel Dörfler
04ba0ff394
Implemented support for the module_dependency structure.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-26 17:13:36 +00:00
Rudolf Cornelissen
b4f28c2631
added DPMS for panels interfaced to with external TMDS transmitters
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-26 13:57:51 +00:00
Rudolf Cornelissen
64c14e7e31
updated head sel code for NV11 special treatment
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-26 08:29:11 +00:00
Philippe Houdoin
c6ee24f79e
Wrong headers path order, local headers should win over private.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-25 23:35:40 +00:00
Philippe Houdoin
f37d5d3cdd
Ooops, -nodefaultlibs means no libroot.so link by default!
...
Add it explicitly now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-25 23:22:25 +00:00
Philippe Houdoin
c898b9b707
Should not be linked against R5's libnet.so.
...
Move ISC-specific headers to private/net, including non-POSIX headers
required by ISC headers...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-25 22:45:42 +00:00
Philippe Houdoin
4a87916403
Should not be liking against R5 libnet.so!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-25 22:21:38 +00:00
Rudolf Cornelissen
59d5d4fb51
added NV11 output matrix setup
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-25 17:31:39 +00:00
Waldemar Kornewald
38737ad1b1
Just changed the libs to link against our private libsocket.so.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-25 10:38:18 +00:00
Rudolf Cornelissen
fe40131d4d
output devs/heads matrix setup added (NV11 not ready yet)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-24 14:41:54 +00:00
Rudolf Cornelissen
e7c91d6738
output devs/heads matrix setup added (NV11 not ready yet)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-24 14:35:59 +00:00
Matthew Wilber
e497624c0c
Added test to make certain PNGTranslator handles unsupported grayscale images properly
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-24 13:35:55 +00:00
Matthew Wilber
efbdb56bb0
Added comments to clarify transparency features of PNG images
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-23 21:48:17 +00:00
Matthew Wilber
5de6376dca
Initial check in for PNGTranslator tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-23 21:46:32 +00:00
Matthew Wilber
cc0dc2a277
Added PNGTranslator tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-23 21:45:38 +00:00
Rudolf Cornelissen
06f4c4397d
analog output switching updates: not ready yet...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-22 20:11:04 +00:00
Rudolf Cornelissen
30f7642281
driver works nicely with virtualized head setup now!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-22 14:41:39 +00:00
Rudolf Cornelissen
0669fe20bd
added virtualized CRTC access with it's advantages
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-22 08:41:03 +00:00
Axel Dörfler
3a4a20a09e
Updated to match general boot loader changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-22 01:13:20 +00:00
Axel Dörfler
3004a40b85
address_range is now called addr_range (again, to let the structure and the
...
typedef name match).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-22 01:06:01 +00:00
Axel Dörfler
90323acc2d
Added boot_loader.ld file (same as stage2.ld for ppc).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-22 00:53:55 +00:00
Axel Dörfler
b747c3b791
Updated to match the changes in the boot loader.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 22:58:02 +00:00
Axel Dörfler
9fac193453
Partially implemented get_system_info(), courtesy of Jack Burton.
...
Added system_info.c to the build.
Added stats support functions to sems & ports.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 22:57:39 +00:00
Axel Dörfler
e08a79330a
Renamed systeminfo.c into system_info.c
...
Added syscall for _kern_get_system_info().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 22:41:00 +00:00
Jérôme Duval
62b323538c
Devices working a bit now
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 18:55:56 +00:00
Axel Dörfler
bbf495f47d
map_page() will now be a bit more specific when it complains about an
...
invalid page.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 18:45:21 +00:00
Axel Dörfler
8d35b1a200
platform_start_kernel() now prints out the kernel entry point instead of
...
the address of the kernel_args structure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 11:11:45 +00:00
Axel Dörfler
4eedc697c3
platform_get_boot_partition() will now also get the boot device as parameter.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 11:10:32 +00:00
Axel Dörfler
4c03f90f63
Now correctly translates the partition block offset into a byte offset.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 11:09:33 +00:00
Axel Dörfler
fbe5e77d0b
Added a simple second heap that will survive the switch to the kernel.
...
elf_load_image() now uses this heap for the preloaded_image structures.
Moved gKernelArgs and gKernelEntry to different files.
Improved enabling debug output (it can now be activated by a makefile, too)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 02:32:36 +00:00
Axel Dörfler
d8023a2fc5
Fills in the required kernel args for the loaded kernel image.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 01:34:47 +00:00
Axel Dörfler
6ef64f7451
elf_load_image() now also saves the size of the dynamic section.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 01:33:44 +00:00
Axel Dörfler
8af4cf5fba
Replaced addr with addr_t.
...
Some minor other cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 01:28:40 +00:00
Axel Dörfler
185df3d6bd
Added a comment about why we are copying the passed in kernel args.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 01:25:23 +00:00
Matthew Wilber
85eea08ac9
decreased whitespace between files, modified error message text
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 00:35:57 +00:00
Matthew Wilber
e2ed67d283
removed debugger call
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 00:08:28 +00:00
Matthew Wilber
1c47da1361
Initial check in for pnginfo, command line program for displaying info about PNG image files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 00:05:21 +00:00