Commit Graph

19277 Commits

Author SHA1 Message Date
Ingo Weinhold
45962ab457 Fixed the test output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 17:08:06 +00:00
Ingo Weinhold
7ce28c0458 Added tests for BMessenger::LockTargetWithTimeout(), the assignment operator and the comparisson operators == and !=. < has still to be done.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 17:07:36 +00:00
David Reid
48377a24b0 Few changes...
- catch up with the changes to the interrupt functions
- change the way we handle the list of handlers to use a standard
  function rather than a home spun one :)
- don't add every function on a pci device as a seperate device
- add more info to the pci_info structure
- when FULL_MONTY turned on show more information


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 16:07:36 +00:00
David Reid
9adc7af78a Change to the interrupt handler return values.
Also reflect the change of function name and number of
parameters.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 16:04:12 +00:00
David Reid
fd2ee3a598 Change to the interrupt handler return values.
Also, the style police have visited ps2mouse.c


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 16:02:58 +00:00
David Reid
5186a4c76b Change to the interrupt handler return values.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 16:01:15 +00:00
Ingo Weinhold
68e46d4eb4 Made the lib directory in the directory of the tester executable the default search dir for test add-ons. It was ./lib before, which didn't allow you to run the tester from another directory.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 14:14:18 +00:00
Ingo Weinhold
bb653c6459 Migrated the BMessenger tests to the new test framework.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 14:08:36 +00:00
Tyler Dauwalder
a6b33ea3de + Moved BAutolock and BArchivable over to new testing framework.
+ Added ability to specify entire suites to the UnitTester program.
+ BAutolock and BArchivable tests now use CPPUNIT_ASSERT, but BLocker
tests crash for some unknown reason with said assertion, so plain old vanilla
assert() is still used. I'll look into this later.
+ BArchivable tests that try to load a RemoteTestObject are failing
because the resource file doesn't appear to be linked into
libsupporttest_RemoteTestObject.so.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 06:45:28 +00:00
Tyler Dauwalder
da21df9f97 No longer used
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 06:27:49 +00:00
Axel Dörfler
8480ee0c2c We now have a completely working "pwd" command; dir_vnode_to_path() is
fully implemented.
I removed all those insane INSANE() debug output and found what made
the difference between a working and a crashing kernel - will have
to investigate this later, because those two lines a) really belong
there, and b) even if they are there, the kernel shouldn't crash just
because of that.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 04:20:07 +00:00
Michael Phipps
f913779a80 Initial check in. Very preliminary and not really part of the kernel right now...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 03:55:07 +00:00
Axel Dörfler
16326dafb6 Added a missing newline.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 02:48:27 +00:00
David Reid
e76a020d33 Begone ERR_NO_MEMORY!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 01:36:28 +00:00
David Reid
c099d735dd Add pools.c to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 01:35:54 +00:00
David Reid
eab8081ffd Change the modules code to use the new hash code.
This fixed a lot of ongoing segfaults which were both intermittent
and unpredicatble.
Also improve some logic so we take a shorter path in simple_module_info


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 01:32:42 +00:00
David Reid
6ecc5c9950 The new hash code.
Essentially the code that the net stack used. the code is based on the
hash impl. in APR, that was itself based on a large number of different
people's efforts and various papers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 01:27:22 +00:00
David Reid
0c1eef852d Add pools to the build
Remove some duplicated build options
Comment out the beos section as it's not really of interest to people
not working on the modules/device code :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 01:23:24 +00:00
David Reid
90bc2d5f53 Big change to the way that PCI works.
- make pci into a true module now.
- the pci module builds and keeps a linked list of devices it finds, with
  a filled in pci_info structure
- pci module detects (at runtime) whcih config mech to use, though to date
  only mech 1 is implemented
- pci module does sanity check and warns if it fails
- config manager loads pci module and calls get_nth_pci_info to iterate
  through the list printing details
- pci is no longer called directly from the bus init function

there is still lots to do and I've tried to make sure that there are plenty
of comments in the pci.c file. I've also left the previous code in
place until we move on a little further when it will be removed.

This has been working with no problems on my system and doesn't change
any functionality as we don't have any devices that need PCI in our build
yet.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 01:20:15 +00:00
David Reid
9843673aa8 Add the random_test app
Move the building of the test apps into this dir's Jamfile as it seems
to make more sense that way. I'll be removing them from the one in
kernel shortly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 01:12:36 +00:00
Ingo Weinhold
9f2313755f Added BMessenger::IsTargetLocal/Target() tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 22:20:10 +00:00
Ingo Weinhold
c128929474 Added BMessenger::LockTarget() tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 22:19:16 +00:00
Axel Dörfler
63c5cc0aa1 Removed the big hack called vnode_to_path(), and replaced it with the real
thing dir_vnode_to_path().
But beware, it's not yet working correctly - will fix it later, I have no
time anymore.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 21:06:02 +00:00
Axel Dörfler
5213b70b42 Fixed a warning I introduced earlier.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 20:42:52 +00:00
Axel Dörfler
4bb2d8915b Implemented geist's recent change to mutexes - they are now no longer
benaphores; benaphores aren't that beneficial in kernel land, the benaphores
are a way to reduce the number of kernel calls.
They can now only be released by the same thread who originally acquired it.

Included other changes geist (change 1499) did to a) fix some bugs, and
b) reflect the changes made to the mutexes.
Cleaned the files a bit up, all the commented dprintf()s in elf.c are now
deactivated through a macro.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 19:21:40 +00:00
Axel Dörfler
de8acfc621 Fixed the messed up indentation (8 spaces instead of tabs)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 15:03:13 +00:00
Axel Dörfler
eb0471173e The kernel will now call arch_cpu_idle() in its main loop.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 14:19:53 +00:00
Axel Dörfler
3d4008e5e4 Added the arch_cpu_idle() call to all platforms, though only x86 really
implements it yet (from freston).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 14:19:14 +00:00
lillo
92622c9c58 adding environmental variables support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 14:07:56 +00:00
lillo
0ba337c0a4 adding environmental variables support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 13:59:03 +00:00
Axel Dörfler
a4f9f99fb0 Incorporated freston's changes to the stage 2 boot process which mainly
"fixes" (at least changes :-)) the calculation of the processor speed.

Also included some of geist's earlier changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 13:53:46 +00:00
Axel Dörfler
8bcee3b317 Added another subtle change from geist.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 13:31:55 +00:00
Tyler Dauwalder
9285de5124 + Started migrating Support Kit to new testing framework
+ Migrated BLocker tests.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 05:32:00 +00:00
Tyler Dauwalder
24b5aaa2fe Obsolete
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 05:25:59 +00:00
Matthew Wilber
ef6b469637 initial program check in
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 04:02:49 +00:00
Matthew Wilber
69c1e34fd7 initial program checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 04:02:24 +00:00
Michael Phipps
2296a4d62e Here is the modified InputServer.cpp file which includes the casting
change for the DispatchEvent() function.  This will allow the input_server
to work with the current proto6 code in the cvs tree.  It may even work
with the existing proto5.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 02:18:32 +00:00
Michael Phipps
a17c6b5131 Checkin per Jason Vandermark.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 02:16:28 +00:00
Michael Phipps
eac95b9746 Commit per Jason Vandermark.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 02:15:19 +00:00
Michael Phipps
7c8b733d03 Checkin, per Jason Vandermark.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 02:12:24 +00:00
Tyler Dauwalder
2de17bd3e8 Ooops :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 01:09:06 +00:00
Tyler Dauwalder
aad997bd6c Finished migrating Storage Kit tests to new framework.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 01:03:19 +00:00
Tyler Dauwalder
feae69d2c9 No longer needed, thus removed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 00:58:54 +00:00
Philippe Houdoin
2c24125957 dbg_add_command() changed into BeOS compatible add_debugger_command().
remove_debugger_command() added.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 22:07:37 +00:00
ejakowatz
19ba51b74d More BLooper tests and minor tweaks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 20:19:53 +00:00
ejakowatz
da94386c62 Added DEBUGGER_ESCAPE to the final test, which will launch the debugger
otherwise (in order to test the debugger message).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 19:54:08 +00:00
ejakowatz
04de1897ed More tests for BLooper.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 19:50:28 +00:00
Axel Dörfler
16ba498087 Applied change 1505 of the NewOS repository: added the -p option to makeflop
to be able to pad to the floppy block size.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 19:42:44 +00:00
David Reid
19111f404e Use the defined values from bootdir.h. This was part of an experiment to
increase the length of names we can use for adding things to the floopy,
but it didn't work. Still, these changes seem to make sense.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 19:37:28 +00:00
beveloper
08b993b215 remove use of unterminated strings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 18:29:41 +00:00
Ingo Weinhold
16b9077c10 Stupid me. Forgot to check in the generated file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 17:35:00 +00:00
Ingo Weinhold
a610fc7459 Merged vanilla branch into main trunk.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 17:18:28 +00:00
Ingo Weinhold
25fc975af4 Minor tweaks for sake of correctness and aesthetics. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 16:30:17 +00:00
David Reid
333119344a Another attempt to fix the module loading problem. I've also added
a load of comments explaining why it does the things it does.

In the get_module code we now correctly
call the init function, which was being missed before if we got
the module via search_module.

If people can test and confirm this works. It works here and has solved
all the issues I was trying to fix.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 16:08:53 +00:00
Ingo Weinhold
c551f3cdad Added alias floppy for $(OBOS_FLOPPY).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 13:29:58 +00:00
David Reid
b0bdff5216 Small fix to prevent a segfault.
Provide more info when a duplicate module name is detected during a scan.
Remove some code we no longer use.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 12:51:48 +00:00
David Reid
1a615d2c90 Some tidy up for the drivers we now include and load.
- add api_version to keyboard and ps2mouse
- remove some excessive debugging comments from random
- add back the last 2 NULL's for the device_hooks structure now we
  actaully define them (iovec's are now available)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 12:13:24 +00:00
David Reid
d2c1ff9a7d Few changes...
- add a lot of comments
- only lookup symbols as needed to keep the paths thru the function
  as small as possible
- add comments about the problems we have and give some idea about what
  needs fixing and what then needs removal from this file
- show the hooks pointer being passed to detect NULL pointers more
  quickly


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 12:10:38 +00:00
David Reid
fa10e022b1 Add some more comments.
Remove some debugging dprintf's we shouldn't need
The style police have paid a visit.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 12:06:58 +00:00
Tyler Dauwalder
d1f6c38f0d Unit testing update:
- Verbosity is now honored globally
- Added BTestCase::Outputf()
- Migrated BNode, BStatable, BDirectory, and BPath tests
- Added CommonTestLib, TestLib, and R5TestLib rules to Jamrules
- Updated Jamfiles for unit testing stuff
- Probably a few other things I've forgotten


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 10:50:55 +00:00
Axel Dörfler
cbe085bc5a Forgot some debug stuff...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 08:12:41 +00:00
Axel Dörfler
243d156e21 sys_seek() now returns the stream position as an off_t.
Minor bug fixes.
fd_close() now doesn't have to call remove_fd() anymore - it's now called
in user|sys_close(), fd_close() is now only called in the last put_fd().
Cleanup, improved debug output (without any warnings).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 07:55:51 +00:00
Axel Dörfler
b46f99148e sys_rstat() -> sys_read_stat()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 07:52:08 +00:00
ejakowatz
38f5ceca01 Some more BLooper unit tests, with some minor resulting tweaks to BLooper.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 06:18:27 +00:00
Ingo Weinhold
4f139d7754 Added BMessenger::IsTargetLocal() test cases.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 23:34:40 +00:00
Ingo Weinhold
8e4f7c25a8 Link against /boot/home/config/lib/libopenbeos.so rather than the one in distr/... This adds the necessary dependency, so that you can be sure that when running the test, it will use a version that is up to date.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 23:33:22 +00:00
Ingo Weinhold
e1f41e5d53 BMessenger::Target() uses BLooperList now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 23:28:07 +00:00
Ingo Weinhold
0e1fa9f1ad LOCATE is now set for the /boot/home/config/lib copy of libopenbeos.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 23:27:01 +00:00
Ingo Weinhold
12aa5123e4 Changes in generated files due to modification in Jambase and jamgram.yy.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:53:12 +00:00
Ingo Weinhold
e96d98165c Added jumptoeof to grammar.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:50:11 +00:00
Ingo Weinhold
fe9731da66 * Added parse_jumptoeof() to set the jumptoeof flag and parse_shall_skip() to
get it.
* Adjusted parse_file() to terminate when jumptoeof was invoked and reset the
  jumptoeof flag.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:49:03 +00:00
Ingo Weinhold
5f2a792b63 * Added compile_jumptoeof() as parsing hook for jumptoeof.
* Adjusted compile_rules() to terminate once jumptoeof was run.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:44:36 +00:00
Ingo Weinhold
e73bb7c88e Added support for always reading the whole Jamfile tree, even when invoking
jam in a subdirectory:
* Adjusted SubDir to include the root Jamfile, if invoked from a subdir.
* Added LocalClean and LocalDepends, which work similar to Clean and Depends,
  but have no effect, when called from a Jamfile that is not in the tree of
  the current subdirectory. Replaced the Clean/Depends invocations with
  LocalClean/LocalDepends where necessery.
* Added FIsPrefix which is a support rule for LocalClean and LocalDepends.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:42:02 +00:00
Philippe Houdoin
32ef543544 Run-time loaded versions of these keyboard and ps2mouse drivers are now
in 'keyboard' and 'ps2mouse' subdirectories of src/add-ons/kernel/drivers/arch/x86/,
making these old ones obsoletes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:28:20 +00:00
lillo
2b94bc7ba9 hopefully fixed the bochs debug issue
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 12:39:57 +00:00
Philippe Houdoin
a5da066045 We now don't forget to call drivers's init_driver() to init them completly.
Drivers who publish nothing are not keep loaded, too.
These are *hacks* until we have a real devfs dynamicly loading drivers...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 07:54:56 +00:00
ejakowatz
e3684651de Finally figured out why the first assert in IsMessageWaiting5() always
worked under R5 but only sometimes for OBOS.  Answer: the OBOS
implementation of BLooper was attempting to lock itself prior to fetching
the message from the queue.  I moved the lock attempt after the fetch and
it worked the same.  I realized that if the system was loaded heavily
enough, the assert might still fail simply because the looper would not had
enough time to get to the fetch (thereby emptying the queue), making the
assert pretty useless.  Given that it was originally there as a probing
test (rather than as an integral part of the unit test), there is no real
need for it anyway, so it is no longer used.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 07:51:51 +00:00
lillo
c4786ea6c4 Made bochs e9 hack switchable by configure
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 23:42:06 +00:00
Ingo Weinhold
921de64350 Use R5KernelAddon instead of Addon.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 17:13:41 +00:00
Ingo Weinhold
4b8c4e675c Added definition of B_BAD_DATA.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 17:13:15 +00:00
Ingo Weinhold
0505163bc5 To be able to build from other directories we need to add the subdir path to the included headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 16:24:53 +00:00
ejakowatz
df226cd7b3 A new class to manage the list of loopers in a team. Provides the
functionality of the existing static BLooper functions (which now call
through to it) in a nicer package.  New code should use the global instance
of this (BPrivate::gLooperList) instead of the old BLooper functions (which
are officially deprecated).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 16:04:06 +00:00
Axel Dörfler
296e9ce964 Fixed building of the btreeTest in the new tree.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 15:57:02 +00:00
ejakowatz
abb579331f Tweaks to deal with new repository hierarchy and use of unified CppUnit;
some bug fixes and a couple of new tests for BLooper.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 15:51:31 +00:00
Tyler Dauwalder
4b9ebdb7e6 Initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:59:19 +00:00
Tyler Dauwalder
8d86fe19f9 Added dynamic test suite loading
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:58:52 +00:00
Tyler Dauwalder
3401b538ed Added TestSuite
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:51:17 +00:00
Tyler Dauwalder
c577d5b5f4 Rewritten completely; designed to work with new framework
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:50:53 +00:00
Tyler Dauwalder
6c3b4a051f Added code to honor BTestShell::Verbosity() levels when outputting
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:50:13 +00:00
Tyler Dauwalder
20a45908ba Added dynamic test loading, plus a hack to allow global access to a BTestShell var
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:49:34 +00:00
beveloper
7d3a98264a I felt I had to do *something*
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 00:33:52 +00:00
Ingo Weinhold
4573543ca8 Removed third argument for SystemMain. Not longer needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 22:11:47 +00:00
Ingo Weinhold
58efc9d865 Renamed KernelAddon to R5KernelAddon to avoid confusion.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 17:31:49 +00:00
Ingo Weinhold
ca7ccc86cd Added compiling defines and debug flag. Now KernelAddon is used instead of Addon.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 16:40:01 +00:00
lillo
8367bc2f55 small fix to make threads to return meaningful values on exit
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 13:34:00 +00:00
David Reid
82610abc62 Make some changes o the ISA nad PCI modules and add the start of a config
manager module. As time goes on we can start fleshing these out.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 10:36:32 +00:00
David Reid
7cf327ff5e ERR_NO_MEMORY -> ENOMEM
ERR_INVALID_ARGS -> EINVAL
CVSR_NOMEMO----------------------------------------------------------------


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 10:22:17 +00:00
David Reid
4b6ac4574c Remove the isa test case as it now works and maintaiing it was a waste of
time as we will have lots more cases to test with :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 10:17:26 +00:00
David Reid
f2c397eac9 ERR_NO_MEMORY -> ENOMEM
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 10:15:14 +00:00
David Reid
faf1362d13 Continue removing ERR_INVALID_ARGS in favour of EINVAL
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 10:14:29 +00:00
David Reid
dfc6d0bbbd Tidy up some error values we're passing. Essentially remove the ERR_SEM
errors, though these will need to be checked.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 10:10:22 +00:00
Axel Dörfler
16237a1692 The kernel will now be build again in the Jamfile (or was there a pressing
reason to disable it?)
Updated much code to reflect the changes in the VFS, including libc's open()
(you can now also create files using this function), and opendir().
Added the syscalls for sys_open_dir(), and sys_create_dir().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 05:18:21 +00:00
Axel Dörfler
3b120ea240 Updated the code to reflect the changes in the VFS.
Fixed some bugs in fd.c (how many more bugs can be in a small file like this? :-).
Added the syscalls for sys_open_dir(), and sys_create_dir().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 05:15:34 +00:00
Axel Dörfler
ea536d2ba4 Updated VFS, more POSIX like open/create, has now extra open_dir/create_dir
functions. sys_create() now returns an fd of the open file (some code in the
kernel shell already depend on this).
Moved the seek functions to fd.c.
Updated all internal file systems to a new and updated API.
vfs.c is not cleaned up well, but also has some bug fixes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 05:13:20 +00:00
beveloper
07d1d1fff1 Taking the address of a temporary is a bug, even if it seems to work fine.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 01:58:07 +00:00
beveloper
4aec725457 Taking the address of a temporary is a bug, even if it seems to work fine.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 01:31:18 +00:00
Ingo Weinhold
0186b32eac Build hey.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:47:31 +00:00
Ingo Weinhold
d7caef315e hey.c -> hey.cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:47:10 +00:00
Ingo Weinhold
1ab5344ac7 Removed jam from the build. It doesn't make sense to build the build tool regularly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:45:31 +00:00
Ingo Weinhold
0702d16ff6 That's the price to pay for having generated files in the CVS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:43:37 +00:00
Ingo Weinhold
ab8f576120 In case '.' isn't in PATH...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:42:11 +00:00
Ingo Weinhold
7b26da89fc Set sane variable values for BeOS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:41:22 +00:00
Ingo Weinhold
47e9aba348 Merge from the vendor branch. Now we've got the real version.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:37:57 +00:00
Ingo Weinhold
8e5bbc1f49 It wasn't a good idea to remove Jamfile...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:36:08 +00:00
Ingo Weinhold
aa398c8e2c Initial revision
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:29:12 +00:00
Ingo Weinhold
0bb69689e4 Removed in preparation for jam import.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:28:33 +00:00
Ingo Weinhold
13076722ef Unsuccessful attempts to get the BArchivable tests building.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 22:45:21 +00:00
Ingo Weinhold
285a7bf086 Tried to get the remaining tests added to the build.
* The support kit tests are commented out as they badly fail to compile.
* I tried the net kit tests, but had to stop very early as I didn't get it
  compiled. David?
* Some BFS tests don't compile due to a missing header and the undefined
  B_BAD_DATA. Axel?
...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 22:43:55 +00:00
Ingo Weinhold
b3727040a0 Added add-ons test to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 20:43:24 +00:00
Ingo Weinhold
9effd71975 Added missing prefs applications to the build and fixed some smaller problems.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 20:40:26 +00:00
Ingo Weinhold
7561e939f5 Added libtranslation.so to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 20:38:56 +00:00
Ingo Weinhold
a385106e06 Added the remaining print drivers/add-ons to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 16:53:02 +00:00
Ingo Weinhold
f1bc586206 Fixed the target location for the add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 16:52:39 +00:00
Ingo Weinhold
97558ac202 Obviously needed for building but missing in the new tree.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 16:44:13 +00:00
David Reid
cdbcdb71d9 Marcus pointed this out! Thanks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 00:55:02 +00:00
Ingo Weinhold
7b65656e74 Added virtually empty Jamfiles to get rid of the warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 00:18:25 +00:00
David Reid
d2ececb63c Modify the way that the drivers dir works. We now only build dev.c and
do everything from there. I'd liek to move this into the main kernel
once we figure out how to make the rest of our devices load at
run time without needing to have small headers to include their init
routines.

This is a step along the way, but at present the console modules
can't be loaded that way.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 23:52:01 +00:00
David Reid
fdb1688888 OK, add the new files this time! CVS is behaving strangely for me at the
moment :(


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 23:49:47 +00:00
David Reid
2bf4a34fc2 Add the keyboard and ps2mouse driver here as dveice drivers instead of having
them statically linked.
Adjust some of the headers for the Drivers change.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 23:49:04 +00:00
David Reid
2dcaf9a76a This may not be liked by some, but we do have archictecture dependancies on
some of our device drivers, and this should help keep them nicely
isolated from each other.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 23:46:20 +00:00
David Reid
1255f4f403 drivers.h is now Drivers.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 23:27:32 +00:00
Ingo Weinhold
d2c5bcbc5f Added listdev, mkdos and pc to the build. The gnu subdirectory is still missing, but it doesn't compile as a lot of files are missing and I wonder anyway, if we want to pollute the tree with GPL.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 22:11:53 +00:00
David Reid
dcda4e36eb We no longer have any common drivers - they're now device drivers and found
in add-ons/kernel/drivers/common


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:50:49 +00:00
David Reid
fa81d8fc65 Digit isn't here anymore!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:47:47 +00:00
Ingo Weinhold
0b0485aa13 Exclude the storage kit tests from the build until they will compile again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:40:28 +00:00
Tyler Dauwalder
edcba68313 Added SemaphoreSyncObject, remove SafetyLock
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:31:23 +00:00
Tyler Dauwalder
0a99bdf489 Fixed multithreaded NextSubTest() output problems
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:30:45 +00:00
Tyler Dauwalder
b7ac06cfaa Semaphore base SyncObject
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:28:41 +00:00
Tyler Dauwalder
4dd5a911be Rhymes with BAutolock... :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:27:54 +00:00
David Reid
b1c8e50995 Renmove net stuff from the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:25:24 +00:00
David Reid
4ab9bc87a6 Add snooze!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:24:28 +00:00
David Reid
100b0f973d Fix a couple of errors we no longer have (ain't regression wonderful)
Change to using device drivers for null, zero and digit
Small changes to the way we init devices.

NB the random driver has shown that devices are not being handled correctly,
   so this is something we'll ahve to live with until the vfs person fixes it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 19:24:26 +00:00
David Reid
fb8aa06112 Add a random/urandom driver (NB not yet working)
Add ibuild rules for Marcus's AC97 driver to the openbeos build, ithat
will allow it to be built for OpenBeOS. At present they don't work
due to missing headers, but aftre a succesful build this can be
uncommented and it will build and OpenBeOS will try to laod it.
This will provide a nice test case
as Marcus has provided the source! Thanks.
Added the null, zero & digit drivers here and they will be removed from
kernel/drivers

NB this has shown that drivers are not being handled correctly by
devfs. I would have tried to look at it but as it falls under the remit
of vfs I won't touch it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 19:19:30 +00:00
David Reid
03d86a851e Build the kernel first. This cures the earlier problem with
add-ons being in the wrong place in our floppy!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 19:07:26 +00:00
Ingo Weinhold
f203c28641 Use RelSymLink instead of SymLink.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 18:49:07 +00:00
Ingo Weinhold
673398074f Added creation of a symlink from the driver bin dir to the "real" dir.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 18:48:28 +00:00
beveloper
5667d23a37 fixed a bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 17:47:38 +00:00
beveloper
9bd6befeb5 the publish_devices export in Drivers.h needs to be fixed, too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 16:06:43 +00:00
beveloper
dc03e28f18 removed warnigs, spelling errors, added prototypes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 15:48:55 +00:00
beveloper
b6de9d11ff removed compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 15:16:31 +00:00
beveloper
8b721c0728 removed warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 15:07:40 +00:00
David Reid
49dc88277f Remove sockettest as we're not doing sockets at the moment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 14:55:28 +00:00
David Reid
4828a5e712 Comment out the socket syscall as we don't have any socket code in
the build at the moment.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 14:54:25 +00:00
David Reid
4cb55da05c Remove the networking code until it's ready.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 14:53:25 +00:00
David Reid
46f728924e Include errno.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 14:49:02 +00:00
beveloper
48ff964fe7 removed warnigs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 14:01:44 +00:00
beveloper
79de8cf953 get the legacy.media_addon compiling, even though it wont work
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 12:33:57 +00:00
David Reid
9ca7451251 Swap the order of the headers so we have everything defined and so avoid
the warnings about sem_info and port_info (defined in kernel/OS.h)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 10:15:18 +00:00
Michael Pfeiffer
54d6b9d6a9 Created Jamfile(s) to build PDF Writer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 04:38:44 +00:00
beveloper
a967837dbf adding the ICH AC97 audio driver into the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 00:42:06 +00:00
beveloper
7e38b69c49 fix compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 00:39:37 +00:00
beveloper
e020762819 finally get libmedia.so building :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 00:25:55 +00:00
David Reid
d2de8b3867 Include kerrors.h where it's required.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 22:21:56 +00:00
David Reid
f6327bfa2e ERR -> E
Change header includes if reqd.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 22:21:16 +00:00
David Reid
c90a447062 ERR -> E
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 22:19:52 +00:00
David Reid
394b2aa25b ERR -> E
CVSR -> E------------------------------------------------------------------


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 22:18:07 +00:00
Ingo Weinhold
93e99fcd57 Added commands in the top level dir to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 22:10:58 +00:00
David Reid
082fc2ba6d If Axel doesn't want to maintain this then why are we still building it?
Remove the iso9660 stuff from the build as it's no longer being
maintained and never did anything anyways :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@98 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:49:34 +00:00
David Reid
66da50355a We shoulnd't be using ERR_ codes here, so change it to a posix one.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@97 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:47:09 +00:00
David Reid
47cfcef2aa Change a couple of codes to be POSIX ones.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@96 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:42:50 +00:00
David Reid
62f1aef129 More posix codes...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@95 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:41:20 +00:00
David Reid
058d10cc83 Change to use EIO
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@94 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:40:03 +00:00
David Reid
0141c92400 Ctahc up with more posix codes instead of ERR_
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@93 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:38:58 +00:00
David Reid
d700c5a3cf More adjustments to deal with POSIX codes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@92 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:25:29 +00:00
David Reid
d71118c74f Change to using POSIX error codes and adjust the includes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@91 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:24:54 +00:00
Ingo Weinhold
35d696eaba Added the midi and screensaver kits to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@90 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:05:38 +00:00
Ingo Weinhold
b72a95e61b Tried to add the currently only media add-on to the build, but commented out the lines in the Jamfile, for it fails to compile -- not finding headers I can't find either. Whoever is responsible may uncomment them and get it compiling.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@89 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:03:26 +00:00
Ingo Weinhold
25f901aec9 Link against the OBOS version on libmedia.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@87 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 19:55:52 +00:00
Ingo Weinhold
0a483e7221 Fixed includes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@86 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 19:54:41 +00:00
Ingo Weinhold
19f0c92e2f Added the media kit to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@85 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 19:54:20 +00:00
ejakowatz
865f9d8e38 Fixes in BLooper and its tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@84 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 15:49:01 +00:00
Tyler Dauwalder
e832976e05 Updated to match changes to src/tools/cppunit/
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@79 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 03:39:36 +00:00
Tyler Dauwalder
bc85a65ae3 Initial checking of unified unit testing app and example test.
+ Currently, only statically linked tests are supported.
+ None of the existing tests have been integrated into it yet; that will come after I add dynamic linking.
+ The example test has multithreaded and singlethreaded examples
+ The name of the unit testing app is open for negotiation if UnitTester is unacceptable for some reason. :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@78 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 03:34:41 +00:00
Tyler Dauwalder
03aa30ce94 Big CppUnit Update
+ Initial threaded test support
+ Integrated CppUnitShell code into TestShell


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@77 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 03:31:07 +00:00
Tyler Dauwalder
e5c292c0c9 Not currently used or integrated into other files, thus removed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@76 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 03:30:03 +00:00
beveloper
24509b3b8e Stop these files breaking the build, needs to be fixed later
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@72 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 01:09:21 +00:00
beveloper
440b3fb4ba /boot/home/config/add-ons/media/legacy.media_addon
Adding the legacy (BeOS R3) sound driver interface BMediaAddOn.

Written by Jens Winkler, snapshot from 2002-06-02.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@71 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 00:42:58 +00:00
beveloper
af9bf37038 BeOS Sound Driver for Intel ICH AC'97 Link interface
Inital checkin of version 1.0, as published on BeBits.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@70 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 00:12:08 +00:00
ejakowatz
e24ab46c4e Changes to BLooper tests so that they will work again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@69 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 00:04:38 +00:00
ejakowatz
c07b7f382d A couple of minor tweaks to get things building again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@65 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 22:17:00 +00:00
Axel Dörfler
07fefdf493 Implemented the read_dir(), and rewind_dir() functions for all internal
file systems.
Removed the read() functionality for directories.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@63 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:55:33 +00:00
Axel Dörfler
b18756ad83 Updated dev.c to use sys_read_dir() instead of sys_read().
Is this file even needed anymore? If so, we may move its functionality elsewhere.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@62 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:54:34 +00:00
Axel Dörfler
be28e9bd97 Added the syscalls for sys_read_dir(), and sys_rewind_dir(), and moved the
use of the IOCPARM_LEN() macro to the ioctl() function in libc.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@61 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:49:37 +00:00
Axel Dörfler
65dc706027 Converted module.c to use sys_read_dir() instead of sys_read(). But it really
should use opendir(), and readdir().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@60 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:48:27 +00:00
Axel Dörfler
c1f7f96bbf Added a parameter for the maximum number of dirents for sys_read_dir().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@59 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:47:38 +00:00
ejakowatz
48894e06d7 New jamfiles for several prefs apps and modifications to the top prefs
jamfile to use them.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@57 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:23:57 +00:00
Ingo Weinhold
1c2a7bcee4 Regardless of whether or not the dir is renamed to bfs, here is a Jamfile. It doesn't compile on my machine, but I remember having heard something about a Be header file missing a declaration.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@55 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 20:31:53 +00:00
Ingo Weinhold
5147813236 Added print server and screen saver to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@54 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 20:14:22 +00:00
Ingo Weinhold
77763004e0 Fixed include.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@53 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:59:20 +00:00
Ingo Weinhold
a63dade9fe Added the media addon server to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@52 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:58:30 +00:00
Ingo Weinhold
ac01d3440b The media server rolls in. Well, it doesn't compile, but it doesn't in the old tree either.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@51 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:48:09 +00:00
Ingo Weinhold
b8c8c78099 Here goes the input server.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@50 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:33:56 +00:00
Ingo Weinhold
b01bedd574 This brings the app server proto6 into the game. It doesn't compile completely though and I don't even know, if all the stuff in the subdirs is really needed. DarkWyrm?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@48 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:24:36 +00:00
Ingo Weinhold
d820b0ec87 Adjusted some Jamfiles to reflect the new tree structure and moved AddResources before the respective building rules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@47 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 17:58:20 +00:00
Ingo Weinhold
0971030020 Moved AddResources up. It needs to be called before the building rule.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@46 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 17:55:17 +00:00
ejakowatz
05cce1aecd Initial checkin.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@44 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 16:48:03 +00:00
Ingo Weinhold
70c31e5157 Reflect the latest change to the UsePublicHeaders rule.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@43 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 16:36:50 +00:00
Axel Dörfler
f2e60e56e0 Added missing a newline.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@39 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 15:48:19 +00:00
Ingo Weinhold
8bac7924c0 Fixed the path to the input server.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@38 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 15:20:25 +00:00
David Reid
434d5d1923 As this seemed to be going round and round with no-one fixing it, here
is a fix.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@34 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 13:08:47 +00:00
Ingo Weinhold
25d7f21603 Typo: key -> hey.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@33 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:07:35 +00:00
Ingo Weinhold
28fd2c3c85 The included Test.StorageKit.h has been renamed to StorageKitTester.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@32 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:06:51 +00:00
Ingo Weinhold
690f2d09ff Adjusted the SK tests Jamfile to work in the new tree.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@31 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:05:10 +00:00
Ingo Weinhold
97a2517bdc The public OBOS include dirs were invalid.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@30 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:04:14 +00:00
Ingo Weinhold
fc5a434b2c Include the Storage Kit tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@29 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:03:00 +00:00
Ingo Weinhold
32bc7795b0 Adjusted the original SK Jamfile to work in its new friendly neighborhood.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@28 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:02:00 +00:00
Ingo Weinhold
736994efc9 Uncommented Storage Kit include.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@27 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:00:19 +00:00
Ingo Weinhold
7e4c96cf79 SymLink.h included kernel_interface.h, which is a private header. Doh!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@24 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 01:56:30 +00:00
Ingo Weinhold
5527b575c3 Renamed Test.StorageKit.cpp/h to StorageKitTester.cpp/h. Just to avoid problems with Jam's suffix handling.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@22 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 01:50:25 +00:00
Ingo Weinhold
533dbf2142 Adjusted to the new tree structure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@20 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:43:03 +00:00
Ingo Weinhold
98602e0409 Adjusted to the new tree structure, though currently (?) not needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@19 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:41:59 +00:00
Ingo Weinhold
88a28d9072 Added newline at eof.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@18 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:40:28 +00:00
Ingo Weinhold
66f77d7bfd This one obviously got lost. Adjusted to the new tree.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@16 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:38:17 +00:00
Ingo Weinhold
54f76689cb Adjusted the SubDir and SubInclude parameters.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@15 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 20:15:44 +00:00
Ingo Weinhold
8b3bd88c41 I don't know why the path to this header is hard-coded. However, adjusted to the new structure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@14 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 20:14:09 +00:00
ejakowatz
5f281ed502 Well, I couldn't go to bed without making *something* build ... ;)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 13:40:32 +00:00
ejakowatz
52a3801208 It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00