Axel Dörfler
c66a5d50b7
"Improved" a commentary.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:36:50 +00:00
Axel Dörfler
b8d0a6779d
pnp_node_info is now a little bit more public and can now be found in kdevice_manager.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:35:15 +00:00
Axel Dörfler
77ca57637e
The pnp_node_info structure is now a bit more public and accessible
...
within the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:19:41 +00:00
Axel Dörfler
1b4746c270
Changed the VM store and VFS functions a bit to better match the corresponding driver hooks.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:18:36 +00:00
Axel Dörfler
a1978b5cef
Preliminary version of the file caching API - does not yet support journaling and such.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:15:22 +00:00
Axel Dörfler
7af4ca8acf
Changed the VM hooks a bit to better match the corresponding driver hooks.
...
Added file cache hook function that gets the extents of a file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:13:45 +00:00
Axel Dörfler
9edfb372ab
Renamed the readv/writev hook functions to read_pages/write_pages to
...
make clear that they work differently from before (or soon will).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:12:27 +00:00
Michael Pfeiffer
d25d8e6b16
Test for class _PointerList_. Someone should convert it to a CppUnit test
...
and integrate it in the build system.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 10:00:13 +00:00
Michael Pfeiffer
ad867a27fb
Implemented quick sort. Refactored source code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 09:39:05 +00:00
Rudolf Cornelissen
ec90512462
added CRTC FIFO registers for watermark setup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 09:33:56 +00:00
Rudolf Cornelissen
50bd00fe1f
added fixed CRTC FIFO watermark setup (in a temporary fashion). This should solve the 'bandwidth trouble' (memory fetch errors, noise on screen) on coldstarted cards. Tested and found OK on TNT2-M64. Coldstart is now just perfect there!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 09:30:24 +00:00
DarkWyrm
30f5b3138d
Converted BGet memory pool manager to a class. Now we have the foundation for sending large objects (BRegion, BShape, etc) to the server
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 00:55:05 +00:00
Axel Dörfler
f6d0f5ea94
Accidently activated debug output with the last change.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 19:27:20 +00:00
Axel Dörfler
f3165b2826
Removed the vm_store::data field. Cleaned up the files a bit, removed
...
unused headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 19:08:47 +00:00
Axel Dörfler
3551420440
Eliminated the "data" field in vm_store - since VM stores allocate their structure
...
themselves, they can just subclass that structure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 19:06:12 +00:00
Axel Dörfler
9d9c6d7de9
No longer in use.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 17:07:35 +00:00
Axel Dörfler
80249479d4
No longer needed, we're now using the vnode store in ../cache/vnode_store.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 17:06:47 +00:00
Axel Dörfler
5ad8418606
Now uses the new vnode store.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 17:05:21 +00:00
Axel Dörfler
447a16653a
Added a basic vnode store, more or less the same as the old one.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 17:04:09 +00:00
Axel Dörfler
5cf089d64f
Start of the file cache. For now only exports a vnode store.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 16:33:32 +00:00
Axel Dörfler
e16b2bc4a9
Added a test application for the BlockMap class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 16:05:44 +00:00
Axel Dörfler
8b3bd22a1d
Added vfs_get_vnode() prototype.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 16:00:22 +00:00
Axel Dörfler
21c6ae44d3
vfs_get_vnode_cache() was pretty broken, and didn't returned the correct
...
cache pointer in most cases.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 15:55:41 +00:00
Axel Dörfler
103d0293a9
Moved this file to ../cache/block_cache.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 15:40:10 +00:00
Axel Dörfler
35df9fef55
Removed cache.cpp from the build.
...
Removed unnecessary grist from source files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 15:39:14 +00:00
Axel Dörfler
837e295821
Added the kernel_cache.o object to the kernel.
...
Added arch dependent POSIX stuff to libroot.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 15:38:05 +00:00
Axel Dörfler
e521a22974
Added the "cache" subdirectory to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 15:36:35 +00:00
Axel Dörfler
3a976c2844
Adds block_cache.cpp to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 15:35:32 +00:00
Axel Dörfler
125f4d5101
Implemented a "block map" that can efficiently map contiguous blocks to
...
addresses.
Not yet used - might be used instead of the vm_cache page caching for the file cache.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 15:34:24 +00:00
Axel Dörfler
6a3016d2ab
Moved the block cache to this file (from ../vm/cache.cpp).
...
It still contains a very dump version of a BeOS compatible block cache.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 15:32:20 +00:00
Axel Dörfler
4872592920
Changed the way the vnode cache is set - it's now cleaner and can no longer
...
allocate a cache twice.
The VFS is now responsible for allocating the cache object - it will call
the VM to do that if necessary.
Added another accessor call to a pointer to the VFS private vnode object.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 14:11:04 +00:00
Axel Dörfler
2f1cbcf862
Changed the way the vnode cache is set - it's now cleaner and can no longer
...
allocate a cache twice. Now handles resource shortages gracefully.
Added small description to _vm_map_file().
Minor other cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 14:09:26 +00:00
Axel Dörfler
36ce5c0164
Changed the way the vnode cache is set - it's now cleaner and can no longer
...
allocate a cache twice.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 14:07:00 +00:00
Jérôme Duval
3f8c0d7e75
now button 2 is working
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 12:48:03 +00:00
Axel Dörfler
b0c6c1df05
Let some bin commands now link against our libroot.so, so that we
...
have more functions available (like strlcpy()).
Note, this might affect the functionality on R5. For example, the
"df" command will only work on Dano/Zeta, and of course, Haiku.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 12:31:09 +00:00
Jérôme Duval
5c506d7fdd
change debug
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 12:14:27 +00:00
Axel Dörfler
f8db8b97a8
No longer uses syscalls instead of POSIX calls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 11:43:53 +00:00
Stefano Ceccherini
0dbc4bef49
Changed the fQuit variable to a static sQuit. Removed the snooze() in the device watcher thread function.
...
Started implementing the "one thread per device" design.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 07:43:56 +00:00
Stefano Ceccherini
145a357d37
This fixes the crash when Debug is active (at least over here; Korli, can you check?)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 07:12:02 +00:00
Jérôme Duval
600f089e43
added a base keyboard addon
...
added a grist to addons
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 22:27:29 +00:00
Jérôme Duval
0548f831d5
complete register and unregister
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 21:56:41 +00:00
Jérôme Duval
e07f3f03dc
added BInputDevice test
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 21:40:01 +00:00
Jérôme Duval
88caa4a867
added missing scrolllock
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 21:18:43 +00:00
Jérôme Duval
83589f8917
added BInputDevice server side
...
added set_modifier_key server side
now changes locks in the current keymap, it can then be reloaded
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 21:15:23 +00:00
Michael Pfeiffer
38ded28eee
Fixed bugs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 20:29:30 +00:00
Rudolf Cornelissen
ba0b8a97e0
added coldstart support for TNT2M64 cards: added RAM width test in script execution. TNT2-M64 now working as good as normal TNT2: lower res modes OK, still needs fix for CRTC memory fetch errors on higher modes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 19:37:45 +00:00
Rudolf Cornelissen
85f38ca104
fixed finding RAM config table in cardBIOS: this enables coldstart support on a lot more NV05/NV06 (TNT2) cardBIOSes...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 15:22:47 +00:00
Axel Dörfler
74cbf93e61
Added and improved lots of comments in vm_soft_fault().
...
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 15:13:15 +00:00
Rudolf Cornelissen
490c99a7db
updated default settings upon missing nv.settings file to best general settings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 13:01:41 +00:00
Rudolf Cornelissen
c1e1b1aef0
doc update for coldstart support.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 12:23:26 +00:00