Re: [PATCH v7 05/10] nx: add memory attribute get/set API

2024-10-08 Thread Daniel Kiper
On Fri, Oct 04, 2024 at 03:41:27PM +0100, Mate Kukri wrote: > For NX, we need to set the page access permission attributes for write > and execute permissions. > > This patch adds two new primitives, grub_set_mem_attrs() and > grub_clear_mem_attrs(), and associated constant definitions, to be used

[PATCH v7 05/10] nx: add memory attribute get/set API

2024-10-04 Thread Mate Kukri
For NX, we need to set the page access permission attributes for write and execute permissions. This patch adds two new primitives, grub_set_mem_attrs() and grub_clear_mem_attrs(), and associated constant definitions, to be used for that purpose. For most platforms, it adds a dummy implementation