mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/riscv: implement make_arch_nodes()
No RISC-V-specific nodes need to be created at the moment, so make_arch_nodes() is implemented to simply return 0. It is placed in dom0less-build.c as make_arch_nodes() is only used in the dom0less code path. In the future, it will be extended to create an emulated UART node. Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com> Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
913cf380cf
commit
7e4be8d8eb
1 file changed
+8
@@ -2,10 +2,18 @@
|
|||||||
|
|
||||||
#include <xen/bootfdt.h>
|
#include <xen/bootfdt.h>
|
||||||
#include <xen/device_tree.h>
|
#include <xen/device_tree.h>
|
||||||
|
#include <xen/fdt-kernel.h>
|
||||||
#include <xen/init.h>
|
#include <xen/init.h>
|
||||||
|
|
||||||
#include <asm/p2m.h>
|
#include <asm/p2m.h>
|
||||||
|
|
||||||
|
int __init make_arch_nodes(struct kernel_info *kinfo)
|
||||||
|
{
|
||||||
|
/* No RISC-V specific nodes need to be made, at the moment. */
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
int __init arch_parse_dom0less_node(struct dt_device_node *node,
|
int __init arch_parse_dom0less_node(struct dt_device_node *node,
|
||||||
struct boot_domain *bd)
|
struct boot_domain *bd)
|
||||||
{
|
{
|
||||||
|
|||||||