summaryrefslogtreecommitdiff
path: root/include/hw/riscv/mullvad_cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/riscv/mullvad_cpu.h')
-rw-r--r--include/hw/riscv/mullvad_cpu.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/hw/riscv/mullvad_cpu.h b/include/hw/riscv/mullvad_cpu.h
new file mode 100644
index 0000000000..01fb03c39e
--- /dev/null
+++ b/include/hw/riscv/mullvad_cpu.h
@@ -0,0 +1,26 @@
+/*
+ * Mullvad CPU types
+ *
+ * Copyright (c) 2022 Mullvad VPN AB
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2 or later, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef HW_MULLVAD_CPU_H
+#define HW_MULLVAD_CPU_H
+
+#if defined(TARGET_RISCV32)
+#define MULLVAD_PICORV32_CPU TYPE_RISCV_CPU_MULLVAD_PICORV32
+#endif
+
+#endif /* HW_SIFIVE_CPU_H */