Axel Dörfler
a476bfc5b1
Now waits for a whole second on the inode to become unbusy - just in case
...
there is a slow drive. Note, if the system is heavily used and the thread
waiting for the inode to become unbusy is a real time thread, that time
might be not enough - don't have a better solution at hand though (other
than waiting even longer).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 22:40:14 +00:00
Axel Dörfler
3cfd8472f9
Fixed the ominous "new_vnode() already exists with different cookie" bug,
...
thanks to Bruno for pointing me in the right direction (that has probably cost
him several hours of his life ;-))!
Yes, it was that complicated to fix it...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 22:36:23 +00:00
Axel Dörfler
470a60786e
Updated the ToDo list; thanks to Ingo I know now a little bit more about
...
float/double queries :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:51:19 +00:00
Axel Dörfler
6ac535c5c5
Fixed another bad bug in the block allocator: the size of the last block
...
of the block bitmap could be computed wrong - this could cause all sorts
of errors like: overwriting data, creating the "new_vnode with different
cookie" problem, etc.
Should really be the last bug in that piece of code ;-P
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:50:34 +00:00
Axel Dörfler
e1d37632bb
Now takes changed function of Index::Update() into account - queries on
...
non-indexed attributes now finally work as they should.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:47:06 +00:00
Axel Dörfler
ab47860c37
Index::SetTo() now sets fName even if the index initialization failed (for
...
whatever reason).
Index::Update() is now allowed to be called for those indices - in this case
it will just update all live queries.
Added some comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:45:09 +00:00
Axel Dörfler
09ed3db89a
Some minor style changes/clean ups.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:43:14 +00:00
beveloper
acd429ac89
Fixed clock rate calculation (multiple bugs).
...
Fixed sound stutter after start.
Added generic macros to deal with SIS7012 and Intel differences.
Fixed SIS7012 init (PICB register was written, instead of SR).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 20:44:12 +00:00
Tyler Dauwalder
6b3fa44dd0
Forgot to keep #ifndef DEBUG macros up to date.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 08:29:36 +00:00
Tyler Dauwalder
28f8fb21ea
Added NULL class name argument to DEBUG_INIT() calls
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:10:25 +00:00
Tyler Dauwalder
565457fd43
Added code to search out anchor volume pointers and dump out any
...
volume descriptor sequences found.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:09:50 +00:00
Tyler Dauwalder
6cbf5bf379
- Added option to include class name with DEBUG_INIT() to so it's clearer which
...
dump() or init_check() or what have you function is printing out debug info.
- Added DUMP_INIT() for dump() functions
- Added tabCount option for class DebugHelper.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:08:31 +00:00
Tyler Dauwalder
fbdfed8191
- Fixed union/struct bitfield tricks so they should actually work as desired now
...
- Started the mind numbing task of making all the disk structs endian-neutral
- Started the addition of dump() functions
- Updated descriptor_tag::init_check() to treat the location() field as a disk
block instead of an absolute address.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 07:03:18 +00:00
beveloper
3b3c3547a5
Updated jamfiles to match recent cvs changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-16 23:31:38 +00:00
beveloper
6fc1b5bacd
Fix sample rate calculation based on the AC-link clock rate.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-15 19:20:14 +00:00
Tyler Dauwalder
f896590804
Added DEBUG_INIT() categories.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 05:42:29 +00:00
Tyler Dauwalder
778d70ca00
- Added category support
...
- Moved doxs from header to cpp file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 05:18:41 +00:00
Tyler Dauwalder
fd67013594
Apparently I'm not allowed to link kernel modules to libroot.so... :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-14 05:17:35 +00:00
Axel Dörfler
b263fa5a63
Added Jamfile and fixed all warnings that popped up when compiling with -Wall.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 23:45:57 +00:00
Axel Dörfler
c0f1a43053
Initial revision
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 23:11:21 +00:00
Tyler Dauwalder
be45fb85b6
Revamped debugging macros:
...
- Updated macro formatting to be more readable
- Changed semantics to be more to my liking
- Added neat-o automatic call-stack indenting
- Added more detailed macro docs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:45:41 +00:00
Tyler Dauwalder
a44384b038
Hadn't intended to lose a step of revision history along
...
with the rename from Debug.{h,cpp}. This is what the
first revision of UdfDebug.{h,cpp} should have looked
like. The new updated version shall follow in the next
revision.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:43:11 +00:00
Tyler Dauwalder
13d4aa9ef9
Debug.cpp => UdfDebug.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:34:25 +00:00
Tyler Dauwalder
ccbc83414f
- Started udf_mount() implementation.
...
- Updated to use revamped debug macros
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:33:53 +00:00
Tyler Dauwalder
4ac730182d
- Started on volume recognition; volume recognition sequence walking implemented.
...
- Updated to use revamped debugging macros.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:33:03 +00:00
Tyler Dauwalder
9feb1a7258
- Renamed vsd_header to volume_structure_descriptor_header
...
- Extern'ed previously un-extern'ed char* constants
- Added volume_structure_descriptor_header::id_matches()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:30:38 +00:00
Tyler Dauwalder
0a100e1176
Made Block a template class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:28:21 +00:00
Tyler Dauwalder
fe89a5bae9
Renamed Debug.{h,cpp} to UdfDebug.{h,cpp} to cut down on
...
the proliferation of files named Debug.*
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 21:27:28 +00:00
Axel Dörfler
f48e0d551d
Updated ld-script location.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 01:00:20 +00:00
beveloper
b42b9990d6
Added C-Media codec detection.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 12:59:55 +00:00
Axel Dörfler
d94f33a308
Accidently broke Jamfile in the last revision (missing comment).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 07:38:33 +00:00
Axel Dörfler
f9959bb699
CFLAGS for the driver were dependent on the x86 architecture.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 03:05:46 +00:00
beveloper
9b91bd404b
minor changes, improve clock detection
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 01:12:00 +00:00
beveloper
07ce4687df
Added some Analog Devices codec initialization, should work for single
...
codec setups, master - slave setups are not implemented.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 00:47:14 +00:00
beveloper
309774ea11
Added variable sample rate support for prorpietary AD1819A and AD1819B codecs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 23:27:02 +00:00
beveloper
741054220d
remove the junk
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 22:26:56 +00:00
beveloper
13f96b477c
Verified some codec IDs
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 22:23:26 +00:00
beveloper
847993cd89
Even more init functions, but Analog Devices is still missing.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 20:12:24 +00:00
beveloper
151291b640
Added special SigmaTel initialization.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 17:55:25 +00:00
beveloper
fd65314748
removed comment
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 16:23:44 +00:00
beveloper
18e76fb3b1
Changed Sigmatel Codec IDs
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-10 16:19:35 +00:00
beveloper
e3530e2c3c
support for multiple frame rates
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-09 23:52:39 +00:00
beveloper
e301acb039
Simplified initialization.
...
More support for proplematic codecs, special inits (patches) still need to
be written after checking datasheets.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-09 22:16:34 +00:00
beveloper
5bf06a9e02
ac97 capabilities detection,
...
special Realtek ALC650 support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-08 22:27:59 +00:00
beveloper
dd04a5c6eb
rewritten AC97 handling
...
trying to detect real codec rate
support for 44100 Hz is now default
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-08 00:22:14 +00:00
beveloper
bffd89a7fd
added experimental media kit kernel add-ons
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-06 23:54:58 +00:00
beveloper
b43f227373
experimental, do not use
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-06 23:50:13 +00:00
Tyler Dauwalder
edd2334c85
Finished off the majority of the ECMA-167 Part 4 structures
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-06 07:26:48 +00:00
Axel Dörfler
4faf27e08b
Moved the arch-dependent driver generation to the correct Jamfile (it's
...
now built locally in the arch driver itself).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:26:19 +00:00
Axel Dörfler
3c2a0bd1f3
Added empty Jamfile for the PPC build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 14:20:19 +00:00