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
Philippe Houdoin
f1d8cfb432
TODO comment commit ;-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 15:18:47 +00:00
Philippe Houdoin
66c1fb8eb3
Removed duplicate B_SELECT_* & co definitions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 15:11:46 +00:00
Philippe Houdoin
8a3c512516
Fix build issues after select() kernel support API was added to public definition in
...
headers/os/kernel/.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 15:10:25 +00:00
Philippe Houdoin
0bba897b1e
Don't rely on implicit link targets. We need libnet.so's getusername(), so let's
...
say it out loud! Especially since Oliver Tappe's gcc 2.95.3 version don't link
by default with libnet.so anymore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 13:48:37 +00:00
Philippe Houdoin
af6dc7f61e
Let's forgot about closesocket()!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 13:35:30 +00:00
Philippe Houdoin
6ad0082e92
Add some definitions about audio format descriptors...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 13:21:33 +00:00
Ingo Weinhold
201e236e52
Fixed warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-02 16:16:33 +00:00
Ingo Weinhold
ef4fc75459
Must use <fs_interface.h>, not <fsproto.h>.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-02 16:15:46 +00:00
Ingo Weinhold
be4e2191b1
Added small note.
...
BTW shouldn't those constants have the B_ prefix now that they are in a
public header?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-02 16:14:38 +00:00
Ingo Weinhold
93d412b087
Refactored the intel partitioning module.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-02 15:35:25 +00:00
Ingo Weinhold
569750e57f
Refactored a bit -- pulled the partition map parser out. Userland add-on disabled for the time being, due to build problems.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-02 15:34:50 +00:00
Michael Pfeiffer
373fe20212
Fixed scaling problem.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-02 05:28:13 +00:00
Michael Pfeiffer
90c9b3ae9a
Fixed scaling problem.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-02 05:26:45 +00:00
Nathan Whitehorn
518ba2b80c
Fixed a crashing bug when large fast uploads are in progress.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 20:09:27 +00:00
Axel Dörfler
af91664416
Now makes sure that the index get_tty_index() returns is in a valid range.
...
Added some more conditional debug output, turned off debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 17:36:47 +00:00
Axel Dörfler
7740b91858
Ported over consoled from NewOS. It's a very simple replacement for the
...
Terminal application that uses our TTY driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 17:33:29 +00:00
Axel Dörfler
9d1f6da844
line_buffer_read() did not properly remove the bytes read, it just bumped
...
the read offset.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 17:29:10 +00:00
Axel Dörfler
87df3fdab8
WriterLocker mixed up source and target and always locked the wrong one.
...
tty_write_to_tty() now takes the extra character into account that may be
inserted with OPOST and ONLCR and don't write more characters as there is
space.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 17:27:57 +00:00
Jérôme Duval
549360d822
i don't even wonder why i have to do this, i simply do it
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 16:02:20 +00:00
Jérôme Duval
6be0f7ef24
reversed sign change, bad idea ...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 15:58:13 +00:00
Jérôme Duval
7c862ee441
added comm tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 15:50:58 +00:00
Jérôme Duval
9bc892a8da
added some support for R5 app_server communication
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 15:24:49 +00:00
Jérôme Duval
6ed407d8fa
added log
...
added a sign change
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 15:23:04 +00:00
Stefano Ceccherini
bed94c4a3a
Started to Implement a way to have different ps2 packet sizes.
...
Added (empty) handlers for some ioctl which started to bug me,
some cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 07:13:04 +00:00
Nathan Whitehorn
d774d9a0a1
While we're modifying ether_driver.h, added in an ioctl for link state detection, and implemented it in the two Broadcom drivers.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 03:01:20 +00:00