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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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