bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH] hurd: Implement device memory mapping


From: Samuel Thibault
Subject: Re: [PATCH] hurd: Implement device memory mapping
Date: Tue, 28 Dec 2021 18:02:00 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Joan Lledó, le mar. 28 déc. 2021 17:48:20 +0100, a ecrit:
> El 28/12/21 a les 13:55, Samuel Thibault ha escrit:
> > 
> > ? The interface explicitly says they can be different.
> > 
> 
> Sorry, I was confused. I meant the function pci_device_hurd_map_range at
> libpciaccess. If io_map returns different ports for robj and wobj, we can
> only assign one of them to the variable pager, which we send to vm_map.

Ah, ok :)

> Since we can only pass one of them to vm_map, when io_map returns different
> values for robj and wobj we could return an error and don't map.

Yes, that'll be simpler.

Samuel



reply via email to

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