[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnumach - Restrict pci io cfg ports to one process
From: |
Samuel Thibault |
Subject: |
Re: [PATCH] gnumach - Restrict pci io cfg ports to one process |
Date: |
Wed, 5 Dec 2018 22:40:51 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
Damien Zammit, le dim. 11 nov. 2018 13:24:00 +1100, a ecrit:
> On 11/11/18 12:51, Samuel Thibault wrote:
> > Damien Zammit, le dim. 11 nov. 2018 12:43:07 +1100, a ecrit:
> >> +#define IS_IN_PROTECTED_RANGE(from, to) \
> >> + ( ( ( from <= PCI_CFG1_START ) && ( to >= PCI_CFG1_END ) ) || \
> >
> > That should be from <= END && to >= BEGIN, shouldn't it?
>
> Well, in my mind I was only thinking about whole overlaps.
> Your idea handles partial overlap too, so yes!
>
> See attached, thanks.
Applied, thanks!
Samuel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] gnumach - Restrict pci io cfg ports to one process,
Samuel Thibault <=