From c1cb54ae90c71245644ec30ecb7b0a88a88edd6d Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Mon, 15 Aug 2011 06:36:38 -0700 Subject: [PATCH] cosmetic changes --- arch/x86/include/asm/page.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/include/asm/page.h b/arch/x86/include/asm/page.h index 0874259a..343362b3 100644 --- a/arch/x86/include/asm/page.h +++ b/arch/x86/include/asm/page.h @@ -41,7 +41,7 @@ #define _PAGE_BIT_PSE 7 /* 4 MB (or 2MB) page */ #define _PAGE_BIT_PAT 7 /* on 4KB pages */ #define _PAGE_BIT_GLOBAL 8 /* Global TLB entry PPro+ */ -#define _PAGE_BIT_RESERVED 9 /* mark a virtual address range as reserved */ +#define _PAGE_BIT_SVM 9 /* mark a virtual address range as used by the SVM system */ #define _PAGE_BIT_PAT_LARGE 12 /* On 2MB or 1GB pages */ /// Page is present @@ -64,10 +64,10 @@ #define PG_MPE PG_PSE /// Global TLB entry (Pentium Pro and later) #define PG_GLOBAL (1 << _PAGE_BIT_GLOBAL) -/// This virtual address range is reserved as marked -#define PG_RESERVED (1 << _PAGE_BIT_RESERVED) /// Pattern flag #define PG_PAT (1 << _PAGE_BIT_PAT) +/// This virtual address range is used by SVM system as marked +#define PG_SVM (1 << _PAGE_BIT_SVM) /// Large page pattern flag #define PG_PAT_LARGE (1 << _PAGE_BIT_PAT_LARGE) @@ -152,7 +152,7 @@ int unmap_region(size_t viraddr, uint32_t npages); * * @param viraddr Desired virtual address * @param phyaddr Physical address to map from - * @param npages The Region's size in pages + * @param npages The region's size in number of pages * @param flags Further page flags * * @return