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: Sun, 2 Jan 2022 16:56:35 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Joan Lledó, le jeu. 30 déc. 2021 12:19:37 +0100, a ecrit:
> +static int
> +pci_device_hurd_map_range(struct pci_device *dev,
[...]
> +    err = vm_map (mach_task_self (), (vm_address_t *)&map->memory, map->size,
> +                  0, 1,
> +                  pager, /* a memory object proxy containing only the region 
> */
> +                  0, /* offset from region start */
> +                  0, prot, VM_PROT_ALL, VM_INHERIT_SHARE);

This is not using map.base as set by pci_device_hurd_map_legacy?

Samuel



reply via email to

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