Commit Graph

31863 Commits

Author SHA1 Message Date
Stefano Ceccherini
4687d95b68 Renamed x86_hpet.c to x86_hpet.cpp and fixed the compile errors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 09:50:32 +00:00
Stefano Ceccherini
8626c1aa5f the HPET timers resolution is REALLY high. The time conversion was off by
1000. XenServer boots correctly and in reasonable time,
now (meaning hpet timers work). I guess on real hw the bios doesn't
correctly program the hpet timers, so we'll need a bit more work.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 09:49:02 +00:00
David McPaul
4966c05232 register another xvid fourcc
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 09:26:00 +00:00
Stefano Ceccherini
9ea40f7802 Cosmetics.
XenServer actually boots (but slow as hell) with hpet timers enabled, real hardware does
not.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 08:29:42 +00:00
Stefano Ceccherini
dd9b76727d Enable hpet_init() in the boot loader. All it does is searching the hpet
table and mapping it if needed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 07:06:58 +00:00
Stefano Ceccherini
d54e62b2c8 Added dumping the timer configuration, and the possibility to use any of
the hpet timer, not just the first 3.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 05:08:22 +00:00
Philippe Houdoin
c82b73bd02 Forgot to fix those, too. Maybe because they're useless, to say the
least.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 03:14:38 +00:00
Philippe Houdoin
e609e7d3eb Ooops, forgot this one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 02:08:13 +00:00
Philippe Houdoin
62f9de87b0 Moved Mesa libs (mesa, glu & glut) under src/libs/mesa, where it should have
been since long already.
This should help aljen reintegrate his gallium branch sooner than later, 
which after the speed improvment on softpipe made last days will 
be welcomed, I'll bet ;-)

Maybe it's possible to even have both current Mesa Software Renderer add-on 
*and* Gallium-based SoftPipe one. Will need to actually support renderer 
selection (in OpenGL preference panel or via a missing OpenGL Kit API), 
as today the first add-on found is the only one ever selected...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 01:50:30 +00:00
Philippe Houdoin
46b4cc5651 Unbreak acpi_thermal driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 23:47:10 +00:00
François Revol
49546fa993 Small script using hey to dump the BView hierarchy of a window of an app...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:43:58 +00:00
Jérôme Duval
b964c116d7 * handles correctly failures during setup
* style fixes
* fixed warnings


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:41:12 +00:00
Jérôme Duval
430889581a * handles correctly failures during setup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:40:33 +00:00
Jérôme Duval
b5929aa12e * handles correctly failures during setup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:39:59 +00:00
Jérôme Duval
65c7c7c383 * handles correctly failures during setup
* style fixes


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:39:38 +00:00
Jérôme Duval
b5d916002b * handles correctly failures during setup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:38:11 +00:00
Stefano Ceccherini
cd1352fe63 Fix endianess problem: the period and capabilities bits were reversed in the hpet registers
struct definition.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:06:02 +00:00
Philippe Houdoin
a9e916dc25 Install default address space handlers too during startup.
Without them, embedded controler may have issue accessing some addresses before 
installing his own handlers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 21:45:44 +00:00
Jonas Sundström
0d62f09d74 Explicitly allow not giving a relative path.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 21:35:10 +00:00
Philippe Houdoin
904acde1c2 Added Vincent Duvert to Contributors for his Icons screensaver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 21:09:12 +00:00
Adrien Destugues
875e7244d7 Patch by Michael Weirauch to fix bluetooth apps signatures.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 21:07:18 +00:00
Adrien Destugues
93647add85 Public headers should not hold commiter names in the licence header. Removed them.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 21:03:57 +00:00
Philippe Houdoin
32b3986c09 Added a very nice Icons screensaver, by Vincent Duvert.
Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 21:03:51 +00:00
Jonas Sundström
99c8538b8b Code style fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 20:44:41 +00:00
Philippe Houdoin
ba4b45f760 Coding style cleanup. Hope I got it right...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 17:53:49 +00:00
Philippe Houdoin
f2f265930d * Made DPC an ACPI module dependency
* Moved DPC queue creation / deletion before/after ACPI subsystem 
  init/shutdown repectively, as AcpiInitializeObjects() would 
  eventually trigger some AcpiOsExecute() call, which need DPC to be ready.
* Still missing:  a DPC queue that run each call in its own thread, not sequentially...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 17:36:49 +00:00
Michael Lotz
eea7b7309f When writing a fresh MBR on initialization, also write boot code to it. It uses
the combined PMBR/MBR bootloader from FreeBSD done by André Braga. It will
chainload either a Haiku GUID partition or fallback to the partition marked
active in the MBR.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 15:24:46 +00:00
David McPaul
cf78cd8986 improve workaround
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 11:43:41 +00:00
David McPaul
d88759d47a Add workaround for some broken avi files with 0 length chunks. See issue 4620
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 10:13:20 +00:00
Ryan Leavengood
e9503e26f5 Fix typo spotted by Joel Cox: thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 05:47:32 +00:00
Adrien Destugues
fb421f7d1c The app signature of the bluetooth preflet used a lowercase haiku instead of the usual Haiku, making the locale kit not find the catalogs. I can't see this change in the compiled image, however, which file should I delete for this to be uodated ?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 20:56:11 +00:00
Philippe Houdoin
c6989ed912 * check if the device path is already known first.
* check the path is NOT a directory or a symlink to a directory.
  regular or char/block device are considered both valid path to read 
  from and write to. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 20:55:08 +00:00
Adrien Destugues
4cbc2061fd Should make the bluetooth preflet compile and run better.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 19:40:38 +00:00
Rudolf Cornelissen
51e7cfd2bb modified head selection code for most NV40 architecture cards since their BIOSes behave differently. This should fix black or disabled screens if the secondary connector has a VGA screen while the first one is disconnected. verified on NV43, NV44, G71 and G72 over here. Bumped version to 1.05.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 19:17:35 +00:00
Jérôme Duval
d46c72cd75 add a grist to the test truncate command.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 19:07:38 +00:00
Joachim Seemer
fa1e6cf851 Changed bullet list to headings. Thanks Oscar Prego for noticing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 18:17:38 +00:00
Axel Dörfler
9ba61ffd10 * Version all libbe symbols - while this enlarges all executables, and isn't
strictly necessary yet, it also makes the app_server test environment run
  under Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 15:11:20 +00:00
Stephan Aßmus
23f83f8ccb BEntry and BDirectory also needed stat related symbols defined when compiling
the test environment for GCC4.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 10:32:49 +00:00
Stephan Aßmus
b671e9bbdb Added fixes for compiling on GCC4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 10:21:58 +00:00
Stephan Aßmus
32bf3ca5f8 Added GetStat() symbol when compiling the test environment on GCC4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 10:19:11 +00:00
Stephan Aßmus
7ad67e708f Optimized includes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 10:18:24 +00:00
Stephan Aßmus
6aca882298 Automatic whitespace cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 10:15:37 +00:00
Stephan Aßmus
e55dd5f8ef * When compiling on Haiku as the host platform, set HOST_LIBSUPC correctly.
This is important when setting up the TARGET_LIB* constants later, in case
  the target platform is not "haiku". (i.e. libbe_test).
* Added TODO about HOST_GCC_BASE_FLAGS being wrong for GCC4. I couldn't find
  the proper fix, but it is important whan compiling libbe_test on Haiku.
  I worked around this by having the constant defined correctly for the
  problematic file. See the TODO comment.
* Small cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 10:14:07 +00:00
Stephan Aßmus
b04721f313 Applied patch by Matt Madia:
* Introduced "nightly-*" release build profile.
Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 09:02:31 +00:00
Stephan Aßmus
19b850b383 Fixed the build of the app_server test environment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 08:08:33 +00:00
Michael Lotz
c7980f8d06 Add a pseudo condvar implementation and two more functions, just enough to get
all the USB drivers working with this single compat header. Usefulness might
be questionable, but since I did the work anyway, why not check it in as well...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 05:39:03 +00:00
Michael Lotz
e65227c272 * Error out on the num events ioctl in case the device was removed, otherwise
the original BeOS input_server will fail to detect the error and never close
  the device.
* Remove the empty kernel_cpp header and use the one from kernel util instead.
* Add some missing headers for completeness.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 05:30:04 +00:00
Michael Lotz
ecd60dec1a Removing unused BeOS compatibility header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 02:26:54 +00:00
Michael Lotz
8b6349fd32 * Add a missing result assign that would cause the synchronize ioctl to always
return an error.
* Properly use the name length instead of a hardcoded buffer size when composing
  the name of the raw device and ensure proper termination.
* Case new ioctls for Haiku as the target platform. Indeed this driver works
  fine on BeOS even though it was written natively for Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 02:16:47 +00:00
Michael Lotz
1393394ba6 We need to guarantee that when cancel returns that the callback won't be called
anymore. It could happen that the transfer was already in the process of being
finished, so wasn't in the list of pending transfers anymore. Cancel would then
return even though the callback wasn't called yet. This could lead to a callback
being called after a driver was already unloaded (even after it cleaned up the
pipes it used).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 01:59:05 +00:00