[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Implement paging on the pci arbiter
From: |
Joan Lledó |
Subject: |
Re: Implement paging on the pci arbiter |
Date: |
Sun, 8 Nov 2020 11:45:07 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 |
Hi,
El 3/11/20 a les 23:13, Samuel Thibault ha escrit:
>
> That would probably work, yes.
>
>
I got something pushed to my branch at [1]. But I found the
implementation for pager proxies in gnu mach is incomplete. In
particular I can't restrict a range to be mapped. I think I could fix it
but need some help.
- Would it be enough to add the range info to the memory_object_proxy
struct and then read them from vm_map and use them to restrict the
values of the offset and size being sent to vm_map_enter?
(vm_user.c:395)
- Why is the proxy interface designed to work with arrays? Is vm_map
supposed to call vm_map_enter multiple times for proxies?
---
1. http://git.savannah.gnu.org/cgit/hurd/hurd.git/log/?h=jlledom-pci-mem