summaryrefslogtreecommitdiffstats
path: root/qemu/roms/u-boot/arch/sandbox/lib/interrupts.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/u-boot/arch/sandbox/lib/interrupts.c')
-rw-r--r--qemu/roms/u-boot/arch/sandbox/lib/interrupts.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/arch/sandbox/lib/interrupts.c b/qemu/roms/u-boot/arch/sandbox/lib/interrupts.c
new file mode 100644
index 000000000..c6d8ae913
--- /dev/null
+++ b/qemu/roms/u-boot/arch/sandbox/lib/interrupts.c
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2011 The Chromium OS Authors.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include <common.h>
+
+int interrupt_init(void)
+{
+ return 0;
+}
+
+void enable_interrupts(void)
+{
+ return;
+}
+int disable_interrupts(void)
+{
+ return 0;
+}