Commit Graph

2474 Commits

Author SHA1 Message Date
David Reid
a340f6a31c Add some more defines.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 14:18:16 +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
David Reid
e663def608 Add some more defines for PCI. Capabilities are a PCI 2.2 thing :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 13:26:35 +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
David Reid
2ba192e3cf Remove the int_ from in front of the enable/disable interrupt functions.
These will need to be reviewed as beos drivers expect them to be available
and using #define won't cover that.

The doxygen stuff doesn't all work though I can't figure out why :(


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 01:02:18 +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
94782cf761 Made the assemble rule more like As. Why do we need assemble anyway? Any reason not to use As?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 18:13:59 +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
Ingo Weinhold
16fa4445b9 KEEPOBJS is set now. It makes the Library rule not remove the object files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 17:46:02 +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
7a89b5cb9e Added Equals() function, which sadly I haven't tested
(I just stole it from StorageKit::BasicTest, the version of
which has been proven many times over ;-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 09:30:20 +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
f1ac78ebd2 _TRoster_ -> BPrivate::TRoster.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 23:42:42 +00:00
Ingo Weinhold
e07bab9da6 Added message constants for the application registration.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 23:42:11 +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
9d863cc903 Updated search directories to match new hierarchy
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 22:04:53 +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
David Reid
e549633426 Add some missing defines to the PCI file to bring us more up to
date than the Be file we started from. Also add the type 2 header and
start adding it to the pci_info structure.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 16:56:52 +00:00
Axel Dörfler
b9f8590233 Added sys/user calls for the open/create entry_ref/node_ref functions.
Added functions to retrieve set the fs_info structure (i.e. used to get the
partition's name); not implemented yet in the internal file systems.
Implemented the dir_create_entry_ref() function.
Re-ordered some parameters for the fs calls to be more consistent.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 14:10:12 +00:00
Axel Dörfler
c9d3e51155 Added syscalls for sys_open_entry_ref(), sys_create_entry_ref(),
sys_open_dir_(entry|node)_ref(), sys_create_dir_entry_ref().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 14:07:18 +00:00
Axel Dörfler
973b9ee6b7 Added the syscalls for sys_open_entry_ref(), sys_create_entry_ref(),
sys_open_dir_entry_ref(), sys_open_dir_node_ref(), sys_create_dir_entry_ref().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 14:05:18 +00:00
Axel Dörfler
c3db7c3b9e Added the B_BAD_DATA error.
Removed all the whitespaces at the end of every line.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 14:03:46 +00:00
Axel Dörfler
aa7d137cdd Added the fs_info.h header needed for some stuff in the VFS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 14:03:03 +00:00
Phil Greenway
7ad86addf9 Initial Checkin to "current". Coded by Matt McMinn.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 06:56:49 +00:00