blob: f9cbc36d99e8f3224e1c98dd304aacca459ff2ce [file] [log] [blame]
{
"vsoc_device_regions" : [
{
"device_name" : "vsoc_input",
"__comment" : "Send input events to the guest",
"current_version" : 1,
"min_compatible_version" : 1,
"region_size" : 4096,
"guest_to_host_signal_table" : {
"__comment" : "sizeof each node is based on common/libs/shm_compatible/lock.h",
"num_nodes_lg2" : 0
},
"host_to_guest_signal_table" : {
"num_nodes_lg2" : 0
}
},
{
"device_name" : "hwcomposer",
"__comment" : "HWComposer related",
"current_version" : 1,
"min_compatible_version" : 1,
"region_size" : 16384,
"guest_to_host_signal_table" : {
"__comment" : "sizeof each node is based on common/libs/shm_compatible/lock.h",
"num_nodes_lg2" : 2
},
"host_to_guest_signal_table" : {
"num_nodes_lg2" : 2
}
},
{
"device_name" : "input_events",
"__comment" : "Send input events from host to guest",
"current_version" : 0,
"min_compatible_version" : 0,
"region_size": 4096,
"guest_to_host_signal_table" : {
"__comment" : "sizeof each node is based on common/libs/shm_compatible/lock.h",
"num_nodes_lg2" : 2
},
"host_to_guest_signal_table" : {
"num_nodes_lg2" : 2
}
},
{
"device_name" : "fb_broadcast",
"__comment" : "Broadcasts new frames",
"current_version" : 0,
"min_compatible_version" : 0,
"region_size": 4096,
"guest_to_host_signal_table" : {
"__comment" : "sizeof each node is based on common/libs/shm_compatible/lock.h",
"num_nodes_lg2" : 2
},
"host_to_guest_signal_table" : {
"num_nodes_lg2" : 2
}
},
{
"device_name" : "gralloc_manager",
"__comment" : "Manages allocation of gralloc buffers",
"current_version" : 0,
"min_compatible_version" : 0,
"region_size" : 40960,
"guest_to_host_signal_table" : {
"__comment" : "sizeof each node is based on common/libs/shm/lock.h",
"num_nodes_lg2" : 2
},
"host_to_guest_signal_table" : {
"num_nodes_lg2" : 2
}
},
{
"device_name" : "gralloc_memory",
"__comment" : "Holds the gralloc buffers",
"managed_by" : "gralloc_manager",
"current_version" : 0,
"min_compatible_version" : 0,
"region_size" : 419430400,
"guest_to_host_signal_table" : {
"__comment" : "sizeof each node is based on common/libs/shm/lock.h",
"num_nodes_lg2" : 0
},
"host_to_guest_signal_table" : {
"num_nodes_lg2" : 0
}
},
{
"device_name" : "wifi_exchange",
"__comment" : [
"WIFI exchange buffer for primary wireless network interface.",
"Must be able to accomodate at least one pagesize long packet each direction",
"Region size = 2 * CircularPacketQueue64k_size + 1024 bytes for control structures."
],
"current_version" : 0,
"min_compatible_version" : 0,
"region_size" : 139264,
"guest_to_host_signal_table" : {
"num_nodes_lg2" : 2
},
"host_to_guest_signal_table" : {
"num_nodes_lg2" : 2
}
},
{
"device_name" : "ril",
"__comment" : [
"Holds initialization values for the ril hal."
],
"current_version" : 0,
"min_compatible_version" : 0,
"region_size" : 4096,
"guest_to_host_signal_table" : {
"num_nodes_lg2" : 2
},
"host_to_guest_signal_table" : {
"num_nodes_lg2" : 2
}
},
{
"device_name" : "e2e_primary",
"__comment" : "Sanity testing",
"current_version" : 1,
"min_compatible_version" : 1,
"region_size" : 16384,
"guest_to_host_signal_table" : {
"num_nodes_lg2" : 1
},
"host_to_guest_signal_table" : {
"num_nodes_lg2" : 1
}
},
{
"device_name" : "e2e_secondary",
"__comment" : "Sanity testing",
"current_version" : 1,
"min_compatible_version" : 1,
"region_size" : 16384,
"guest_to_host_signal_table" : {
"num_nodes_lg2" : 1
},
"host_to_guest_signal_table" : {
"num_nodes_lg2" : 1
}
},
{
"device_name" : "e2e_manager",
"__comment" : "Sanity testing of managed regions",
"current_version" : 1,
"min_compatible_version" : 1,
"region_size" : 4096,
"guest_to_host_signal_table" : {
"num_nodes_lg2" : 1
},
"host_to_guest_signal_table" : {
"num_nodes_lg2" : 1
}
},
{
"device_name" : "e2e_managed",
"__comment" : "Sanity testing of managed regions",
"current_version" : 1,
"min_compatible_version" : 1,
"region_size" : 16384,
"managed_by" : "e2e_manager",
"guest_to_host_signal_table" : {
"num_nodes_lg2" : 1
},
"host_to_guest_signal_table" : {
"num_nodes_lg2" : 1
}
},
{
"device_name" : "audio_data",
"__comment" : "Write audio HAL output data to ringbuffer",
"current_version" : 0,
"min_compatible_version" : 0,
"region_size": 20480,
"guest_to_host_signal_table" : {
"__comment" : "sizeof each node is based on common/libs/shm_compatible/lock.h",
"num_nodes_lg2" : 2
},
"host_to_guest_signal_table" : {
"num_nodes_lg2" : 2
}
}
]
}