Commit Graph

10452 Commits

Author SHA1 Message Date
Jérôme Duval
95e5262abe Added spacebar keycode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 00:36:41 +00:00
Jérôme Duval
e3c78aded7 Added input method key switching (alt+space)
Added code to enable deskbar replicant loading after input_server is started


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 00:34:37 +00:00
Michael Pfeiffer
dcab43435a Implemented delta row compression. Added media sources. Enabled duplex mode.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 19:29:07 +00:00
Michael Pfeiffer
1ee14bea49 Added DeltaRowCompression.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 19:26:27 +00:00
Rudolf Cornelissen
342f26df0e added register defines needed for engine DMA setup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 18:43:41 +00:00
Rudolf Cornelissen
4610db2600 added DMA engine initialisation code for NV40 and higher. Still disabled, and needs support from driver (reserve DMA buffer RAM etc)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 18:41:36 +00:00
Axel Dörfler
d1f630f624 Fixed some typos, minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 18:30:37 +00:00
Michael Pfeiffer
30ec9a55ef Added 'Go to page' control. Contributed by Hartmut Reh.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 18:26:13 +00:00
Axel Dörfler
f1a1d6e98a Implemented get_safemode_option() (not yet tested).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 18:06:25 +00:00
Jérôme Duval
91f8300536 Add some method switching support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 17:08:27 +00:00
Rudolf Cornelissen
af26d6420e fixed arch typo. _now_ NV40 and higher should work, although still without acc.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 14:22:29 +00:00
Stefano Ceccherini
4339dcab52 Removed some wrong code and added a comment. Small style fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 14:18:53 +00:00
Rudolf Cornelissen
d37a3badbe updated a register name to be more correct.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 13:14:42 +00:00
Rudolf Cornelissen
a48b31824b doc update
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 13:12:01 +00:00
Rudolf Cornelissen
dd43fd34c1 added cursor HW bug workaround for NV40 and higher on CRTC1; added seperate acc file for DMA test setup for NV40 and higher (for now).
The driver now works by default on NV40 and higher, but without acceleration.
If someone tests using overlay, let me know if it actually works: NV43 seems to have a new engine, NV40 _might_ still have the old, and so, useable engine.
NV40-plus overlay is something we will NOT have any time soon!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 13:04:17 +00:00
Rudolf Cornelissen
0b7b8998b2 finalized HW cursor sync: now tested and found OK on all my pre-NV40 cards.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 11:24:33 +00:00
Rudolf Cornelissen
4047880883 added secondary head cursor sync reg define. Still needs to be confirmed working (it exists at least)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 10:46:02 +00:00
Rudolf Cornelissen
e36daaab07 doc update
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 10:43:22 +00:00
Rudolf Cornelissen
dcd66b8944 fixed committing..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 10:42:21 +00:00
Rudolf Cornelissen
df7dbd1d4e completed cursor hardware retrace syncing, confirmed working fully OK on FX5200. Other cards will be tested shortly. Note: this also seems to fix losing screen sync for short bursts with DVI connectors on some DVI encoders.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 10:38:53 +00:00
Axel Dörfler
57af9fc29e Added a small program to control the cache (using the generic syscall mechanism).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 08:08:14 +00:00
Axel Dörfler
104de70bd8 Oops, the driver name was not propagated as needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 08:01:39 +00:00
Axel Dörfler
00fb471d52 Fixed typo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:59:14 +00:00
Axel Dörfler
c51144040d The BOCHS_DEBUG_HACK definition now only enables support for the bochs
debug output - to activate it, you now have to enable it in the kernel
settings file ("bochs_debug_output true").
Reimplemented the serial output so that it's flexible towards the base
port at run time.
Implemented support for kernel settings "serial_debug_port" (which can
now also be an index in the BIOS provided serial ports list), and
"serial_debug_speed".
That also means that you can finally use the same kernel executable
under BeOS Bochs and on a real system without any restrictions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:53:22 +00:00
Axel Dörfler
163338aef6 Now calls the new arch_dbg_con_init_settings() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:48:44 +00:00
Axel Dörfler
b15a7e8e0a Now initializes the driver_settings services (so that it can find the
settings passed over by the boot loader).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:47:51 +00:00
Axel Dörfler
74272e4c46 mutex_lock() will no longer panic() if acquire_sem() failed and the mutex
holder did not change (required for booting properly).
Also added a ToDo comment about a required mutex API change in order to
be able to return a status that indicates failure.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:46:48 +00:00
Axel Dörfler
3278ab8475 Made header C++ safe. Added new function prototype for arch_dbg_con_init_settings().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:43:48 +00:00
Axel Dörfler
486c7eddeb Added driver_settings support: it will now read in the vesa kernel driver
settings and use that one as standard video size (but ignores the depth
parameter for now).
It will be the app_server's responsibility to keep this file up to date.
This file should no longer be edited by users.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:41:01 +00:00
Axel Dörfler
4c89c923bf For now doesn't switch to text mode and back to the logo anymore when the
menu is shown - the logo is now shown after the menu anyway.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:38:01 +00:00
Axel Dörfler
0d4ea07bd7 Added driver_settings support to the kernel_args structure.
The driver settings are put into the kernel_args memory section and
copied on kernel startup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:36:08 +00:00
Axel Dörfler
78c5ef46fc Added driver_settings support.
It will now load all settings in the kernel driver settings directory
and pass them over to the kernel (unparsed).
Additionally, it allows other parts of the boot loader to access
driver_settings just like in the kernel.
Moved the switch to the logo in the boot loader much further to the end
of the boot loader's life cycle. This is done so that the boot loader
can directly use the video mode as configured in Haiku, without a jumping
logo. Since the delay will be noticeable on a real system, we might want
to introduce a second different boot logo, though. We'll see.
stdio.cpp now also exports errno (and _errnop). Might be changed to a
different approach later as well (it's now done this way so that strtol.o
can be taken over unchanged from libroot.so).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:32:54 +00:00
Axel Dörfler
a2940337b4 Added strcasecmp(), strlcat(), and strtol() to the boot loader in order to
be able to use the driver settings in a useful way.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:26:50 +00:00
Axel Dörfler
f753d9c494 Updated to export all the functionality we need from within the kernel
and the boot loader.
When compiled in the kernel, driver settings are cached and may be used
without disk access at all.
Added some comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:25:23 +00:00
Axel Dörfler
42340683af The identify hook must return an error in case of an error, not 0.0f - or
else the scan partition hook will be called with an invalid cookie.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:22:36 +00:00
Axel Dörfler
381c5247e0 Fixed compilation in debug mode.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:21:08 +00:00
Axel Dörfler
f04715b8fe Command queueing is now generally disabled in PIO modes. No matter what
the cause is, it didn't work over here at all in this combination.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:17:55 +00:00
Axel Dörfler
c776c35a04 Added a temporary way to differentiate between kernel and userland builds for
parts of kernel_os_main.o.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 01:32:11 +00:00
Axel Dörfler
0f6c560eec Removed the upper restriction of maximum cache transfers (was restricted
to 32 pages at a time out of pure lazyness).
Also fixed a potential bug when reading across page bounds (pageOffset
might not have been properly reset).
Added some more comments and ToDo items.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 22:40:30 +00:00
Rudolf Cornelissen
c442f9acd1 added cursor sync register define
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 20:34:24 +00:00
Rudolf Cornelissen
7d457f8e19 added new cursor sync for CRTC1: it turns out the cards have hardware for that. This will lower CPU load much when moving the mouse around :-)
Still testing, will finalize and add CRTC2 soon I hope..


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 20:32:10 +00:00
Michael Pfeiffer
4259e26f8a Disabled building of PCL6 printer driver until we get permission from HP to include the jetlib\!\!\!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 18:07:48 +00:00
Michael Pfeiffer
fca41c6c35 Added Hartmut Reh to list of authors. Updated copyright information.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:55:32 +00:00
Michael Pfeiffer
d24243b3d4 Updated copyright information
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:54:15 +00:00
Michael Pfeiffer
be15dcda7f Added class PagesView for visualization of the options Reverse and Collate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:46:28 +00:00
Michael Pfeiffer
a4d61ba325 import/export function instantiate_printer_driver
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:45:26 +00:00
Michael Pfeiffer
d225778e9a Added scaling ability and visualization of the options Reverse and Collate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:42:53 +00:00
Michael Pfeiffer
1c921c1e06 Added class PagesView for visualization of the options Reverse and Collate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:39:30 +00:00
Michael Pfeiffer
2b7e5e87bd Added scaling ability to libprint.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:37:46 +00:00
Michael Pfeiffer
0826cc43ae Added first/last page buttons contributed by Dr.H.Reh.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-08 14:08:54 +00:00