Il 08/11/2012 23:17, Gerd Hoffmann ha scritto:
> On 11/08/12 22:23, Jordan Justen wrote:
>> Seems like you're going to need to:
>> * Pull IoRead/Write16 from MdePkg/Library/BaseIoLibIntrinsic into the driver.
>> * Rename to UnalignedIoRead/Write16 and remove the alignment assert
>> * Read the BAR to get the address
>> * Use UnalignedIoRead/Write16
> 
> Whoa, straight to the lowest level.  But works fine.  Adds gcc
> dependency though.  Incremental patch attached FYI.

Can you just mandate a newer QEMU for this device, and use the saner BAR
you added, that doesn't require unaligned accesses?

Paolo

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to