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

2024-06-24 Thread Daniel Kiper
On Wed, Jun 12, 2024 at 04:57:08PM +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 v4 05/10] nx: add memory attribute get/set API

2024-06-12 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