x86_64: pmap: enable NX protection during bootstrap

This commit is contained in:
2023-02-09 21:38:06 +00:00
parent ddb00acd31
commit d960909d1b
3 changed files with 14 additions and 0 deletions

View File

@@ -50,5 +50,6 @@ typedef enum page_size {
/* returns 1 if gigabyte pages are supported by the CPU, 0 otherwise.
defined in pmap_ctrl.S */
extern int gigabyte_pages(void);
extern int enable_nx(void);
#endif