Commit Graph

9099 Commits

Author SHA1 Message Date
Axel Dörfler
7f5c5fd42b The search path feature now works properly. The path found is now propagated
back to load_container() so that map_image() has the chance to succeed.
The FATAL() macro now uses dprintf() instead of printf() when TRACE_RLD is defined.
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 23:29:04 +00:00
DarkWyrm
e1af90ffb8 Added storage of owning team and a couple of related methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 23:01:37 +00:00
DarkWyrm
76d4213d60 Removed a couple of unnecessary includes
(Hopefully) patched a crash under the BApplication Quit2 test
Speedup for CursorManager::RemoveAppCursors


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 23:00:47 +00:00
DarkWyrm
601a55f349 Added message codes to support the soon-coming ServerMemIO class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 22:59:03 +00:00
Nathan Whitehorn
db0fafd55e Fixed compilation with the new GCC.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 21:46:06 +00:00
Jérôme Duval
1a813abdc9 Changed some printf to PRINT macro
Now uses BScreen to constrain mouse cursor
Now handles gracefully screen resolution changes
Yeah it works!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 20:42:08 +00:00
Jérôme Duval
e5572c09e6 Sync with opcodes header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 18:59:04 +00:00
Jérôme Duval
4b078ea6cb fixed warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 18:42:42 +00:00
Ingo Weinhold
5741bcb5d8 * Eliminated fs_mount::mount_point. It wasn't really used anyway, only
in dir_vnode_to_path() which does now continue until hitting "/".
* Refactored common volume root to mount point resolution code into a
  separate function.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 16:08:31 +00:00
Jérôme Duval
e1130011b7 improved ioctl codes naming
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 16:01:12 +00:00
Jérôme Duval
c2fbfb71f0 clean up, now avoid locking when shutdowning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 15:59:40 +00:00
Philippe Houdoin
178f20f0f6 Experimental search paths $PATH, $LIBRARY_PATH, $ADDON_PATH support.
As we currently don't have these environment variables set at init time, their values
are hardcoded for the moment.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 14:43:41 +00:00
Rudolf Cornelissen
f8930a8944 ISA->PCI conversion of coldstart script cmd's is operational sofar. Besides NV34 NV11 is working OK as secondary card now also!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 14:38:45 +00:00
Rudolf Cornelissen
c23a5cf39d trying to convert the coldstart ISA accesses to PCI accesses, as the ISA access method relies on no other cards occupying the VGA ISA I/O adresses (i.e. a kernel driver for the primary card MUST be loaded that disables ISA I/O for that card ATM).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 14:09:42 +00:00
Axel Dörfler
f876489277 Added support for changing the access mode using ioctl() and B_SET_(NON)BLOCKING_IO.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:47:11 +00:00
Axel Dörfler
9c137c0adf Enabled the bfs_set_flags() call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:45:24 +00:00
Axel Dörfler
d590ff3d36 We now have a working fcntl() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:40:13 +00:00
Axel Dörfler
d6571884c7 Added basic fcntl() functions and syscalls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:36:44 +00:00
Axel Dörfler
6acb672431 New syscall for fcntl().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:28:48 +00:00
Axel Dörfler
c7a0c0f9e1 Added set_flags() support where needed. devfs now uses the ioctl() mechanism
via B_SET_(NON)BLOCKING_IO to notify the device about any access mode changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:24:12 +00:00
Axel Dörfler
752c2e981e The set_flags() call was missing from the FS interface.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:22:00 +00:00
Axel Dörfler
ae1b76c11e I didn't like the BeOS field names, but I forgot them in the comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:18:48 +00:00
Axel Dörfler
3db167c4d2 %ebp was not saved which resulted in a crash on longjmp().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:15:41 +00:00
Axel Dörfler
a4611f9d2b The BSD setjmp() implementation was not at all BeOS compatible. This one
is now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:08:03 +00:00
Axel Dörfler
b5c6c8b6b5 We now have a POSIX compatible setjmp.h header (also BeOS binary compatible).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 13:06:36 +00:00
ejakowatz
059b143a70 The fWasDelivered member was never getting initialized, so replying to
messages which did not explicitely request a reply would fail.  The member
is now initialized if an unflattened message has the MSG_FLAG_INCL_REPLY
flag set.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 06:56:41 +00:00
Philippe Houdoin
a889bb181d Add thread-safe strtok_r() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 23:44:15 +00:00
Axel Dörfler
40cc0ebde2 Added an endless loop detection; it will now store up to 16 stack positions
and will check against those. This fixes the rare case an interrupt frame
could cause before.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 22:52:56 +00:00
Axel Dörfler
0f5095f9f9 Now uses thread::user_stack_size instead of STACK_SIZE. This also fixes a
potential bug if MAIN_STACK_SIZE and STACK_SIZE would have been different.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 22:41:34 +00:00
Axel Dörfler
2130a091c3 Added field for the size of the userland stack; a userland stack is allowed
to have any stack size, it's not a fixed value (well, at least that's what
will happen :)).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 22:37:44 +00:00
Axel Dörfler
57bf060563 Fixed another stupid bug in the file cache: when the first read was a partial
read over two blocks, some memory behind that memory could be trashed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 21:03:31 +00:00
Nathan Whitehorn
8cd742e41b Search and replace failed me -- system filters were being placed in the wrong directory. Now fixed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 17:35:02 +00:00
Axel Dörfler
cf4c7a2043 Now defines COMPILE_FOR_R5 to make sure it's compiled correctly; note,
ObjectDefines in the Jamfile didn't work for some reason.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 15:52:50 +00:00
Axel Dörfler
c743fe4219 Removed the R5 notify_select_event() function - it's now defined in Select.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 15:45:04 +00:00
Axel Dörfler
8c1ba914c9 R5 notify_select_event() didn't have a return value.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 15:44:00 +00:00
Axel Dörfler
1c1b484da3 Removed old notify_select_event() in fsproto.h - this fixes the build for now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 15:40:15 +00:00
Axel Dörfler
565162d26f Now always defines COMPILE_FOR_R5 for now (since there is no Haiku version yet).
Removed notify_select_event() prototype from local fsproto.h file; it now builds
fine again.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 15:38:03 +00:00
Axel Dörfler
18469286aa Fixed a warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 15:36:59 +00:00
Jérôme Duval
34eedb9823 Added a #ifndef around #define ADD_ON_STABLE_SECONDS to be able to define it on demand
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 14:53:19 +00:00
Rudolf Cornelissen
5b3b618aed tuned new PLL routine to adhere to cardspecs (should be much more precise than the old setup :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 13:26:46 +00:00
Jérôme Duval
d542a84793 fix linefeeds
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 12:32:06 +00:00
Rudolf Cornelissen
52e0509d97 added system PLL specific calc routine
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 11:30:45 +00:00
Rudolf Cornelissen
f8eb549d45 removed error introduced by previous commit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 08:45:59 +00:00
Rudolf Cornelissen
2dc99a3a1f finished type2 scriptcmd #$49.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 08:07:21 +00:00
Jérôme Duval
d6ec7f9972 removed unused field
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 22:59:08 +00:00
Jérôme Duval
963e8ab1a9 added support for R5 app_server communication
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 22:55:27 +00:00
Jérôme Duval
935d9cfc2d fixed a bug about safemode, noticed by John '[Beta]' Drinkwater. thanks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 22:44:33 +00:00
Jérôme Duval
297f444091 on behalf of Stefano Ceccherini on holidays !
keyboard driver started to work (I was able to type something), though it needs more work, as keyup events for extended keys are screwed. The specs I got don't seem to apply to my keyboard.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 22:39:45 +00:00
Jérôme Duval
96008894d9 on behalf of Stefano Ceccherini :
Implemented intellimouse protocol handling, now we got wheel(s) working. It was simpler than I thought, no need to have multiple packet handlers. Thanks to BiPolar for the info.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 22:35:03 +00:00
Rudolf Cornelissen
2dab9bf0ef added another type2 scriptcmd, logging not yet done. NV18 now reports OK status (not yet working as secondary card however..)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 19:18:32 +00:00