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