Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/powerpc/platform_if.m
Show First 20 Lines • Show All 124 Lines • ▼ Show 20 Lines | |||||
METHOD void mem_regions { | METHOD void mem_regions { | ||||
platform_t _plat; | platform_t _plat; | ||||
struct mem_region *_memp; | struct mem_region *_memp; | ||||
int *_memsz; | int *_memsz; | ||||
struct mem_region *_availp; | struct mem_region *_availp; | ||||
int *_availsz; | int *_availsz; | ||||
}; | }; | ||||
/** | |||||
* @brief Return the system's physical memory map. | |||||
* | |||||
* It shall provide the total RAM with the corresponding domains. | |||||
* | |||||
* @param _memp Array of physical memory chunks | |||||
* @param _memsz Number of physical memory chunks | |||||
*/ | |||||
METHOD void numa_mem_regions { | |||||
platform_t _plat; | |||||
struct numa_mem_region *_memp; | |||||
int *_memsz; | |||||
}; | |||||
/** | /** | ||||
* @brief Return the maximum address accessible in real mode | * @brief Return the maximum address accessible in real mode | ||||
* (for use with hypervisors) | * (for use with hypervisors) | ||||
*/ | */ | ||||
METHOD vm_offset_t real_maxaddr { | METHOD vm_offset_t real_maxaddr { | ||||
platform_t _plat; | platform_t _plat; | ||||
} DEFAULT platform_null_real_maxaddr; | } DEFAULT platform_null_real_maxaddr; | ||||
▲ Show 20 Lines • Show All 101 Lines • Show Last 20 Lines |