Rudolf Cornelissen
d1a21786b1
added setting 'dma_acc' for nv.settings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 18:25:40 +00:00
Rudolf Cornelissen
6a209f3a00
added dma_acc setting for nv.settings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 18:22:04 +00:00
Stephan Aßmus
e83e0fa7e8
fixed raw streaming option to read and write larger chunks
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 18:21:09 +00:00
Rudolf Cornelissen
dd446dd3f3
added a nv.settings switch 'dma_acc'. User can choose method for acceleration. Default is off, selecting (old) PIO mode. DMA still does not work, and is not completed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 18:18:09 +00:00
Axel Dörfler
28d9360f57
Removed no longer used SYS_MAX_* constants (we have B_*_NAME_LENGTH for this).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 17:18:01 +00:00
Rudolf Cornelissen
a9d9522bc6
removed a define that's not needed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 17:14:19 +00:00
Rudolf Cornelissen
e4d42ef757
fixed a stupid error I introduced with cleaning up some stuff: FIFO channel assignments should now work. Confirmed NV11 BTW being at the same level as NV43: DMA works, engine not yet.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 17:10:22 +00:00
Axel Dörfler
dcbf2cb678
Now uses a driver/device exploration like R5; when a directory is looked
...
up for the first time, it will try to load all drivers that may export
devices there. Those devices will currently stay loaded, though - this
will only be changed when load_kernel_add_on() is able to cache add-ons.
Renamed pnp_devfs_probe() to pnp_devfs_register_device().
Fixed debug output for devfs_create().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 16:51:21 +00:00
Axel Dörfler
f43c430864
No longer used.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 16:46:01 +00:00
Axel Dörfler
568f1574d2
dev_init() and bus_init() are now both obsolete.
...
con_init() now takes care of the initialization of its currently built-in
console drivers itself.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 16:44:44 +00:00
Axel Dörfler
19abe05796
Removed dev.c as it's no longer in use (driver loading is now done by
...
the device manager).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 16:39:33 +00:00
Axel Dörfler
321fcdaf57
Removed ToDo comment about removing kernel.so - actually, we'll keep kernel.so
...
because it has some advantages over a relocatable kernel.
Removed libbus.a as it's no longer needed.
kernel.so now depends on kernel, so that both files are updated at once.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 16:37:49 +00:00
Axel Dörfler
a9435d9740
Some work in progress cut back to support R5 style device exploration.
...
Also includes the loader of R5 styled drivers (taken from dev.c).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 16:29:40 +00:00
Axel Dörfler
321231a056
Added prototype for probe_for_device_type().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 16:13:27 +00:00
Axel Dörfler
339a06ca55
get_vnode_name() now handles a NULL parent vnode gracefully (and returns
...
an error in case the vnode name could not be retrieved without it).
Comment cleanup for consistency.
Renamed remaining "omode" variables to openMode.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 15:59:18 +00:00
Ingo Weinhold
c1b61f2843
We're using uname(), so we need to link libopenbeos.so against libnet.so under R5.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 15:54:07 +00:00
Stefano Ceccherini
2cdfcae44b
The LowColor() had to be resetted after having drawn the shortcut symbol. Corrected a weird typo.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 15:10:46 +00:00
Stefano Ceccherini
6c857bb9fe
BMenuItem now also draws the trigger at the right position. There was a small visual glitch because the menu's lowcolor was not resetted: fixed. BMenuItem::Draw() needs a cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 13:44:36 +00:00
Stefano Ceccherini
727e24f793
Now BMenu also calculate the triggers for BMenuItems.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 10:42:41 +00:00
DarkWyrm
93e11ddfc8
Stupid forgotten header
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 10:24:45 +00:00
Phil Greenway
ea932d8aee
Updated
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 09:31:50 +00:00
Stefano Ceccherini
d0733791ae
Removed MallocIO.cpp as it wasn't being built, and BMallocIO implementation is in DataIO.cpp.
...
We might want to split them again, but keeping that old file around was counterproductive.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 08:44:03 +00:00
Stephan Aßmus
7696124772
allocating buffers of size known at runtime is a GCC feature, now allocates on the heap, but it should be rewritten to write smaller chunks of the attribute at a time to support potentially huge ammounts of attribute data, but not tonight
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 03:29:13 +00:00
Stephan Aßmus
d4578d0fe1
now supports the --raw or -r option to stream the original raw attribute data
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 03:15:42 +00:00
Axel Dörfler
e8edb8545b
A hash_lookup() to the module images was made without having the proper lock held.
...
Added kernel private calls load_module() and unload_module() that can be used to
load/unload modules by path.
load_module_image() now only mentions when it couldn't load a module when tracing
is enabled (because the device manager uses it to determine if an add-on is a
module or an old-style driver).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 02:37:38 +00:00
Axel Dörfler
ceba105306
Added function prototypes for the kernel private load_module() and unload_module() calls.
...
Made the header C++ safe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 02:34:00 +00:00
Axel Dörfler
6de263b12e
This can be useful at other places as well (originally came from the
...
BFS implementation).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 02:31:56 +00:00
Ingo Weinhold
5513a4cb69
Changed signature.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:20:09 +00:00
Ingo Weinhold
48f570b5c7
* The settings file is now called "HaikuRosterSettings" instead of
...
"OpenBeOS...".
* Obtain the path of the settings dir via find_directory().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:19:23 +00:00
Ingo Weinhold
769ba00e93
* Changes due to moving RegistrarDefs stuff into the BPrivate namespace.
...
* Rename the main thread after creating the BApplication. Then at least
the roster will be ready for use.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:17:35 +00:00
Ingo Weinhold
d8247d2bd9
Changes due to moving RegistrarDefs stuff into the BPrivate namespace.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:14:50 +00:00
Ingo Weinhold
45c3a5cfa9
Obtain user settings dir path via find_directory() now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:13:13 +00:00
Ingo Weinhold
289adc045d
Changed due to moving RegistrarDefs.h stuff into the BPrivate namespace and replacing kRosterPortName.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:11:39 +00:00
Ingo Weinhold
0ffb21a672
* Moved everything into the BPrivate namespace.
...
* Replaced the constant kRosterPortName by a function returning that name
(we need different port names under BeOS and Haiku, and already at
libbe init time).
* The settings directory is obtained via find_directory() (critized by
Axel :-).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:06:30 +00:00
DarkWyrm
566155b85f
Accidentally overwrote Jack's last checkin with my changes to an old version -- getting stupider and stupider in my old age....
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 23:19:42 +00:00
Axel Dörfler
cdde948ccc
Fixed compilation in case COMPILE_FOR_R5 is defined.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 22:35:28 +00:00
Axel Dörfler
c004da882f
Fixed compilation issues that came with changing it to be C++ (hi mmu_man :-)).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 22:23:20 +00:00
Axel Dörfler
7e536c5607
Renamed probe.c to probe.cpp to prepare if for all the changes it got.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 22:19:43 +00:00
Michael Pfeiffer
2aa7d54a51
Fixed bugs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 20:33:03 +00:00
DarkWyrm
d86ffbc9c4
Changed keyboard nav color to match R5 even though we use Dano's attributes
...
BFont::GetHeight now works properly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 20:08:40 +00:00
DarkWyrm
9a2b128aea
More API fixes and tweaks, mostly to get BFont::GetHeight working
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 20:05:36 +00:00
DarkWyrm
3f8d6d562d
Moved _init_global_fonts to Font.cpp
...
Implemented _init_global_fonts
BFont::GetHeight returns proper values
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 19:57:51 +00:00
Michael Pfeiffer
2e5cdc1e26
Removed misleading comment
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 16:54:41 +00:00
Michael Pfeiffer
f04964923d
Added function ScaleRect().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 16:51:17 +00:00
Rudolf Cornelissen
fa6815fa24
added NV4/NV10 architecture register define needed for DMA stuff
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 15:53:57 +00:00
Rudolf Cornelissen
e0cbecd9c9
completed NV10 architecture DMA programming to the same level as NV43. Hopefully this engine will show more signs of life than NV43 still does..
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 15:51:39 +00:00
Axel Dörfler
b217d989e7
Removed now unnecessary comment.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 15:39:34 +00:00
Rudolf Cornelissen
4cd3f831c2
added cmd defines (CTX registers) for pre-NV40 cards, corrected a CTX programming error for NV40 and higher (2d_surface).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 15:12:54 +00:00
Axel Dörfler
9f8a0739b6
The daemon now runs on top of our kernel, so it should now write to
...
the real syslog.
Also, find_directory() now makes sure that the path to the syslog
actually exists.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 14:49:14 +00:00
Rudolf Cornelissen
8118b7593e
added pattern cmd colorspace define (PIO/DMA)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 13:11:39 +00:00