Browse Source
Add `boards/qemu_x86_64.overlay` and some config modification for testing `virtio,entropy` device. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>pull/91106/head
4 changed files with 44 additions and 0 deletions
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2025 TOKITA Hiroshi |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
CONFIG_PCIE=y |
||||
CONFIG_HEAP_MEM_POOL_SIZE=1024 |
@ -0,0 +1,27 @@
@@ -0,0 +1,27 @@
|
||||
/* |
||||
* Copyright (c) 2025 TOKITA Hiroshi |
||||
* |
||||
* SPDX-License-Identifier: Apache-2.0 |
||||
*/ |
||||
|
||||
/ { |
||||
chosen { |
||||
zephyr,entropy = &virtio_entropy; |
||||
}; |
||||
}; |
||||
|
||||
&pcie0 { |
||||
virtio_pci: virtio_pci { |
||||
compatible = "virtio,pci"; |
||||
|
||||
device-id = <0x1005>; |
||||
vendor-id = <0x1af4>; |
||||
|
||||
interrupts = <0xb 0x0 0x0>; |
||||
interrupt-parent = <&intc>; |
||||
|
||||
virtio_entropy: virtio_entropy { |
||||
compatible = "virtio,device4"; |
||||
}; |
||||
}; |
||||
}; |
Loading…
Reference in new issue