summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2018-02-24 05:13:39 +0100
committerRichard Braun <rbraun@sceen.net>2018-02-24 06:07:24 +0100
commitbe5b9d6ab9f7e7a81c367e4bb0823ba11f85940f (patch)
tree3d8a70e30c8073e210c637fcca2185aa0f71f179 /vm
parent64830974a086e53ea1bc5e628e8955db83ff797a (diff)
Don't use reserved identifiers
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_adv.h6
-rw-r--r--vm/vm_inherit.h6
-rw-r--r--vm/vm_kmem.h6
-rw-r--r--vm/vm_map.h6
-rw-r--r--vm/vm_object.h6
-rw-r--r--vm/vm_object_types.h6
-rw-r--r--vm/vm_page.h6
-rw-r--r--vm/vm_prot.h6
8 files changed, 24 insertions, 24 deletions
diff --git a/vm/vm_adv.h b/vm/vm_adv.h
index 1138f0c..06f13e6 100644
--- a/vm/vm_adv.h
+++ b/vm/vm_adv.h
@@ -15,8 +15,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _VM_VM_ADV_H
-#define _VM_VM_ADV_H
+#ifndef VM_VM_ADV_H
+#define VM_VM_ADV_H
/*
* Advice values.
@@ -28,4 +28,4 @@
#define VM_ADV_DONTNEED 4
#define VM_ADV_DEFAULT VM_ADV_NORMAL
-#endif /* _VM_VM_ADV_H */
+#endif /* VM_VM_ADV_H */
diff --git a/vm/vm_inherit.h b/vm/vm_inherit.h
index 0ef4616..61690fd 100644
--- a/vm/vm_inherit.h
+++ b/vm/vm_inherit.h
@@ -15,8 +15,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _VM_VM_INHERIT_H
-#define _VM_VM_INHERIT_H
+#ifndef VM_VM_INHERIT_H
+#define VM_VM_INHERIT_H
/*
* Inheritance values.
@@ -26,4 +26,4 @@
#define VM_INHERIT_COPY 2
#define VM_INHERIT_DEFAULT VM_INHERIT_COPY
-#endif /* _VM_VM_INHERIT_H */
+#endif /* VM_VM_INHERIT_H */
diff --git a/vm/vm_kmem.h b/vm/vm_kmem.h
index 5ae4a16..e2e3581 100644
--- a/vm/vm_kmem.h
+++ b/vm/vm_kmem.h
@@ -15,8 +15,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _VM_VM_KMEM_H
-#define _VM_VM_KMEM_H
+#ifndef VM_VM_KMEM_H
+#define VM_VM_KMEM_H
#include <stdint.h>
@@ -91,4 +91,4 @@ void vm_kmem_unmap_pa(uintptr_t map_va, size_t map_size);
*/
INIT_OP_DECLARE(vm_kmem_setup);
-#endif /* _VM_VM_KMEM_H */
+#endif /* VM_VM_KMEM_H */
diff --git a/vm/vm_map.h b/vm/vm_map.h
index 009c746..dc6514b 100644
--- a/vm/vm_map.h
+++ b/vm/vm_map.h
@@ -18,8 +18,8 @@
* Virtual memory map management.
*/
-#ifndef _VM_VM_MAP_H
-#define _VM_VM_MAP_H
+#ifndef VM_VM_MAP_H
+#define VM_VM_MAP_H
#include <stdint.h>
@@ -135,4 +135,4 @@ INIT_OP_DECLARE(vm_map_bootstrap);
*/
INIT_OP_DECLARE(vm_map_setup);
-#endif /* _VM_VM_MAP_H */
+#endif /* VM_VM_MAP_H */
diff --git a/vm/vm_object.h b/vm/vm_object.h
index 2f0e8e1..f358313 100644
--- a/vm/vm_object.h
+++ b/vm/vm_object.h
@@ -21,8 +21,8 @@
* physical memory. They collectively form the page cache.
*/
-#ifndef _VM_OBJECT_H
-#define _VM_OBJECT_H
+#ifndef VM_OBJECT_H
+#define VM_OBJECT_H
#include <stdint.h>
@@ -85,4 +85,4 @@ struct vm_page * vm_object_lookup(struct vm_object *object, uint64_t offset);
*/
INIT_OP_DECLARE(vm_object_setup);
-#endif /* _VM_OBJECT_H */
+#endif /* VM_OBJECT_H */
diff --git a/vm/vm_object_types.h b/vm/vm_object_types.h
index 4026002..80a19d9 100644
--- a/vm/vm_object_types.h
+++ b/vm/vm_object_types.h
@@ -18,8 +18,8 @@
* Isolated type definition used to avoid inclusion circular dependencies.
*/
-#ifndef _VM_OBJECT_TYPES_H
-#define _VM_OBJECT_TYPES_H
+#ifndef VM_OBJECT_TYPES_H
+#define VM_OBJECT_TYPES_H
#include <stdint.h>
@@ -33,4 +33,4 @@ struct vm_object {
unsigned long nr_pages;
};
-#endif /* _VM_OBJECT_TYPES_H */
+#endif /* VM_OBJECT_TYPES_H */
diff --git a/vm/vm_page.h b/vm/vm_page.h
index 9c8fa91..49daa09 100644
--- a/vm/vm_page.h
+++ b/vm/vm_page.h
@@ -21,8 +21,8 @@
* case there is at least one reference to it.
*/
-#ifndef _VM_VM_PAGE_H
-#define _VM_VM_PAGE_H
+#ifndef VM_VM_PAGE_H
+#define VM_VM_PAGE_H
#include <assert.h>
#include <stdbool.h>
@@ -283,4 +283,4 @@ vm_page_tryref(struct vm_page *page)
*/
INIT_OP_DECLARE(vm_page_setup);
-#endif /* _VM_VM_PAGE_H */
+#endif /* VM_VM_PAGE_H */
diff --git a/vm/vm_prot.h b/vm/vm_prot.h
index 27738c7..9c422f9 100644
--- a/vm/vm_prot.h
+++ b/vm/vm_prot.h
@@ -15,8 +15,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _VM_VM_PROT_H
-#define _VM_VM_PROT_H
+#ifndef VM_VM_PROT_H
+#define VM_VM_PROT_H
/*
* Protection flags.
@@ -28,4 +28,4 @@
#define VM_PROT_DEFAULT (VM_PROT_READ | VM_PROT_WRITE)
#define VM_PROT_ALL (VM_PROT_READ | VM_PROT_WRITE | VM_PROT_EXECUTE)
-#endif /* _VM_VM_PROT_H */
+#endif /* VM_VM_PROT_H */