Commit Graph

21741 Commits

Author SHA1 Message Date
François Revol
fd5679a989 Empty arch specific drivers folder.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-24 20:43:10 +00:00
François Revol
d0e366a937 Empty cpu module. Might do something there later, should be possible to emulate mtrr as the page descriptors have a cache-disable bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-24 20:41:04 +00:00
Ingo Weinhold
6bd2f399e8 Patch by Vasilis Kaoutsis: Implemented killpg().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-24 13:49:42 +00:00
François Revol
d40bcaab8e m68k code.
We will use SRP (supervisor root pointer) register to hold the current thread pointer.
Its use by the pmmu is optional and I don't plan on using it.
There are 32 other bits left.
Wonder if weshouldn't use it for system_time() instead... will see, but there are no other usable regs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 23:48:02 +00:00
François Revol
1bd446cc44 Debugger support. Unfinished.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 23:44:47 +00:00
François Revol
ae8bc15af5 Some more of m68k. Added errors where ports should add stuff.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 23:43:11 +00:00
François Revol
51238e6bd3 Missing Jamfile.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 23:38:34 +00:00
François Revol
90f87904fc Some m68k fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 23:34:20 +00:00
François Revol
df05c21550 Default code for m68k.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 23:31:01 +00:00
François Revol
8074e217af Build support for m68k.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 23:27:09 +00:00
Axel Dörfler
13ca2d942d Patch by Vasilis Kaoutsis - thanks!:
* Rewrote TextView.h
* Renamed all private methods to have the underscore prefix.
And also:
* Whitespace and line width cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 20:44:17 +00:00
Rudolf Cornelissen
877ed9ed93 updated docs. The driver is now synced against nVidia's official april 2007 ID list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 19:57:21 +00:00
Rudolf Cornelissen
5f3e6740f1 updated naming for some previous unknown cards, added 25 new cards for support/recognition in the driver, being GF 6xxx, 7xxx and 8xxx types. Also two more nforce 6100 4x0 cards recognized now. Please note: GF8xxx support is experimental, and without acceleration. Reports are welcome.. Bumped version to 0.83.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 19:45:43 +00:00
Rudolf Cornelissen
37bf6a6a6e disabled acceleration engine init and exporting the hooks on G80 and above for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 18:55:52 +00:00
Rudolf Cornelissen
40685b3e4d added a laptop, G86: 8600M GT, submitted by pieter panman.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 18:42:25 +00:00
Oliver Ruiz Dorantes
a21cc12768 Mistake at commiting before.The listener will not a friend statement for the RemoteDevice class
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 17:33:22 +00:00
Oliver Ruiz Dorantes
86aceda984 -Dummy implementation of DiscoveryListener\n-Add to jamfile
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 17:27:49 +00:00
Oliver Ruiz Dorantes
74a52b95c2 -I bet for now is the last public class DiscoveryListener:BLooper\n-Fix RemoteDevice... friendship
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 17:25:38 +00:00
Axel Dörfler
45ae0aa1aa It's not a good idea to write back large files while keeping the vnode busy.
The low memory handler now has two passes which should help there; however, it
might also accidently remove recently used vnodes, too. We could mark the clean
ones in some way if that turns out to be a problem.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 16:05:38 +00:00
Axel Dörfler
1d0b34faae * If a new buffer had its last part in common with an existing larger buffer,
BufferQueue::Add() tried to remove a negative amount of bytes. This could
  bring a download to a complete halt (as could the other one due to the list
  link mixup).
* While the RTT computation still seems to work not that good (with a drop quote
  of 50% I would easily reach retransmit timeouts of 80 secs), TCP should now
  work a lot better on a flaky connection.
* Renamed _GetMSS() to _MaxSegmentSize().
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 10:42:46 +00:00
Axel Dörfler
c76695a275 * The C "struct list" and the C++ DoublyLinkedList implementations had mixed
next/prev link order - that messed up the DoublyLinkedListCLink adapter.
* Since it's more likely that someone messes with the C version, the C++ version
  now uses the same order than that one.
* This fixes a bug when TCP's BufferQueue tried to iterate over a list, messing
  up its integrity.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 10:37:41 +00:00
Axel Dörfler
875c4627fd The TCP shell now works again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 01:49:37 +00:00
Axel Dörfler
abbff8b909 SendQueued() could send empty buffers in case fSendQueue.Get() failed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 01:47:18 +00:00
Axel Dörfler
157da1cd6e * net_buffer is a module, so it shouldn't have its initializers called
indirectly by the stack - they are now again usable separately as well.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 00:04:41 +00:00
François Revol
8c5602829e arch-specific stubs for config manager.
Will allow hardcoding ISA devices for platform faking an ISA bus, and the PC floppy and PS/2 ports.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 23:55:19 +00:00
Ingo Weinhold
56a63c3b2a Patch by Vasilis Kaoutsis: Style and copyright header cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 23:51:46 +00:00
Axel Dörfler
568bb32385 Applied patch by Gerald Zajac:
1) Some video modes which did not work properly with the Savage chips
have been removed from the mode list, and a few wide-screen modes which
work have been added.
2) The code which loads the cursor image has been simplified.  This code
is similar to the code I'm using in the S3 Virge video driver which I
will be submitting to the Haiku project in a few days.  This change also
removes the last piece of code that came from Erdi Chen's BeSavage
driver;  thus,  this diff file also removes his copyright from the file
savage_cursor.c.

I did a minor modification to fix a warning in ProposeDisplayMode.c (it
now includes savage.h). Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 22:05:16 +00:00
Axel Dörfler
30eca597da * Implemented support for the module_dependency extension in Haiku.
* Added a way to initialize built-in dependencies that the tcp_shell is now
  using - at least it gets to the prompt again (it still doesn't work, though).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 18:18:29 +00:00
Oliver Ruiz Dorantes
7236d2c1c8 Fix coding style
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 17:53:08 +00:00
Oliver Ruiz Dorantes
7044da5546 Fix coding style and add more classes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 17:51:59 +00:00
Axel Dörfler
2eaecb7b33 Fix build for Haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 16:18:34 +00:00
François Revol
c87d0ba1fb E2BIG wasn't catched by the sed scripts... added.
Some #ifdefs to allow building under BeOS.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 16:01:15 +00:00
François Revol
cb44673606 Naive swap_float/double. Not sure sizeof(double) is 8 on m68k...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 15:50:27 +00:00
Stefano Ceccherini
3c5bd34432 Rewrote OptionPopUp.h and OptionControl.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 14:59:04 +00:00
Stephan Aßmus
a637e3c53c patch by Fredrik Modéen:
* add filtering of files by mimetype when adding them to the playlist
* some changes by myself (added Axel's suggestion to guess the mimetype
  in order to support other filesystems than BFS)
Fredrik -> please have a look at our coding guidelines, also you have weird
whitespaces in your patches... :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 14:44:38 +00:00
Stefano Ceccherini
09a4122e4c Moved initialization of the system color map from AppServer to Desktop
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 14:07:26 +00:00
Stefano Ceccherini
37b83b1a2d The system palette was defined in two files. Moved to a private header,
included by the two.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 13:44:37 +00:00
Stefano Ceccherini
d9cebac2b7 Rewrote DirectWindow.h, updated DirectWindow.cpp accordingly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 10:29:44 +00:00
Stefano Ceccherini
7bd24def80 At least for the column menu layout, don't recalculate the whole layout
if the calling function supplied an item index.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 09:23:19 +00:00
François Revol
1609107a45 - some swap asm.
- 64bit atomic ops.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 00:48:01 +00:00
François Revol
d09c112c3e - Yes we will have 64bit atomic funcs! Watch this PPC! :P
- m68k ELF reloc names.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 00:43:22 +00:00
François Revol
5bbe87abba Fake pci bus manager for m68k.
We will fake hardcoded devices depending on the platform.
Hopefully that will help some generic drivers (ide) to work without major modification.
Synced to r22648.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 00:13:10 +00:00
François Revol
188b43270e m68k arch files for libroot.
Mostly ppc from r22648. Some atomic_* done.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 00:10:36 +00:00
François Revol
11ce65f5a0 crt files for m68k.
Synced with r22648.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 00:06:13 +00:00
François Revol
0e274db4b9 Dummy platforms for m68K.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 00:03:51 +00:00
François Revol
56b8edd4e3 ld scripts for m68k.
Actually mostly untouched ppc from r22648.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-22 00:00:32 +00:00
François Revol
845a180f3d Unfinished kernel support for m68k.
Based on ppc/x86 from r22648.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 23:49:57 +00:00
François Revol
0b2adc3d8e Headers (unfinished) for an m68k port (yes I do know it's useless, it's just for the l33t factor).
Based on ppc/x86 headers from r22648.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 23:42:09 +00:00
Axel Dörfler
fe2aaee7ec * Corrected mode creation; can't reuse the EDID values as is.
* The sync flags still aren't handled correctly, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 21:20:38 +00:00
Axel Dörfler
23128566a4 Slab.h no longer includes Depot.h.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-21 20:56:34 +00:00