Changeset View
Changeset View
Standalone View
Standalone View
lib/libvmmapi/vmmapi.h
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | |||||
* Identifiers for memory segments: | * Identifiers for memory segments: | ||||
* - vm_setup_memory() uses VM_SYSMEM for the system memory segment. | * - vm_setup_memory() uses VM_SYSMEM for the system memory segment. | ||||
* - the remaining identifiers can be used to create devmem segments. | * - the remaining identifiers can be used to create devmem segments. | ||||
*/ | */ | ||||
enum { | enum { | ||||
VM_SYSMEM, | VM_SYSMEM, | ||||
VM_BOOTROM, | VM_BOOTROM, | ||||
VM_FRAMEBUFFER, | VM_FRAMEBUFFER, | ||||
VM_PCIROM, | |||||
}; | }; | ||||
/* | /* | ||||
* Get the length and name of the memory segment identified by 'segid'. | * Get the length and name of the memory segment identified by 'segid'. | ||||
* Note that system memory segments are identified with a nul name. | * Note that system memory segments are identified with a nul name. | ||||
* | * | ||||
* Returns 0 on success and non-zero otherwise. | * Returns 0 on success and non-zero otherwise. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 182 Lines • Show Last 20 Lines |