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: Tue, 16 Aug 2022 10:38:28 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0

Hi,

I just though... shouldn't this allocated memory be freed somewhere when the arbiter shuts down?

El 15/8/22 a les 20:33, Samuel Thibault ha escrit:
Samuel Thibault, le lun. 15 août 2022 20:20:16 +0200, a ecrit:
Joan Lledó, le lun. 15 août 2022 20:07:09 +0200, a ecrit:
El 15/8/22 a les 19:37, Samuel Thibault ha escrit:
Mmm, but doesn't libpciaccess allow to map the BAR?Then pci-arbiter
could create a read-only memory proxy of the mapping?

Yes, the arbiter exposes the BAR regions as files called "region0",
"region1", etc. And they can be mapped through a proxy, that's already
working. But this is about the "rom" files which expose the content of the
expansion ROM for each device.

Sorry, I meant: why can't we do that for ROMs? Does libpciaccess not
provide a way to map ROMs?

Ah, no it doesn't.

Applied, thanks!

Samuel




reply via email to

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