Axel Dörfler
8e14887212
Moved some dprintf()s to use the TRACE() macro.
...
Also fixed compilation with tracing enabled.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-16 03:14:48 +00:00
Axel Dörfler
a9e1ba1d5b
Fixes due to the team/thread.h separation and minor header cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-16 02:53:41 +00:00
Axel Dörfler
974982d56d
Factored out two functions out of thread_exit() (in team.c).
...
Incorporated NewOS change 1930: sends the parent SIGCHLD if the team
goes away.
create_thread() now returns B_BAD_TEAM_ID when the team is in death state
instead of ERR_TASK_PROC_DELETED.
Cleaned headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-16 02:50:25 +00:00
Axel Dörfler
074af04cf2
Factored out two new functions (team_remove_team() and team_delete_team())
...
from thread_exit().
Removed team_remove_team_from_hash() as it's no longer necessary.
Also incorporated NewOS change 1930: maintain the parent/children lists.
Cleaned up the headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-16 02:46:28 +00:00
Axel Dörfler
14f5ad8ce4
Separated the team functions from the thread.h header into the new team.h.
...
Fixed fd.h to include that file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-16 02:40:03 +00:00
Axel Dörfler
8131e02c55
Made C++ safe.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-16 02:24:42 +00:00
Axel Dörfler
b721e8fd26
Gained knowledge from NewOS change 1930 and fixed the sig_block_mask change
...
as already suggested in my earlier comment.
Added some comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-16 02:23:32 +00:00
beveloper
2fe87e7c58
Fixed handling of 0 byte large chunks.
...
Rewrote error checking during file parsing, parsing now aborts immediately after the first error.
Disabled all TRACEing, added ERROR fprintf for real errors.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 23:30:09 +00:00
beveloper
8bc2d39a23
Fixed broken disabling of realtime flags. Was reported by YellowTab, thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 23:02:30 +00:00
Stefano Ceccherini
7446a252ed
Fixed a crash when running beshare with our BTextView (thanks to Andrew Bachmann for reporting), though it's a bit hackish, added some printfs to TextView.cpp to help finding/fixing bugs, a small optimization to WidthBuffer. Should convert and commit WidthBuffer's tests to cppunit tests sooner or later.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 07:19:27 +00:00
Stefano Ceccherini
80127f8edb
Some fixes, some warning fixed, added a lot of code for the MII handling (almost completely "stolen" from Axel's sis900 driver), not yet working.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 07:13:03 +00:00
Rudolf Cornelissen
599fbbf010
fixed engine management regarding sync_to_token
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 07:12:51 +00:00
Axel Dörfler
a7b6bd943e
The bootloader now takes this region into account, no need to do that manually over here.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 02:02:25 +00:00
shadow303
409f1731e2
Convert Thomas's radeon driver to out build structure.
...
Still needs work in order to properly enable logging and extra settings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 00:58:55 +00:00
Axel Dörfler
3bba0ebe0a
NewOS revisited, applied patch 1916: now evaluates the extended BIOS
...
RAM size call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 00:58:49 +00:00
shadow303
4f5f1b3c0c
Modify Thomas's radeon driver to fit our build structure.
...
Still needs woork to properly enable logging and extra settings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 00:58:12 +00:00
shadow303
1da2dde8c2
Convert Thomas's radeon driver to our build structure.
...
Added some card ids.
Still needs work to properly enable logging and extra settings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 00:57:31 +00:00
Axel Dörfler
bbd8e7fbd9
Removed unneeded prototype.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 00:56:02 +00:00
Axel Dörfler
4a2e872cca
Applied NewOS change 1914: moved APIC setup into the kernel due to a
...
problem with the APIC clock speed test.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 22:54:00 +00:00
Axel Dörfler
7ec81f4c11
Disabled debug output for arch_int_enable_io_interrupt().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 22:50:41 +00:00
Axel Dörfler
03c1062163
set_real_time_clock() is supposed to set the hardware clock as well.
...
Fixed dump function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 21:53:48 +00:00
Axel Dörfler
c27ed74e34
Replaced timer.h with a cpp safe version.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 21:08:25 +00:00
Rudolf Cornelissen
65e6374871
fixed DFP fullscreen overlay distortions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 20:30:05 +00:00
Rudolf Cornelissen
27c912cfc5
updated DPF stuff: primary and secondary DVI are fully working now (confirmed FX
...
5200)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 18:10:56 +00:00
Rudolf Cornelissen
c567e07285
updated DPF stuff: primary and secondary DVI are fully working now (confirmed FX5200)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 18:09:08 +00:00
Axel Dörfler
188b2566b6
Cleanup, fixed return codes.
...
Removed the local_timer_cancel_event() function, since it is not used anywhere.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 18:03:18 +00:00
Axel Dörfler
09e395fbe3
Applied ages old cleanup patch from Jack Burton.
...
Took the chance and cleaned it up even more; this change is not a functional change.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 18:02:22 +00:00
Axel Dörfler
743c42a747
arch_setup_signal_frame() must not access the user space stack without
...
using user_memcpy(); therefore it can now fail.
Taken from NewOS, thanks to Travis for pointing this out.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 17:59:42 +00:00
Axel Dörfler
7d154f91ff
arch_setup_signal_frame() can now fail.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 17:58:11 +00:00
Axel Dörfler
a2b6866fb9
Fixed compilation without having included boot/kernel_args.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 17:42:18 +00:00
Axel Dörfler
eb9335a34b
Applied NewOS change 1972: "Fix the build with gcc 3.3.3. The bootloader
...
was broken because of some new behavior that puts initialized varaibles
in .bss anyway (if you initialize with zero). The bootloader was relying
on not having a .bss. Fixed in the linker script.".
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 17:01:51 +00:00
Waldemar Kornewald
a387bccab2
Just noticed that PPPoEAddon stuff was not added to the repository.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 13:28:58 +00:00
Waldemar Kornewald
d078d982ae
Forgot to update TODO items.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 13:27:59 +00:00
Waldemar Kornewald
c737ab9ab1
The settings are now correctly de-/encoded.
...
PPPoE and authentication produce working output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 13:19:32 +00:00
beveloper
62ffde749f
No longer crash or exit(1) all open MediaPlayer windows when a bad mp3 file is played.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 02:08:51 +00:00
Axel Dörfler
190c52aac5
A BeOS compatible math.h rewritten from scratch.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-13 18:49:41 +00:00
Axel Dörfler
f7f6185398
A bit more BeOS compatible math.h functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-13 18:48:55 +00:00
Rudolf Cornelissen
1e37a9ac80
added more DFP programming: should work now...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-13 17:48:21 +00:00
Rudolf Cornelissen
82cf9eb56b
added some DFP registers needed
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-13 11:39:13 +00:00
Rudolf Cornelissen
20a0dfd5b0
corrected checked DFP panel
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-13 11:35:31 +00:00
Axel Dörfler
48847a2aab
You must not copy a list in that way; it's now using the new list_move_to_list()
...
call.
"testapp" now works fine with the new port code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-12 21:36:02 +00:00
Axel Dörfler
ed3f63ae37
Added a call to move the contents of one list to another.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-12 21:34:20 +00:00
Axel Dörfler
28f42fcecc
get_port_info() is not supposed to succeed on a closed port.
...
Saved the port_entry.closed member and now set the capacity to 0, since
it is not used any longer (reduces the size of the port table).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-12 05:28:50 +00:00
Axel Dörfler
85b89008bd
Replaced the MAX_PORTS constant with the gMaxPorts variable, so that it
...
could be changed at startup (adapted to system properties).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-12 05:09:29 +00:00
Axel Dörfler
b672b21619
Renamed some variables to match our style guide better.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-12 05:06:13 +00:00
Axel Dörfler
b3d07d6550
Rewritten the msg queue code to use a doubly linked list of port_msgs.
...
Right now, it allocates/frees the msgs from the kernel heap for every
message sent - that might be too slow for real world usage.
Also removed all known race conditions from the code.
Not tested at all yet, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-12 04:57:38 +00:00
Philippe Houdoin
405ecca529
Add the new wb840 NIC driver contributed by Stefano Ceccherini to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-12 01:39:29 +00:00
Stefano Ceccherini
3927f78a36
... and a jamfile for it (shamelessly stolen from Axel's sis900 driver). Not (yet) included into the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-11 12:48:22 +00:00
Stefano Ceccherini
d8ee7d30df
Driver for the Winbond 840 NIC, written by myself. It's working. It lacks speed autonegotiation, and some other cool things.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-11 11:09:38 +00:00
Matthew Wilber
92fd335690
Fixed to check if refs are directories and to error properly if they are
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-11 03:19:03 +00:00