cosmetic changes

This commit is contained in:
Stefan Lankes 2011-08-15 06:36:38 -07:00
parent aacfcd31ed
commit c1cb54ae90

View file

@ -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