Stuart Kreitman wrote: > Edward Shu wrote: > >>> /dev/xsvc Contract Private PSARC 2000/415 >>> >>> >>> >> If we have a more flexible mapping interfaces to map in any memory on >> board, we can remove this >> dependency finally. >> >> > > I think the preferred direction is in fact less flexible mapping > interfaces, because unfettered access > is contrary to a more secure operating system. >
Yes. Applications should not be able to map up arbitrary device memory. (I hope that /dev/xvc doesn't do that, but provides more restricted access to PCI config space -- specifically it would be bad if it allowed applications to *write* to arbitrary locations in PCI configuration space. I cannot think of any situation where *reads* of PCI configuration space would have side effects, but I'd be interested to know if anyone else does.) -- Garrett > > Stuart >