x86_64: pmap: enable kernel-mode write-protection
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#ifndef ARCH_PAGING_H_
|
||||
#define ARCH_PAGING_H_
|
||||
|
||||
#include <kernel/types.h>
|
||||
#include <kernel/compiler.h>
|
||||
#include <kernel/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -55,6 +55,7 @@ enum page_size {
|
||||
defined in pmap_ctrl.S */
|
||||
extern int gigabyte_pages(void);
|
||||
extern int enable_nx(void);
|
||||
extern int enable_wp(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user