Home
last modified time | relevance | path

Searched refs:ram_map (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/samples/acrn/
H A Dvm-sample.c48 struct acrn_vm_memmap ram_map = {0}; in main() local
70 ram_map.type = ACRN_MEMMAP_RAM; in main()
71 ram_map.vma_base = (__u64)guest_memory; in main()
72 ram_map.len = GUEST_MEMORY_SIZE; in main()
73 ram_map.user_vm_pa = 0; in main()
74 ram_map.attr = ACRN_MEM_ACCESS_RWX; in main()
75 ret = ioctl(hsm_fd, ACRN_IOCTL_SET_MEMSEG, &ram_map); in main()