bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pci-arbiter: Implement mapping for ROM files


From: Joan Lledó
Subject: Re: pci-arbiter: Implement mapping for ROM files
Date: Mon, 15 Aug 2022 20:32:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0

Hi,

El 15/8/22 a les 20:20, Samuel Thibault ha escrit:
Sorry, I meant: why can't we do that for ROMs? Does libpciaccess not
provide a way to map ROMs?


That's the problem: it doesn't. It only provides the function pci_device_read_rom() which copies the entire ROM to a given pointer. But it doesn't provide the ROM physical address, which I would need to map it in the arbiter space though pci_device_map_range(), like in

http://git.savannah.gnu.org/cgit/hurd/hurd.git/tree/pci-arbiter/device_map.c#n41




reply via email to

[Prev in Thread] Current Thread [Next in Thread]