Commit Graph

322 Commits

Author SHA1 Message Date
Ingo Weinhold
96fd394e57 Added SET_ERROR macro.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:00:40 +00:00
Ingo Weinhold
679ac7ab0d Added a couple of methods for app_info finding.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:00:15 +00:00
Ingo Weinhold
2a2585c598 Fixed an unchecked error in get_app_path().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 19:59:08 +00:00
Ingo Weinhold
b194af1035 Added message and codes, a flat_app_info structure and the name of roster side created app looper ports.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 19:57:58 +00:00
Ingo Weinhold
73a2b29f2e * Implemented InitData(), which should now be complete with respect to
what we need for the roster.
* B_{ARGV,REFS}_RECEIVED and B_READY_TO_RUN messages are dispatched now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 19:55:10 +00:00
Ingo Weinhold
92180c47a3 Get the current team not using fTaskID, the looper thread, but find_thread(NULL) instead. In InitData() the thread has not been spawned yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 19:51:49 +00:00
Ingo Weinhold
3b04471572 Implemented InitData(). BMessenger is complete.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 19:48:49 +00:00
Ingo Weinhold
496ffb0aa7 * Changed return type of some private methods from void to status_t.
AddApplication() returns the token via reference parameter and
  additionally returns the team ID of the already running app (if any).
* Implemented AddApplication(), SetThreadAndTeam(), CompleteRegistration(),
  IsAppPreRegistered(), RemovePreRegApp(), RemoveApp(), or to to say it
  briefly the complete set of app registration helper functions.
* Implemented GetRunningAppInfo() and GetActiveAppInfo().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 19:47:21 +00:00
Tyler Dauwalder
674e18fb18 Initial MIME sniffer rule parser checkin. The first draft of the
scanner portion of the parser is done, but completely untested
and unused. More to come...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 07:47:07 +00:00
David Reid
f3b40ada80 This is a 5 minute attempted fix for Marcus's AGP card not working
for VGA accesses.

Marcus: can you try this and see if it makes any difference? There should
be a debug message if it detects your agp bridge and applies the fix.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 05:32:00 +00:00
Matthew Wilber
7d661d1611 added support for converting 1-bit Be Bitmap files to 1-bit BMP files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 04:29:47 +00:00
David Reid
e805f0e904 Better debugging and final fix to the bus numbering, though that's
style not function.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 23:32:59 +00:00
beveloper
8d5863f44b ups, now it's correct.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 22:51:27 +00:00
beveloper
2b48bdcef9 Correct the bus number that is assigned to pci-pci bridges.
Now finds PCI cards connected to second pci-pci bridge on my motherboard.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 22:43:36 +00:00
David Reid
a0bc23f288 I've been trying to figure out how the division of work between
config_manager and busses works, and this is a large correction based on
my current working thoughts.

I also think we need to have a new interface between the bus modules and
the config_manager to allow them to work together. I have some ideas
on it and will start fleshing it out next week.

This update basically moves all PCI stuff back to the PCI module and
cleans up config_manager.c. We now print a small amount of info for
devices and more for bridges. My system only has a single bridge, but if
anyone has a more exotic system and tries this can they let me know
what sort of results they see?


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 18:11:45 +00:00
notion
66554a4c98 Fixed the overflow bug in heap.c that would occur on allocation of all the memory of the heap.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 14:49:29 +00:00
David Reid
a537d866cf Another support function. This time we add the ability to change
power management states for cards that support it.

ISTR that Be forced all devices to full power, so we do the same
for the moment.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 14:16:57 +00:00
David Reid
75532124ed Remove some unused and unloved files...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 13:32:22 +00:00
David Reid
d45a868bb2 Remove the apps mount and unmount from the kernel build as they
don't do anything and Axel has started replacing them anyway.

At some point we need to remove the files, but I'll wait until
things have had a few days first.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 13:30:59 +00:00
David Reid
67162b7430 remove a warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 13:28:54 +00:00
David Reid
037c83e3e6 Move PCI on a little more.
- add finding the PCI IRQ Routing table
- add pci_get_capability and some simple uses to test it

Thanks to Michael N for his help on getting the region working as
I expected it to :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 13:28:23 +00:00
ejakowatz
e75560e6cb Initial checkin.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 04:56:14 +00:00
Axel Dörfler
cd157d41a9 Implemented the "mount" command.
Added a missing newline at the end of alert.cpp.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 02:56:47 +00:00
David Reid
ac943f57f9 Change the path we look for drivers in.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 02:01:01 +00:00
David Reid
786e627791 Install the drivers into /boot/drivers instead of /boot/addons and
which allows better seperation and stops the module code trying to
load device drivers. This should speed up the boot a little and reduce
the debug messages that Marcus loves so much :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 02:00:16 +00:00
Matthew Wilber
67843ba9b0 added support for 8-bit Be bitmap images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 01:53:22 +00:00
Matthew Wilber
6385fcb9ef added #include <InterfaceDefs.h>
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 01:50:06 +00:00
Michael Phipps
e5a94ba1fd Update to reflect that there is some locking in place now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 01:28:45 +00:00
Michael Phipps
72515139f7 Updates to make creating areas and accessing bytes work. Lots of debugging
printfs, etc in here. But some bug fixes and better code.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 01:27:00 +00:00
David Reid
d10f93e702 Remove the int_ from the interrupt enable/disable functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 01:05:51 +00:00
David Reid
7438a7b7d0 The multi-threaded police raided and of course we didn't have locks
for accessing the config space! So, become a good citizen and add locking
to ensure we only have one dabbler at a time in config space.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 01:04:12 +00:00
notion
fde77afb37 Ported my NewOS changes to OpenBeOS.
A couple of changes in various interrupt and thread functions and structures.
These make it now possible to change the stack at any time without making the kernel crash. This is needed for calling VESA 3.0 VBE functions through the protected mode interface.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 20:59:25 +00:00
Ingo Weinhold
f683b788d0 Excluded console.c from being compiled here. It is compiled for the drivers static library anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 17:47:28 +00:00
notion
719e338bae Refined cv_factor calculation.
Also set TIMER_CLKNUM_HZ to its correct value.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 12:39:31 +00:00
Tyler Dauwalder
4177635e24 Added initialization and MIME string functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 09:29:16 +00:00
Matthew Wilber
817a47b050 Added support for more Be Bitmap types and cleaned up code in general
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 03:09:13 +00:00
Tyler Dauwalder
3f6453cd59 Added v4 verbosity level
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 00:12:02 +00:00
Ingo Weinhold
caf7e04f7f Implemented missing app_info constructor and destructor.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 23:41:15 +00:00
Ingo Weinhold
51d6b22ec1 Added TRoster instance to the registrar application and dispatching of the application registration messages.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 23:40:12 +00:00
Ingo Weinhold
f9fd58cc75 Added classes TRoster, RosterAppInfo and AppInfoList. TRoster will be the *The Roster*, but has currently only unimplemented hooks for the app registration functionality. More to come.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 23:38:57 +00:00
Tyler Dauwalder
762a48a083 + Finished BMimeType doxygen
+ Finally checked in my remaining BMimeType tests... :-)
NOTE -- The BMimeType::GetSupportingApps() test is
not yet finished. For some reason GetSupportingApps()
is returning a few strange signatures that don't appear
to be in the database. I'm still figuring out where they're
coming from.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 22:29:25 +00:00
Tyler Dauwalder
242a6db230 Changed TestApp to BTestApp for sake of consitency with
the rest of the test classes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 22:27:43 +00:00
Tyler Dauwalder
5ebee1cf0a BVolume and BVolumeRoster updates, courtesty of Vincent Dominguez
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 21:39:49 +00:00
David Reid
96a445359a remove digit from the build. Poor digit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 21:29:20 +00:00
David Reid
f8e2c34c67 Update the config_manager and pci modules.
This now reports better and starts configuring the busses we find.

There is still a long way to go but this another step on the way.

NB the information comes from 2 different methods and presently doesn't
   agree This is known and will be fixed, so please don't start yelling
   that it's broken! If people have strange debug information please
   let me have a copy so I can try to debug further :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 21:28:35 +00:00
ejakowatz
459de0d777 Fixed stupid syntax errors generated by my property_info dump tool. Now to
fix the tool ...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 21:25:54 +00:00
David Reid
c8ca4b8cae Having an identity crisis!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 21:25:39 +00:00
Ingo Weinhold
20476a6b71 Don't run the application for the time being.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 21:23:01 +00:00
Ingo Weinhold
17c00872bb Implemented _init_roster_() and added _delete_roster_() which are now responsible for be_roster.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 21:21:55 +00:00
Ingo Weinhold
a3a31e261e Added library initialization/termination functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 21:20:39 +00:00