Commit Graph

10063 Commits

Author SHA1 Message Date
Axel Dörfler
e6ef7e58f4 No longer of use.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-27 12:06:41 +00:00
Axel Dörfler
841093cf3c Removed references to ktypes.h.
aspace_id is now defined in vm_types.h only, as it's only used internally anyway.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-27 12:05:41 +00:00
Axel Dörfler
515d213528 create_port() incremented the used ports counter twice, thanks to Stefano
Ceccherini for the hint.
The first port ID is now 1 and not 0 anymore.
Added a first free slot hint to speed up port creation.
Added more debug output when tracing is enabled.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-27 12:03:48 +00:00
Axel Dörfler
50edebb6cb Added B_CURRENT_TEAM support to get_team_info() as well - dunno though, if
BeOS supports this as well, at least it's not documented in the BeBook
(but it's useful anyway).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 16:37:41 +00:00
Axel Dörfler
b9ead42463 Support for B_CURRENT_TEAM was missing from get_team_usage_info().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 16:34:32 +00:00
Axel Dörfler
a09c4553a6 Made the get_safemode_option() function public.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 16:25:18 +00:00
Axel Dörfler
04169a304b Added header for additional safemode definitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 16:23:49 +00:00
Axel Dörfler
5aa1fee8f3 Renamed _kern_set_tzspecs() to _kern_set_timezone().
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 15:07:11 +00:00
Axel Dörfler
c591847918 Renamed _kern_set_tzspecs() to _kern_set_timezone().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 15:04:16 +00:00
Axel Dörfler
7c8c40ecb2 Moved _user_system_time() to real_time_clock.c.
Renamed _user_set_tzspecs() to _user_set_timezone().
Renamed sTzFilename to sTimezoneFilename.
Moved rtc_print() into rtc_debug().
Fixed changing system_time_offset; since this is a shared 64 bit value,
we have to use atomic calls when we change it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 15:03:28 +00:00
Axel Dörfler
0d96fb1167 Moved _user_system_time() to real_time_clock.c.
Renamed _user_set_tzspecs() to _user_set_timezone().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 15:00:27 +00:00
Axel Dörfler
9b6593acae Now remembers the time spent in children/threads that are already gone.
Implemented get_team_usage_info() - not really tested, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 14:58:01 +00:00
Axel Dörfler
2080a7c04f Added fields to be able to track the time spent in children and threads
that are already gone.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 14:46:47 +00:00
Axel Dörfler
791fc0bf95 Added _user_shutdown() prototype.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 14:41:53 +00:00
Ingo Weinhold
f59c73a3d5 Added a URL where to get the UserlandFS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 14:10:20 +00:00
Jérôme Duval
fd681700c0 added timezones files, setting timezone to Europe/Paris (shouldn't be hardcoded in the future)
added find xargs locate


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 10:59:35 +00:00
Stefano Ceccherini
4e8891d152 Check in the serial mouse addon before I forget about it (hmmm holidays...).
Should be cleaned up a bit and maybe merged with the "other" mouse addon.
Courtesy of Oscar Lesta aka BiPolar


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 08:17:37 +00:00
Axel Dörfler
e7a9dbff59 Now uses the appropriate syscall.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 21:22:14 +00:00
Axel Dörfler
2ff908a59e Added empty get_team_usage_info().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 21:20:17 +00:00
Axel Dörfler
08f58535d9 Added syscalls for get_team_usage_info().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 21:18:54 +00:00
Jérôme Duval
82f223ea8c Implemented times
now uses system_time, because we don't have to return a real time


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 20:16:35 +00:00
Jérôme Duval
4693e9c7a5 Implemented getrusage
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 19:24:24 +00:00
Axel Dörfler
80899a91b9 Added libroot/os/arch/x86/thread.o to the rld.so build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 18:53:39 +00:00
Axel Dörfler
8f9787f0f8 Now sets the $SAFEMODE variable.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 18:39:09 +00:00
Axel Dörfler
8ca49095a0 Updated usage comments at the top of the file.
Added "safemode" and "shutdown" commands.
Now makes a symlink from "more" to "less".


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 18:38:24 +00:00
Axel Dörfler
73e29ea0c4 Added empty get_safemode_option() call - right now, it's even private
and only the syscall is exported.
For now, it always returns B_ENTRY_NOT_FOUND - since the boot loader
does not have support for driver settings yet.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 18:36:42 +00:00
Axel Dörfler
9b9e67a199 Ported over safemode to our kernel.
_kern_get_safemode_option() just returns the driver_settings parameter
string, so it has to be evaluated by the caller.
Also, "safemode" returns 1 if safemode is enabled.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 18:34:45 +00:00
Axel Dörfler
fa2c0f885f Added _kern_get_safemode_option() syscall.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 18:32:51 +00:00
Axel Dörfler
a5cceb23c2 Ported over to our own private API - it's now functional under the Haiku kernel.
Improved argument parsing code - you no longer have to specify each option separately.
Improved time parsing for the "-d" option: it's now possible to add a unit to the
time value ("m" or "s"), and you don't have to add a space anymore (ie. -d5 will
work, too).
Cleaned up the source file to better match our style guide, and look better overall.

Also added a comment about the usefulness of some of the options here - I think
we should remove the alert stuff again; one requester (in Roster) is really enough
for my taste.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 18:04:08 +00:00
Axel Dörfler
216b269cbc Moved shutdown() into a separate file.
Added _user_shutdown() and made it available as syscall.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 17:59:13 +00:00
Axel Dörfler
d3d7ec98b6 Moved some time syscalls to the other time related syscalls.
Added _kern_shutdown() syscall.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 17:57:37 +00:00
Rudolf Cornelissen
6d83a1b637 updated doc once more.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 14:57:45 +00:00
Rudolf Cornelissen
e3439376b4 added 1400x1050 displaymode.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 14:56:50 +00:00
Rudolf Cornelissen
26afc3f2d2 updated documentation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 13:10:47 +00:00
Rudolf Cornelissen
abf9325a35 move_overlay() confirmed working fully OK.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 13:09:48 +00:00
Rudolf Cornelissen
56b937bfb6 finished move_overlay(). Still untested though..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 12:33:56 +00:00
Stefano Ceccherini
8b7faba29f Made double buffering a compile time option (disabled by default as there is some issues with it)
Made widthbuffer a compile time option (disabled by default).
Some minor changes.
Updated the "known bugs" section


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 11:00:50 +00:00
Rudolf Cornelissen
12a8acf64d setup move_overlay() functionality (part 2), not yet ready..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 10:19:03 +00:00
Axel Dörfler
bc1994c4fb Our uname currently returns "Intel" as machine - changed SetupEnvironment
to take that into account.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 03:23:16 +00:00
Axel Dörfler
f6c4b97ace It now accepts a directory as argument that will be the target of the build files.
When you specify this directory, no image file will be created.
Added the listarea command.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 03:15:18 +00:00
Axel Dörfler
1e32802a52 New call new_fd_etc() which accepts a starting index for where to search for free FDs.
Implemented F_DUPFD support for fcntl() - we no longer see any redirection errors when
booting into Haiku.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 02:56:35 +00:00
Axel Dörfler
e3e06dd847 Added new new_fd_etc() call.
Cleaned up included headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 02:53:28 +00:00
Axel Dörfler
ecd4e1445d Different compilers produce differently sized binaries: removed the PCI
bus manager from the floppy image - it's not really needed yet, and with
all the debug output, it cuts some 300 kB from the final image.
If you're floppy image did not work anymore in Bochs, try now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 02:20:48 +00:00
Jérôme Duval
d35e7ce4c2 clock is now local by default
timezone is now set even if not rtc time setting is found


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-24 23:17:34 +00:00
Jérôme Duval
766dfdaf6c fixed system_time_offset and sTimeOffset
added some trace


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-24 22:54:50 +00:00
DarkWyrm
9655bd6c06 Removed a couple of deadlocks caused by missing DisplayDriver unlocks
remove possible NULL pointer crash in LayerData
Added low-level clipping to ViewDriver
Some minor UI tweaks to WinBorder


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-24 20:07:41 +00:00
DarkWyrm
eb740ad17f Disabled code for cursor config until API settles
Added low-level clipping support to decorator preview
Added comments to clarify disabled cursor and color set support


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-24 20:03:14 +00:00
Axel Dörfler
f19955303e _user_set_area_protection() did not set any B_KERNEL_*_AREA protection.
_user_create_area() and _user_clone_area() now inherit the read/write protection
for the kernel, too - before, it was always mapped read/write in the kernel,
but there is no reason to do that.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-24 18:57:20 +00:00
Axel Dörfler
4bc2682135 First go at set_area_protection() - does work for everything but changing
a read-only area to read/write.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-24 18:22:17 +00:00
Axel Dörfler
983377dc3d Now only uses the file name instead of the full path as area base name.
Calls set_area_protection() after relocating the images to make them
read-only for real.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-24 18:15:20 +00:00