Skip to contentSkip to conversation

: Best way to access physical memory?

Qemu-devel Gianni Tedesco 1 participant 1 message Jun 18, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

The USB OHCI driver needs to access host physical memory (to access HCCA and endpoint descriptors). Should I just read/write directly in to the buffer pointed to by phys_ram_base, or is there a better way?

Obviously, any I/O memory regions stuffed on the end of 'real' physical mem won't be accessible if I just go direct to phys_ram_base, but I doubt anyone relies on that feature...

Fabrice, what do you think?

Signature · 3 lines
// Gianni Tedesco (gianni at scaramanga dot co dot uk)
lynx --source www.scaramanga.co.uk/scaramanga.asc | gpg --import
8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D