]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - kernel/include/kern/mem.h
Add AnonMem, and s/get_entry/get_mapping/.
[polintos/scott/priv.git] / kernel / include / kern / mem.h
index 2e1cdc240b60e401b572dda15b890f6406b8b09f..ac60e84ba663644e8e3ab3a970baf267b442927d 100644 (file)
@@ -157,7 +157,7 @@ namespace Mem {
                // other flags are undefined, and pagein() should be retried.
                // rmap_lock must be held.
                
-               virtual void get_entry(u64 vaddr, u64 *phys, PTEFlags *flags) = 0;
+               virtual void get_mapping(u64 vaddr, u64 *phys, PTEFlags *flags) = 0;
 
                #include <servers/mem/addrspace/Mem/Mappable.h>
                
@@ -218,7 +218,7 @@ namespace Mem {
        };
        
        // This lock protects the rmap chains and rmap tables.  It also makes
-       // atomic the PageTable::get_entry, RMapTable::map, PageTable::map
+       // atomic the PageTable::get_mapping, RMapTable::map, PageTable::map
        // sequence.
        //
        // OPT: This lock is acquired on all map/unmap activity; if/when this
@@ -284,7 +284,7 @@ namespace Mem {
                // other flags are undefined.  This function is mainly used for
                // propagating stacked aspace PTEs.
                
-               virtual void get_entry(u64 vaddr, u64 *phys, Flags *flags) = 0;
+               virtual void get_mapping(u64 vaddr, u64 *phys, Flags *flags) = 0;
                
                virtual void get_size(u64 *size) = 0;
                
@@ -318,7 +318,7 @@ namespace Mem {
        
                // Unexported
                virtual void pagein(u64 vaddr, PTEFlags reqflags);
-               virtual void get_entry(u64 vaddr, u64 *phys, PTEFlags *flags);
+               virtual void get_mapping(u64 vaddr, u64 *phys, PTEFlags *flags);
 
                friend class AddrSpace;
        };