Re: PATCH: new "void" memory region attribute

Andrew Cagney
2002-02-14T03:23:35Z

> enum mem_access_mode
> {
> - MEM_RW, /* read/write */
> - MEM_RO, /* read only */
> - MEM_WO /* write only */
> + MEM_VOID = 0,
> + MEM_READ = 1,
> + MEM_WRITE = 2,
> + MEM_RW = MEM_READ | MEM_WRITE,
> };
>

Greg, I'm just wondering why this part change? Wouldn't just adding a
MEM_VOID entry have been easier?

Andrew