Go to the FreeLists Home Page Home Signup Help Login
 



[haiku-development] || [Date Prev] [12-2007 Date Index] [Date Next] || [Thread Prev] [12-2007 Thread Index] [Thread Next]

[haiku-development] Re: VMWare Graphics Driver Synchronization Needed?

  • From: Michael Pfeiffer <michael.w.pfeiffer@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 30 Dec 2007 16:00:50 +0100
Am 30.12.2007 um 13:51 schrieb Axel Dörfler:

Michael Pfeiffer <michael.w.pfeiffer@xxxxxxxxx> wrote:
The VMWare graphics driver reads and writes ports in device.c.
I am wondering if there is any synchronization code needed?

I am not sure if I understand you correctly, but writing and reading to ports without locking should be fine unless you're programming a serial
bus from more than one thread, or if you have to update the same two
registers one after the other from different threads.

I don't know if the latter can occur. AFAIK the VMWare graphics device
is used by the VMWare graphics accelerator only.
So my question then is, are accelerator calls automatically synchronized
by the app_server, or has the accelerator care about synchronization?

- Michael




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.