Axel Dörfler
a48a5ab889
devfs now supports the I/O scheduler mechanism and automatically uses it
...
for all raw disk devices.
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 13:33:31 +00:00
Axel Dörfler
6e3462b57e
Added I/O scheduler to the build.
...
Removed unnecessary grist from source files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 13:31:42 +00:00
Axel Dörfler
d3efd9a6ef
Implemented the basic I/O scheduler architecture - doesn't schedule anything
...
yet, though (instead, it directly performs all requests, so there is no
functional difference to the previous mechanism).
devfs and the file cache will directly access the I/O scheduler. There is
one scheduler per raw disk device; devfs detects that automatically, and
all I/O will go through the scheduler, then.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 13:28:29 +00:00
Axel Dörfler
a0c7b77db3
Minor cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 20:58:30 +00:00
Axel Dörfler
c96488c21d
Now compiles fine as C++ file (fixed min() usage).
...
Added our license.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 17:57:43 +00:00
Axel Dörfler
ba74984309
Renamed devfs.c to devfs.cpp - it's now compiled as C++ file to allow usage
...
of kernel internal C++ API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 17:46:48 +00:00
Axel Dörfler
ded78bc1ef
Made changes to let this file be compiled as C++ file as well without warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 17:44:08 +00:00
Axel Dörfler
7fdfbc9850
No longer disables the floppy motor if it was booted from a floppy - that
...
somehow doesn't seem to work right with Bochs; after a reboot, the floppy
is not accessible (we might just need to turn the motor on again).
Not checked if this also happens on a real machine.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:40:51 +00:00
Axel Dörfler
d3a947b004
Now uses a macro to export global symbols.
...
Added the reboot() function from our kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:38:26 +00:00
Axel Dörfler
30f0f48a33
Added platform_exit() function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:29:10 +00:00
Axel Dörfler
90b9284ea3
Fixed a warning when compiled with GCC 3.
...
Added currently non-working version of platform_exit().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:27:40 +00:00
Axel Dörfler
31f29a6f7e
Added support for disabled menu items.
...
The target function of an item is now called upon every action, not only
if that item had a sub menu...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:26:40 +00:00
Axel Dörfler
f191528003
Added an InitCheck() method; if something goes wrong, the device won't be
...
added to the boot device list anymore. This is currently used to remove
devices that don't support the LBA access mechanism (since CHS support has
still not been implemented).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:25:08 +00:00
Axel Dörfler
b430068a23
Implemented the enabling/disabling of menu items.
...
"Continue boot" will now be disabled if there are no boot volumes.
Also, there will be an additional menu item "Reboot" in that case.
The boot device menu will now show a disabled "No boot devices found" label
then, and will be selected upon entry. Added a help text to "Rescan volumes"
which will also be selected upon entry if there is no boot device.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:23:28 +00:00
Axel Dörfler
a084c3cd69
No longer panics when it could find any boot volumes, but enters the
...
user menu in that case, too (to give the user the opportunity to rescan
the available devices).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:20:09 +00:00
Axel Dörfler
364b28a12a
Added a call that should exit the boot loader in some way; usually that
...
would be by rebooting the computer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:18:33 +00:00
Axel Dörfler
a1b7427b0a
A menu item can now be enabled and disabled.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:17:38 +00:00
Axel Dörfler
96a34bfa35
Improved debug output - you know get the exact address of a page fault, not
...
rounded to the page offset.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-24 21:47:11 +00:00
Axel Dörfler
1085f3ae4e
Implemented floppy start: the boot loader shell is now able to load the
...
whole loader from a floppy or CD-ROM and execute it as usual - and it
even seem to work, yaay :)
For now, the length of the boot loader is hard-coded, but it is compatible
with the "makeflop" command, i.e. it stores the length in bytes 3 & 4 in
the file.
Also, the maximum head number is currently hard-coded to floppies - ToDo
comments are in the text which insist on fixing this.
This makes testing the boot loader under Linux much easier, as it isn't
able to write to BFS volumes directly (and the copy_to_bfs_image command
doesn't build under Linux).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-19 06:22:32 +00:00
Axel Dörfler
7312c22b60
Now makes sure that the stack is set up correctly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-19 06:10:58 +00:00
Axel Dörfler
de28175b45
We need the whole 32 bit of the boot partition offset, not just the lower 16...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-19 06:05:55 +00:00
Axel Dörfler
e2d2417f0c
Fixed missing header (malloc.h was including this for us before).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-18 00:25:28 +00:00
Axel Dörfler
6cd4801539
Just to be on the safe side: no longer tries to load non-loadable segments.
...
Improved error output in case something goes wrong.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-18 00:22:57 +00:00
Axel Dörfler
a468da6449
Fixed compilation error with GCC 2.95.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-16 16:18:48 +00:00
Axel Dörfler
d51a69a420
Removed some unneeded debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-16 15:51:08 +00:00
Axel Dörfler
9e8be53690
Fixed a GCC 3 warning.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-16 15:49:53 +00:00
Axel Dörfler
4db8c66409
Added empty platform_boot_options() function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-16 15:38:38 +00:00
Axel Dörfler
8dd184dc16
Added (empty) missing video and menu functions to make the boot loader build again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-16 15:21:23 +00:00
Axel Dörfler
5a2358d4ea
Clarified output, so that you don't have to wait forever.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-13 19:29:08 +00:00
Axel Dörfler
c06b6654f3
_user_wait_for_team() no longer tries to copy the return code if its storage location is NULL.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-13 19:08:35 +00:00
Axel Dörfler
f947748c74
Fixed wrong function export that made every app crash on exit...
...
Renamed static variables to have the 's' prefix.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-13 18:36:54 +00:00
Axel Dörfler
7d1a7f96ff
_kern_debug_output() no longer accidently accesses unsafe user memory.
...
It now accepts strings of any size, reduced the stack consumption.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-13 17:45:54 +00:00
Axel Dörfler
8093fd8e2b
Removed possible name collisions for temporary kernel test apps.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-13 17:37:15 +00:00
Axel Dörfler
93ad6cdf73
When DEBUG is defined, it adds a debugger command to list all images from
...
the current team.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-13 16:31:02 +00:00
Axel Dörfler
a97726f081
Registered userland images now contain a bit more information: the text/data
...
addresses and their sizes are now set correctly in image_info as well, as
well as the device/node fields.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-13 16:27:29 +00:00
Axel Dörfler
c3f13647f6
Removes grist from StdBinCommands targets. You're now easily able to build
...
specific commands only.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-13 16:20:16 +00:00
Axel Dörfler
670f23dab5
The kernel now maintains device and file system names as well in order to
...
be able to fill the fs_info structure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-13 04:20:06 +00:00
Axel Dörfler
9050d1ee48
Changed the way the kernel libroot objects are built; we are no longer
...
reusing the standard libroot objects, but build them all again to make
sure they are compiled with the proper flags (i.e. -fno-pic).
That saves a lot of headaches: as a side effect, the kernel runs fine
again, and even the node monitor test works nicely now. Go figure.
Only the string functions remain separate, but that should be changed
as well one day (it's not problematic, right now).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-10 12:46:19 +00:00
Axel Dörfler
b42cb57bba
Added some casts and removed the static *_internal variables.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-10 12:19:23 +00:00
Axel Dörfler
3c71865a51
The UnarchiveObjects rule now works with R5's "ar" as well.
...
Now uses jam's ":D" variable expansion instead of "dirname".
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-02 18:31:08 +00:00
Axel Dörfler
416e8e8104
Fixed broken resource file (app signature must not be the "Be Application" signature).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-29 20:25:50 +00:00
Axel Dörfler
412b99d1c5
Updated application signature and version information for Haiku.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-29 09:10:48 +00:00
Axel Dörfler
f0abe83f7b
Now saves the current find settings, too (find mode and case sensitivity).
...
Updated the about requester to read "Haiku" instead of "OpenBeOS".
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-29 09:06:51 +00:00
Axel Dörfler
b201976335
Fixed typo.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-29 09:04:20 +00:00
Axel Dörfler
3419b1d553
Fixes possible compiler warning, thanks to Bryan Duff for pointing this out.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-28 09:54:52 +00:00
Axel Dörfler
323fe5330d
Fixed read/write return types.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-28 09:49:29 +00:00
Axel Dörfler
de44737ef7
Added attribute copying support to "cp" and "mv".
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-15 12:31:49 +00:00
Axel Dörfler
87da2cf3fe
Since the conversion factor calculation is now in place, there is no reason
...
to overwrite this value anymore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 17:03:29 +00:00
Axel Dörfler
c13f87c4ef
Implemented functionality needed for the next_dev() call.
...
Device IDs now start at 1, and not zero anymore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 16:12:46 +00:00
Axel Dörfler
475708d278
Connected the _kern_next_device() syscall.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 16:10:43 +00:00
Axel Dörfler
899141ba19
Added syscall for _kern_next_device().
...
fs_stat_dev() and next_dev() should now work.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 16:10:25 +00:00
Axel Dörfler
c28c059292
Added all syscalls needed for the next_dev() call.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 16:07:25 +00:00
Axel Dörfler
3ed05ce147
Added empty __printf_fp() to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 12:54:48 +00:00
Axel Dörfler
c3d35103c7
Added siginfo_t structure as required by ISO-C 99 - it's not yet used, though.
...
Smaller style cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 12:48:27 +00:00
Axel Dörfler
288ff1988f
Added new BeOS compatible wait.h header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 12:47:00 +00:00
Axel Dörfler
95216cc886
Added id_t as required by POSIX/ISO-C 99.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 12:46:08 +00:00
Axel Dörfler
34fa6b663f
Added empty stub implementations of wait(), waitpid(), and waitid().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 12:44:43 +00:00
Axel Dörfler
d871284db8
Added iopopen.c to the build and make it compile properly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 12:31:02 +00:00
Axel Dörfler
aa1ea490d0
Implemented _exit().
...
Added empty implementations of fork() and all the exec*() variants; the
latter currently all call execve() and may pass the correct parameters
(not tested).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 12:28:22 +00:00
Axel Dörfler
007a64beef
Added empty implementation of sigprocmask() to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 12:22:50 +00:00
Axel Dörfler
ead2658b25
Implemented BeOS compatible ctype functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-06 00:30:37 +00:00
Axel Dörfler
13fde991bd
Added BeOS compatible ctype.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-06 00:29:52 +00:00
Axel Dörfler
8294b54830
Minor style change.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 23:20:43 +00:00
Axel Dörfler
21f50dd07d
Added non-working version of strftime().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 23:09:59 +00:00
Axel Dörfler
c1b52847e2
Added a difftime() implementation (for 32 bit time_t).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 22:52:25 +00:00
Axel Dörfler
0718113e06
Added gmtime() and exported the timezone variable for now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 22:45:56 +00:00
Axel Dörfler
efcd87fced
Added parsedate() to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 22:44:55 +00:00
Axel Dörfler
41b2bdc260
Added working ctime() to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 22:43:39 +00:00
Axel Dörfler
f5a134ac42
Added empty and non-working versions of mktime() and localtime(). BSD code
...
is not in a good shape, Linux code is pretty ugly - we'll see which one
we'll choose :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 22:23:25 +00:00
Axel Dörfler
71f590f7f7
Hello libbe.so!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 21:55:56 +00:00
Axel Dörfler
590013dad4
Now initializes some global variable defined in libroot_init.c.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 18:50:20 +00:00
Axel Dörfler
bc8ea5f145
Removed empty stubs already exported by libgcc.a (was needed to link properly before).
...
Added more global variables that are maintained by the BeOS startup code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 18:47:54 +00:00
Axel Dörfler
f46a8b5376
Now includes libgcc.a and exports its symbols (needed for BeOS compatibility).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 18:45:50 +00:00
Axel Dörfler
b45cb282a9
Now sets the variables LIBGCC_OBJECTS and LIBGCC_DIR.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 18:35:35 +00:00
Axel Dörfler
705fc998ca
Adds grist to the LIBGCC_OBJECTS files.
...
Added UnarchiveObjects rule that dearchives "ar"-archives.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 18:34:35 +00:00
Axel Dörfler
f72c9ca90e
Now redirects _kern_write_fs_info() as well.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 18:32:43 +00:00
Axel Dörfler
800f526dc3
Simplified set_volume_name() - it now calls our kernel syscall.
...
Replaced old fsproto.h definitions with our new (and still compatible) ones
from fs_interface.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 18:32:03 +00:00
Axel Dörfler
9acf941f15
Added syscalls for write/read fs info.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 18:28:31 +00:00
Axel Dörfler
e423368fa3
Connected syscalls for write/read fs info.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 18:27:55 +00:00
Axel Dörfler
5c996485b7
Added syscalls for write/read fs info.
...
Fixed the wrong numbering of the syscall comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 18:27:31 +00:00
Axel Dörfler
27cbcfb000
Added missing load_image() call - does not work yet, though.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 18:01:24 +00:00
Axel Dörfler
c17a1f18a5
Added working sync() and fsync() calls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 17:55:13 +00:00
Axel Dörfler
ba8e3cf1e4
Now exports B_EMPTY_STRING - maybe there is a better place for it, like
...
SupportDefs.cpp. Feel free to move it to a better place.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 12:50:22 +00:00
Axel Dörfler
9a5cc9a002
Added strlcat() and strlcpy() to libbeadapter.so for R5 compatibility.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 12:41:37 +00:00
Axel Dörfler
9fdf5bbb13
Resolved an old ToDo item; thanks to Rogier van der Hee for pointing this out.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 00:30:46 +00:00
Axel Dörfler
42acbc704c
The Storage Kit now needs some private kernel header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 19:37:42 +00:00
Axel Dörfler
d448e270d8
Small cleanup. Now bails out if locked_pool couldn't allocate another chunk.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 19:09:30 +00:00
Axel Dörfler
1f5d3007c4
LibBeAdapter.cpp now only translates some syscalls; it will probably removed
...
once we do the final transition to the new kernel API.
NodeMonitor.cpp and kernel_interface.POSIX.cpp now call Haiku syscalls
where appropriate (they are connected to R5 via LibBeAdapter).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 19:03:16 +00:00
Axel Dörfler
51403af8f9
No longer needed; LibBeAdapter now only contains syscalls, and will either
...
be removed some day, or extended to map all syscalls from Haiku to R5.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 18:59:49 +00:00
Axel Dörfler
58131f940d
Implemented syscall to get the path for a directory node_ref and made it available to userland.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 18:48:58 +00:00
Axel Dörfler
fa310b3a35
Added _kern_dir_node_ref_to_path().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 18:47:11 +00:00
Axel Dörfler
63e846d50d
Added a syscall to get a path for a directory node_ref.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 18:46:36 +00:00
Axel Dörfler
056f3c62e3
Now exports the __strtoXX_internal() functions from glibc, too - some
...
apps are using those.
Their implementation is currently not complete; they just call the
public functions, the group argument is ignored.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 17:54:40 +00:00
Axel Dörfler
453dcb8fb1
Reordered the Jamfile a bit to be cleaner.
...
isvolume and lsindex do not need to be linked against libbe.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 15:38:46 +00:00
Axel Dörfler
7bb4bc0ca9
Improved output, now also accepts team 1 under BeOS (KERNEL SPACE).
...
Fixed warnings and style issues.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 15:35:16 +00:00
Axel Dörfler
a82a66749c
Fixed warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 15:33:56 +00:00
Axel Dörfler
23aff57013
Added possibility to specify a team by name for listimage.
...
Converted to our style guide.
Improved the overall code, consistency, and output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 15:13:38 +00:00
Axel Dörfler
8503a60446
Fixed typo that prevented compilation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 02:57:29 +00:00
Axel Dörfler
be874324a3
VFS syscall prototypes have been moved to syscalls.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 02:56:06 +00:00
Axel Dörfler
7b89ff958c
Now uses kernel exported POSIX functions instead of their internal counterparts.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 02:55:24 +00:00