Skip to content

Commit

Permalink
vm_arm: provide GIC and timer to VM on zynqmp
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Heider <[email protected]>
  • Loading branch information
Axel Heider authored and lsf37 committed Jan 21, 2024
1 parent 420bbf0 commit 514e99c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
9 changes: 7 additions & 2 deletions components/VM_Arm/plat_include/ultra96v2/plat/vmlinux.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/*
* Copyright 2023, Hensoldt Cyber
* Copyright 2019, DornerWorks
*
* SPDX-License-Identifier: BSD-2-Clause
Expand All @@ -12,9 +13,13 @@ static const int linux_pt_irqs[] = {};

static const int free_plat_interrupts[] = { -1 };

static const char *plat_keep_devices[] = {};
static const char *plat_keep_devices[] = {
"/timer",
};
static const char *plat_keep_device_and_disable[] = {};
static const char *plat_keep_device_and_subtree[] = {};
static const char *plat_keep_device_and_subtree[] = {
GIC_NODE_PATH,
};
static const char *plat_keep_device_and_subtree_and_disable[] = {};
static const char *plat_linux_bootcmdline = "";
static const char *plat_linux_stdout = "";
13 changes: 11 additions & 2 deletions components/VM_Arm/plat_include/zynqmp/plat/vmlinux.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
/*
* Copyright 2023, Hensoldt Cyber
* Copyright 2019, DornerWorks
*
* SPDX-License-Identifier: BSD-2-Clause
*
*
* The "zynqmp" platform target means the zcu102 board.
*
*/

#pragma once
Expand All @@ -12,9 +17,13 @@ static const int linux_pt_irqs[] = {};

static const int free_plat_interrupts[] = { -1 };

static const char *plat_keep_devices[] = {};
static const char *plat_keep_devices[] = {
"/timer",
};
static const char *plat_keep_device_and_disable[] = {};
static const char *plat_keep_device_and_subtree[] = {};
static const char *plat_keep_device_and_subtree[] = {
GIC_NODE_PATH,
};
static const char *plat_keep_device_and_subtree_and_disable[] = {};
static const char *plat_linux_bootcmdline = "";
static const char *plat_linux_stdout = "";

0 comments on commit 514e99c

Please sign in to comment.