694 Commits

Author SHA1 Message Date
Philippe Houdoin
89a650ddad Fix some warnings, now showing up when building, thanks Ingo!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 21:57:21 +00:00
Tyler Dauwalder
a64f0e9fc2 Now uses new SinglyLinkedList template parameters.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 06:22:27 +00:00
Tyler Dauwalder
6d14aa1a4b Fixed bug that disallowed mounting a UDF volume in a regular file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 06:21:25 +00:00
Tyler Dauwalder
b4bfabded1 Account for addition of consts to return values from PartitionMap::Find() and friends.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 06:19:07 +00:00
Tyler Dauwalder
7cb42b6167 Switched to SinglyLinkedList.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 06:17:44 +00:00
Tyler Dauwalder
2899835a86 Using util/SinglyLinkedList.h now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 06:15:52 +00:00
Axel Dörfler
15832d7b04 Removed a warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 12:30:25 +00:00
Axel Dörfler
b132797ec3 Made the module working in the boot loader.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 02:41:05 +00:00
beveloper
e4981be8ac added PCI-to-PCI bridge cache flush
added 36898 clock rate


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:29:27 +00:00
beveloper
45a372ac3d enable debugging functions only when DEBUG defined
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:28:42 +00:00
beveloper
0effa723ea uncommented parameters, fixed defines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:27:54 +00:00
beveloper
a4f5cfda31 detect double mode rates only if they are supported by the codec
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:27:10 +00:00
Axel Dörfler
1a0637a258 Applied NewOS change 1828 - moved the interrupt initialization to the
correct point.
Cleaned up the sources a bit.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-05 00:12:13 +00:00
Axel Dörfler
5c80ce8dfa Minor style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 16:30:05 +00:00
Axel Dörfler
0503a73f11 Implemented a simple Apple style partitioning scheme add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 16:28:47 +00:00
Axel Dörfler
feff755691 Fixed the problem shatty reported - I just forgot to check out the latest
code, since I made the problem causing changes on another machine...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 14:56:45 +00:00
Axel Dörfler
7604ff4246 removed unused headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 14:56:01 +00:00
Axel Dörfler
ea9b59c915 Made the amiga_rdb module ready for the boot loader.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 02:45:13 +00:00
Axel Dörfler
161915fd91 Resolved the name clashing caused by the introduction of atomic_set() and
atomic_test_and_set() to the OpenBeOS headers (prefixed BFS versions with '_').


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 04:26:04 +00:00
Axel Dörfler
d2a0f6a3dd Moved the checksum validation for child partitions from amiga_rdb_scan_partition()
to get_next_partition().
If a wannabe partition fails its checksum test, all partitions that might come
later are now skipped. Added a ToDo item for what would be a nicer dealing with
such errors.
get_next_partition() and search_rdb() are now static.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 04:04:16 +00:00
Axel Dörfler
37dae1afce Moved the checksum validation into a templatized function; the checksum
is now tested for partition_blocks as well.
Makes use of the new endian-aware structure methods.
If a partition is out of bounds (starts or reaches beyond the available
disk space), it won't be registered anymore - not sure if that's sooo
desirable, though.
Removed some unneeded debug output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 03:56:22 +00:00
Axel Dörfler
9f34c3c766 Added some more endian-aware getter methods for fields actually used.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 03:52:53 +00:00
Axel Dörfler
da1a45d3c0 Made the module name compatible with the userland module loader - it requires
the file path to be part of the module name (that's not the case for BeOS, is it?).
Also added some more debug output, and now only allocate a new rigid_disk_block
if we are going to need it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 03:11:30 +00:00
Axel Dörfler
91b4829872 Initial Amiga RDB read-only support. Code itself is tested, but not yet in
this "shell" (the new DiskDeviceManager module API).
Hope for the best :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 00:59:45 +00:00
Waldemar Kornewald
62315ec459 Fixed compilation warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-01 16:09:51 +00:00
beveloper
ef86d67dcb added ICH5 support and fixed a few warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 18:21:08 +00:00
Tyler Dauwalder
08f7d1d4b1 Included UDF DriveSetup add-on in the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:55:56 +00:00
Tyler Dauwalder
03e51832d6 Commented out declarations for userland apps, since they were
aggravating the compiler when used in the DriveSetup add-on.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:52:12 +00:00
Tyler Dauwalder
62426f6446 - Restructured identification and mounting code a bit to make it cleaner
- Implemented static Volume::Identify()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:48:49 +00:00
Tyler Dauwalder
49cab54852 Added support for sending debugging output to a file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:47:19 +00:00
Tyler Dauwalder
497bc759e4 vfs_interface.cpp => udf.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:46:01 +00:00
Tyler Dauwalder
798f154212 Added initialization of debugging output file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:43:30 +00:00
Tyler Dauwalder
80bae611b7 vfs_interface.cpp => udf.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:42:30 +00:00
Tyler Dauwalder
33cd6a8a61 Jamfile for UDF DriveSetup add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:39:46 +00:00
Tyler Dauwalder
03bd8fccd2 R5 DriveSetup add-on for UDF. I'm placing the add-on source here, instead
of, say, src/add-ons/drive_setup/fs/udf/, because we won't need it for OBOS::R1,
but will instead need a disk device manager add-on, which will be written later.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:39:22 +00:00
Ingo Weinhold
c1b7aba392 Changes reflecting the change of semantics of the DEBUG variable.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 23:17:23 +00:00
Niels Sascha Reedijk
6a7f7ee06f The RTL8139 driver is now fully WORKING!!!
I have made an (ugly) hack around the transmit problem (but then again, aren't
hacks ugly all the time?). I still don't know if this is the proper thing, but
the point is that it seems to work now. I don't know if it is my mistake or
the cards mistake that I cannot schedule more than one write at a time, but
I'm looking into this. I don't know the difference in performance between this
driver and the one in R5, but I'm guessing this one's still a bit slower. I'll
continue to hack the driver in order to maximize performance.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-23 10:56:44 +00:00
Jérôme Duval
e9ac8260a6 ac97 functions fixed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-21 09:23:41 +00:00
Axel Dörfler
ffbc2ebc23 Moved the driver initialization from init_hardware() to the more common
init_driver() - also added a matching uninit_driver() (just in case :)).
Replaced in8()/out8() with calls to the ISA bus manager (NewOS change 1804).
Removed unused includes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-18 03:53:01 +00:00
Niels Sascha Reedijk
1501c2bf3e This is just an outline of the USB stack: what it is going to look like. It is definately not
ready for testing. Also the documentation is far from complete (it's in it's early phases).
Unfortunately I don't have enough experience in hardware programming to prototype
it first, so I'll be testing the things that I design in the document.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-12 20:36:24 +00:00
Tyler Dauwalder
282644b3ec Initial timestamp support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-05 07:39:10 +00:00
Tyler Dauwalder
fb8ce46910 Added make_time(), which converts a udf_timestamp() to a time_t.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-05 07:38:35 +00:00
Tyler Dauwalder
a0ff5accb6 Added AccessTime() and ModificationTime().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-05 07:37:10 +00:00
Tyler Dauwalder
83d7be1c6f Fixed some oversights in udf_timestamp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-05 07:36:36 +00:00
Tyler Dauwalder
aa02972ee8 Implemented:
udf_open_dir()
udf_read_dir()
udf_free_dir_cookie()
udf_open()
udf_read()
udf_walk()
and possibly others.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 07:01:49 +00:00
Tyler Dauwalder
a71fd51283 _Map*() -> Map*()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 07:00:45 +00:00
Tyler Dauwalder
8338064665 Conversion functions actually work now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 07:00:04 +00:00
Tyler Dauwalder
3dc4d42634 Implemented file reading
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 06:59:21 +00:00
Tyler Dauwalder
928e05006d - More endianness stuff
- More file entry flags


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 06:58:49 +00:00
Tyler Dauwalder
dcd9a8054b Implemented actual iteration.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 06:57:36 +00:00