beveloper
ee3ca5c227
include new files and kernel C++
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 19:02:34 +00:00
beveloper
3348f6b7fa
basic pci information
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 19:01:31 +00:00
beveloper
f4b84940c0
PCI Vendors, Devices, and Class Type information from http://www.yourvote.com/pci
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 19:00:09 +00:00
beveloper
9b4ce42bf2
new PCI bus scanning & configuration code as C++ class
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 18:58:51 +00:00
beveloper
b1393f0002
moved PCI module specific code from pci.c into pci_module.c
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 18:57:36 +00:00
beveloper
870d99e3fc
moved PCI module specific code into pci_module.c
...
moved PCI bus scanning into pci.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-29 18:56:18 +00:00
Philippe Houdoin
a48d4d6056
Fix "no previous prototype" warnings about static functions...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-26 09:53:14 +00:00
Philippe Houdoin
374076c9d6
Forgot this one...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 13:38:46 +00:00
Philippe Houdoin
cb1881b8c2
Import Be Inc. string atomizer kernel module.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 13:37:32 +00:00
Waldemar Kornewald
bb451b9be0
Added empty jamfile for ppp interface manager.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-22 13:23:58 +00:00
Waldemar Kornewald
de2f76e1fe
Moved libkernelppp.a to add-ons/kernel/network/ppp/shared.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-22 13:21:38 +00:00
Tyler Dauwalder
3b488b83e1
And I wondered why the darn the thing was so slow all of the sudden...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-19 06:18:45 +00:00
Tyler Dauwalder
6238495ebb
Fixed second stupid to_vnode_id() bug. This time, high-end 16 bits of address
...
block location were getting chopped off instead of being incorporated into
vnode_id.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 20:59:37 +00:00
Tyler Dauwalder
a75bce0d93
More udf_read_stat() debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 20:57:45 +00:00
Tyler Dauwalder
3fc7b56501
Debug output cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 20:57:25 +00:00
Tyler Dauwalder
449b2f28bf
Cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 20:55:38 +00:00
beveloper
63515204b9
scanning devices should work now
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 18:41:00 +00:00
beveloper
92d054b3ea
now really creates the pci bus manager
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 12:53:12 +00:00
Tyler Dauwalder
f2e1bc22a4
- %lld -> %Ld
...
- Added support for mounting multisession volumes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 07:33:40 +00:00
Tyler Dauwalder
bb182cf309
- %lld -> %Ld
...
- Patched up address mapping to work properly with multisession volumes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 07:32:57 +00:00
Tyler Dauwalder
eaa70c976c
Fixed debug-to-file output to actually work when run in R5 kernel mode.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 07:30:38 +00:00
Tyler Dauwalder
d5366ff7e1
Major const cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 07:29:31 +00:00
Tyler Dauwalder
3013100fff
Added debugging output to PartitionMap::Find()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 07:28:54 +00:00
Tyler Dauwalder
d2fe364ca9
Switched from %lld to %Ld so R5 kernel dprintf statements would actually
...
print something useful for 64-bit integers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 07:28:23 +00:00
beveloper
1f63572715
removed irq functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 20:40:03 +00:00
beveloper
a08f40f828
added basic bus scanning
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 20:38:39 +00:00
beveloper
0ebeb0c0a8
include pci on floppy
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 20:37:57 +00:00
beveloper
016e49ab6a
added comment with final location
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 20:37:21 +00:00
beveloper
7a7f44d1d4
put config manager back in
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 20:33:56 +00:00
beveloper
ba21a8187b
added irq router
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 15:59:21 +00:00
beveloper
ce34fe168e
added irq router file
...
renamed io and configuration functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 15:58:38 +00:00
beveloper
1626396b9d
added pci bios and irq router files
...
renamed io and configuration functions
implemented configuration mechanisms
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 15:57:53 +00:00
beveloper
0b5a9522ae
new config manager
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 01:11:07 +00:00
beveloper
9452770b5c
added new pci bus manager
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 01:07:54 +00:00
beveloper
ed724a32d1
added new pci bus manager module, removed config manager
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 01:05:39 +00:00
Axel Dörfler
070bba8608
The partition-is-big-enough-for-child test did not work correctly; the
...
partition offset doesn't belong there (caused it to hide nested partitions)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 01:02:26 +00:00
Axel Dörfler
cb94280c6b
The file system is now almost endian-aware.
...
Used lazy unreadable conversion: ==, !=, == 0, != 0 are endian-safe
and don't need byte swapping.
If the platform endian differs from the one selected at compile time,
it will mount all volumes read-only for now.
Uncomment BFS_BIG_ENDIAN_ONLY in the Jamfile to build the big endian
version under x86.
No matter on what platform, the compilation defaults to build BFS as
little endian file system (see bfs_endian.h for details).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-16 21:49:22 +00:00
Axel Dörfler
d81d3bfa4c
Added B_SSIZE_T_TYPE, B_SIZE_T_TYPE, B_OFF_T_TYPE to compareKeys().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-16 13:20:43 +00:00
Axel Dörfler
f96b2bc0de
Only send notifications if writing was successful.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-16 13:19:21 +00:00
Axel Dörfler
f096bc378d
Now sets the block size using the disk_environment information, and doesn't
...
just copy the partition block size anymore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-14 16:51:15 +00:00
Axel Dörfler
32270ffe96
Added some missing consts.
...
Added BlockSize() method for the disk_environment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-14 16:50:21 +00:00
Tyler Dauwalder
90685fb799
Per POSIX, now returns B_BAD_VALUE if read position is negative (thanks Axel :-).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 08:49:12 +00:00
Axel Dörfler
3d2f1723fd
Stream::ReadAt()/WriteAt() now return B_BAD_VALUE if the read/write
...
position was set to a value lower than zero (as Posix demands).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 07:21:03 +00:00
Axel Dörfler
0774a741c2
The small_data section now makes use of the const keyword :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 07:19:50 +00:00
Tyler Dauwalder
c52519cfcd
Switched from local cpp.h/cpp.cpp to global kernel_cpp.h/kernel_cpp.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 06:38:49 +00:00
Axel Dörfler
7df7a4cc01
Added endian-aware getter methods for all internal BFS structures.
...
Also made all methods implemented in this file endian-aware (lazy as I am,
I left things like "name_size == 0" unchanged, because 0 is a endian-safe
value... [hey, it's even faster that way]).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 01:24:55 +00:00
Axel Dörfler
0686bd4707
Fixed and simplified.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-11 02:01:48 +00:00
Axel Dörfler
eb03840af1
Added a BFS special endian header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-11 01:34:38 +00:00
Tyler Dauwalder
23a4187a2b
Was returning an error when attempting to read past the end of
...
the file. Apparently one must return success but report 0 bytes
read. This should fix the tracker file copy bug Marcus found.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-10 19:22:54 +00:00
Philippe Houdoin
5bae946703
Fix some warnings, now showing up when building, thanks Ingo!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-10 11:13:35 +00:00