[vbox-dev] PDM virtual PCI device bar size

José Massada jose.massada at gmail.com
Wed Apr 24 00:18:58 PDT 2013


I tried both but lately I've been testing with ICH9. Same behaviour.

Jose

On 24/04/2013, at 08:08, Nikolay Igotti <igotti at gmail.com> wrote:

>  Which chipset you are using? ICH9 generally shall be better suited for your needs, due to recent 
> PCI features support.
> 
>   Nikolay
> 
> 23.04.2013 18:25, José Massada пишет:
>> Hi all,
>> 
>> I'm working on a PDM virtual PCI device module and I need to have a bar size of 512MB.
>> This particular PCI device uses bar 0 and 1 for register blocks (64KB each) and bar 2 for memory (this one I need to be 512MB or even bigger).
>> 
>> Registering the memory bar using the MMIO2 functions fails when the size is bigger than 256MB (hard coded limit in the allocation function) so I tried registering using MMIO. It seems to work but my read and write callbacks never get called (bar 0 and 1 also use MMIO and their callbacks             always get called). I tried decreasing the bar 2 size and the callbacks got called.
>> 
>> Is this even possible without modifying VBox source code? What am I missing?
>> 
>> Thanks,
>> Jose
>> 
>> 
>> _______________________________________________
>> vbox-dev mailing list
>> vbox-dev at virtualbox.org
>> https://www.virtualbox.org/mailman/listinfo/vbox-dev
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20130424/bbc58dc2/attachment.html 


More information about the vbox-dev mailing list