Commit Graph

211 Commits

Author SHA1 Message Date
Ingo Weinhold
0c0b2cd060 * Got rid off the third SystemMain parameter and by improving
BuildKernel and KernelFloppyImage. Now the kernel and the floppy image
  depend correctly on there generating tools.
* New InstallFloppy rule to simplify the process of building and writing
  the floppy image.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 22:08:01 +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
Ingo Weinhold
af28904ff3 Fixed setting the target specific LINKFLAGS in Addon and SharedLibrary. Added the rule KernelAddon for, guess what, kernel add-ons. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 16:38:21 +00:00
David Reid
53608d99db Add the config_manager.h that I somehow missed from my eariler commit.
Thanks to Graham MacDonald for pointing this out.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 16:11:11 +00:00
David Reid
e927084dbf This is now in another header file and so not required here.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 14:52:28 +00:00
Ingo Weinhold
2854c6ede0 Removed the kernel building lines as they are in src/kernel again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 13:53:07 +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
d78dd85384 Add some more headers.
These are the Be headers but my (albeit brief) research shows that
we're OK to include these as they were released quite a while back now.
Michael?


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 10:34:41 +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
Axel Dörfler
eba8b6cfb9 Next update of the VFS: more posix like open/create; divided create in
sys_create(), and sys_create_dir(), open in sys_open(), and sys_open_dir().
Small cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 05:08:26 +00:00
beveloper
85493f0665 Updated to the API changes introduced by BeOS R4's legacy BeOS R3 sound driver API support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 02:42:32 +00:00
beveloper
fc38cfc784 Updated to the API changes introduced by BeOS R4's legacy BeOS R3 sound driver API support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 02:38:00 +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
653c3f83ea Get rid off those ugly ? lines on cvs up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 22:49:42 +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
9fc6b2e18b Added rules SimpleTest, PrependObjectHdrs and Filter. The latter one is not
longer needed though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 20:37:40 +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
08125d0764 * Commented out SetupIncludes in StaticLibrary.
* Added rules ObjectReference and ObjectReferences which allow for using
  another identifier referring to an object. In particular useful in
  combination with...
* Added *.o case in UserObject rule. It does simply nothing. This lets
  you add objects to the list of sources for Objects or Main rules. Very
  nice, if you want to (re-)use an object built in another directory.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 16:50:16 +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