The Pedigree Project 0.1
Public Member Functions | Public Attributes | List of all members
PhysicalMemoryManager::MemoryRegionInfo Struct Reference

#include <PhysicalMemoryManager.h>

+ Collaboration diagram for PhysicalMemoryManager::MemoryRegionInfo:

Public Member Functions

 MemoryRegionInfo (void *VirtualAddress, physical_uintptr_t PhysicalAddress, size_t size, const char *name)
 

Public Attributes

void * pVirtualAddress
 
physical_uintptr_t physicalAddress
 
size_t sVirtualAddress
 
const char * pName
 

Detailed Description

Structure containing information about one memory region.

Definition at line 133 of file include/pedigree/kernel/processor/PhysicalMemoryManager.h.

Constructor & Destructor Documentation

◆ MemoryRegionInfo()

PhysicalMemoryManager::MemoryRegionInfo::MemoryRegionInfo ( void *  VirtualAddress,
physical_uintptr_t  PhysicalAddress,
size_t  size,
const char *  name 
)
inline

Constructor initialises all structure members

Parameters
[in]pVirtualAddressvirtual address of the beginning of the memory region
[in]PhysicalAddressphysical address of the beginning of the memory region (or 0)
[in]sAddresssize (in bytes) of the memory region
[in]Nameuser-visible name of the memory region

Definition at line 140 of file include/pedigree/kernel/processor/PhysicalMemoryManager.h.

Member Data Documentation

◆ physicalAddress

physical_uintptr_t PhysicalMemoryManager::MemoryRegionInfo::physicalAddress

Physical address of the memory region (or 0)

Definition at line 150 of file include/pedigree/kernel/processor/PhysicalMemoryManager.h.

◆ pName

const char* PhysicalMemoryManager::MemoryRegionInfo::pName

Pointer to the user-visible name of the memory region

Definition at line 154 of file include/pedigree/kernel/processor/PhysicalMemoryManager.h.

◆ pVirtualAddress

void* PhysicalMemoryManager::MemoryRegionInfo::pVirtualAddress

Virtual address of the memory region

Definition at line 148 of file include/pedigree/kernel/processor/PhysicalMemoryManager.h.

◆ sVirtualAddress

size_t PhysicalMemoryManager::MemoryRegionInfo::sVirtualAddress

Size (in bytes) of the memory region

Definition at line 152 of file include/pedigree/kernel/processor/PhysicalMemoryManager.h.


The documentation for this struct was generated from the following file: