2021-12-07 12:52:45 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2024-05-14 20:53:41 +03:00
|
|
|
# Copyright (c) 2022-2024 EPAM Systems
|
2021-12-07 12:52:45 +02:00
|
|
|
|
2023-06-13 13:19:18 +03:00
|
|
|
if XEN
|
2021-12-07 12:52:45 +02:00
|
|
|
|
|
|
|
menu "Xen drivers"
|
|
|
|
|
|
|
|
config XEN_GRANT_TABLE
|
|
|
|
bool "Xen grant table driver"
|
|
|
|
depends on HEAP_MEM_POOL_SIZE > 0
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Xen grant table driver. Please note that driver uses dynamic memory
|
|
|
|
allocation with k_malloc(), so CONFIG_HEAP_MEM_POOL_SIZE should be
|
|
|
|
>= number of pages, that you want to alloc and grant or foreign frames
|
|
|
|
that you want to map.
|
|
|
|
|
|
|
|
config XEN_GRANT_TABLE_INIT_PRIORITY
|
|
|
|
int "Grant table driver init priority"
|
|
|
|
depends on XEN_GRANT_TABLE
|
|
|
|
default 50
|
|
|
|
|
2024-05-14 20:53:41 +03:00
|
|
|
config NR_GRANT_FRAMES
|
|
|
|
int "Number of grant frames mapped to Zephyr"
|
|
|
|
depends on XEN_GRANT_TABLE
|
|
|
|
default 1
|
|
|
|
help
|
|
|
|
This value configures how much grant frames will be supported by Zephyr
|
|
|
|
grant table driver in runtime. This value should be <= max_grant_frames
|
|
|
|
configured for domain in Xen hypervisor.
|
|
|
|
|
2021-12-07 12:52:45 +02:00
|
|
|
endmenu
|
|
|
|
|
2023-06-13 13:19:18 +03:00
|
|
|
endif # XEN
|