Ingo Weinhold
f0272f00b0
Added functions for partitioning and FS initialization. The latter ones have empty implementation though.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:06:30 +00:00
DarkWyrm
c37002b4ea
More documentation tweaks
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:04:58 +00:00
Ingo Weinhold
8672a4b33c
Added DiskScannerAddOn.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:04:55 +00:00
Ingo Weinhold
0f302e0df8
Added hooks relevant for partitioning. Empty implementation though.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:04:26 +00:00
Ingo Weinhold
97f9cd98b8
get_buffer() has been changed to use partition-relative offsets.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:03:44 +00:00
Ingo Weinhold
54641967ec
Added partitioning support. Changed get_buffer() to use partition-relative offsets.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:02:45 +00:00
Ingo Weinhold
dc36805868
Added disk_scanner subdir.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:01:30 +00:00
Ingo Weinhold
4f28177175
Added partitioninig support and missing documentation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:01:02 +00:00
Ingo Weinhold
23c4932121
Added missing documentation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:00:15 +00:00
Ingo Weinhold
d28b7f78d0
Added partitioning support and missing documentation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 22:59:38 +00:00
Ingo Weinhold
39e8f48cde
Er, forgot the prototypes for parameter retrieving for partitioning and volume initialization.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 22:58:12 +00:00
Ingo Weinhold
3a69ab6517
Added prototypes for partitioning and volume initialization.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 22:54:28 +00:00
Ingo Weinhold
19aa105f7b
Added the place for userland GUI settings disk_scanner add-ons. The empty Jamfiles basically.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 22:52:52 +00:00
Ingo Weinhold
89b1309d57
This is the (first draft of the) API for userland GUI settings disk_scanner add-ons.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 22:50:20 +00:00
shadow303
76e470159f
Just enough to cause headaches for the real app_server ;)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 20:14:22 +00:00
Michael Phipps
d89abe1f52
Added more mmap tests, and a file indicating what tests are yet to be done.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 03:00:31 +00:00
Ingo Weinhold
a0e033784d
Adjusted according to the disk_scanner module hook signature changes. Added some comments.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 01:22:12 +00:00
Ingo Weinhold
6e2c8a42b5
Adjusted to retrieve disk blocks via the new callback.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 01:20:54 +00:00
Ingo Weinhold
dafa158b38
Added parameter to the get_nth_*_info() hooks and implemented simple caching used for the FS modules.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 01:19:52 +00:00
Ingo Weinhold
81f71acbee
Now a callback function is used to read blocks from disk. Used to cache blocks when iterating through the FS modules.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 01:18:39 +00:00
Ingo Weinhold
e9a0da4169
The get_nth_*_info() hooks now return the used module respectively use the supplied one.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 01:16:30 +00:00
DarkWyrm
7e3d17ed77
Initial checkin with minimal documentation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 21:43:30 +00:00
DarkWyrm
d2eaf9ca3c
Expanded color_which definitions for R1
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 21:23:59 +00:00
DarkWyrm
61207aa15f
Added the pretty-much-final-but-probably-needs-tweaked system color set support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 21:03:27 +00:00
DarkWyrm
94cd5349e1
Documented ServerCursor
...
Other documentation tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 20:32:45 +00:00
DarkWyrm
e3bb08007b
Added color lookups when assigning colors and reworked documentation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 20:12:03 +00:00
Axel Dörfler
a019a926d7
Added the specification documentation of the node monitoring implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 20:05:19 +00:00
DarkWyrm
0799220cc3
Color Utilities for app_server and general use added to build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 19:47:59 +00:00
DarkWyrm
3a5a99606b
Color utilities for app_server and general use
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 19:47:06 +00:00
DarkWyrm
f4a6475edf
Finished API documentation and a couple API fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 18:44:01 +00:00
Axel Dörfler
5369f0dd55
Now returns descriptive error messages if something went wrong.
...
Also fixed an almost bug that only catched B_BAD_TEAM_ID error codes from
get_team_info() (bad style).
Made it a bit more style guide compliant.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:34:09 +00:00
Axel Dörfler
481ce84e6c
A very basic node monitoring test - directly uses the kernel calls (since
...
there is no libbe.so yet).
Doesn't even query the port; just causes send_notification() in the kernel
to be called which will print out some info.
Added to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:20:05 +00:00
Axel Dörfler
32a301820f
Added node monitor syscalls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:18:04 +00:00
Axel Dörfler
8177f89fd1
Added list.c to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:16:44 +00:00
Axel Dörfler
8cd0fe6e99
Added new doubly-linked list implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:15:20 +00:00
Axel Dörfler
5afbd29256
Added new files to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:14:07 +00:00
Axel Dörfler
457f7be6f9
Now uses the new list primitive instead of its own implementation (for linking
...
the vnodes of a mount structure).
Removed stubs for send_notification() and notify_listener() (they are now located
in message.c and node_monitor.c).
Added support for the node monitoring service.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:13:44 +00:00
Axel Dörfler
a7d654ad0a
Added almost complete node monitor implementation - support for watching mounts/
...
unmounts is not yet implemented.
Added an empty implementation for send_notification() - the function that is
(or will be) able to send out BMessages from within the kernel; currently
just prints out what should be done.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:11:02 +00:00
Axel Dörfler
6d16fb1d30
Added some file system private function prototypes (for node monitoring/live queries).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:05:58 +00:00
Axel Dörfler
f9bdcca59c
Added kernel private node_monitor.h header.
...
Moved definition of "struct io_context" from fd.h to vfs.h.
Introduced new fs/ directory; some cleanups to come.
Added node monitor syscalls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:04:22 +00:00
Axel Dörfler
fc3cda204e
New list primitive.
...
A doubly-linked list with some nice features.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:02:47 +00:00
Daniel Reinhold
d73534e172
added scanf() to stdio
...
(very curious that this was not already in there!)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 09:29:44 +00:00
Axel Dörfler
658694ae79
Removed the old dlfcn.h header - the real thing is located in posix/.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 19:13:12 +00:00
Michael Pfeiffer
d3a6f099e2
Changed licence to MIT license with permission given by Ithamar R. Adema.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 18:40:51 +00:00
Axel Dörfler
39de200904
Now you can really include it from the kernel.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 18:28:09 +00:00
Axel Dörfler
b6a77342a5
Moved to os/drivers because it's not a userland header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 17:53:28 +00:00
Axel Dörfler
8f0cd8cdee
Added header for node monitor calls for kernel add-ons.
...
Moved fs_interface.h to this location.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 17:52:33 +00:00
Axel Dörfler
31f5d420ed
Redone the NodeMonitor.h header file to suit our needs (it can now also be
...
included from standard C).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 17:43:31 +00:00
Stefano Ceccherini
51ee67dc8f
Fixed an obvious bug, simplified a bit the code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 12:32:09 +00:00
Stefano Ceccherini
089f7debba
Implemented buffered read in BBufferIO class, and added it to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 12:17:41 +00:00