On 15/07/2025 11:48, Hari Limaye wrote:
> Hi Michal,
>
>> On 15 Jul 2025, at 09:45, Orzel, Michal wrote:
>>
>>
>>
>> On 15/07/2025 10:36, Hari Limaye wrote:
>>> Hi Michal,
>>>
> +int mpumap_contains_region(pr_t *table, uint8_t nr_regions, paddr_t base,
> + pad
Hi Michal,
> On 15 Jul 2025, at 09:45, Orzel, Michal wrote:
>
>
>
> On 15/07/2025 10:36, Hari Limaye wrote:
>> Hi Michal,
>>
+int mpumap_contains_region(pr_t *table, uint8_t nr_regions, paddr_t base,
+ paddr_t limit, uint8_t *index)
+{
+ASSERT
On 15/07/2025 10:36, Hari Limaye wrote:
> Hi Michal,
>
>>> +int mpumap_contains_region(pr_t *table, uint8_t nr_regions, paddr_t base,
>>> + paddr_t limit, uint8_t *index)
>>> +{
>>> +ASSERT(index);
>>> +*index = INVALID_REGION_IDX;
>>> +
>>> +/*
>>> + *
Hi Michal,
>> +int mpumap_contains_region(pr_t *table, uint8_t nr_regions, paddr_t base,
>> + paddr_t limit, uint8_t *index)
>> +{
>> +ASSERT(index);
>> +*index = INVALID_REGION_IDX;
>> +
>> +/*
>> + * The caller supplies a half-open interval [base, limit)
On 15/07/2025 09:45, Hari Limaye wrote:
> From: Luca Fancellu
>
> Implement a function to find the index of a MPU region in the xen_mpumap
> MPU region array. This function will be used in future commits to
> implement creating and destroying MPU regions.
>
> Signed-off-by: Luca Fancellu
> S
From: Luca Fancellu
Implement a function to find the index of a MPU region in the xen_mpumap
MPU region array. This function will be used in future commits to
implement creating and destroying MPU regions.
Signed-off-by: Luca Fancellu
Signed-off-by: Hari Limaye
---
Changes from v1:
- Update co