[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v9 05/61] target/riscv: add an internals.h header
From: |
LIU Zhiwei |
Subject: |
[PATCH v9 05/61] target/riscv: add an internals.h header |
Date: |
Wed, 10 Jun 2020 19:36:52 +0800 |
The internals.h keeps things that are not relevant to the actual architecture,
only to the implementation, separate.
Signed-off-by: LIU Zhiwei <zhiwei_liu@c-sky.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
target/riscv/internals.h | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 target/riscv/internals.h
diff --git a/target/riscv/internals.h b/target/riscv/internals.h
new file mode 100644
index 0000000000..22a49af413
--- /dev/null
+++ b/target/riscv/internals.h
@@ -0,0 +1,24 @@
+/*
+ * QEMU RISC-V CPU -- internal functions and types
+ *
+ * Copyright (c) 2020 T-Head Semiconductor Co., Ltd. All rights reserved.
+ *
+ * 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 RISCV_CPU_INTERNALS_H
+#define RISCV_CPU_INTERNALS_H
+
+#include "hw/registerfields.h"
+
+#endif
--
2.23.0
- [PATCH v9 00/61] target/riscv: support vector extension v0.7.1, LIU Zhiwei, 2020/06/10
- [PATCH v9 01/61] target/riscv: add vector extension field in CPURISCVState, LIU Zhiwei, 2020/06/10
- [PATCH v9 02/61] target/riscv: implementation-defined constant parameters, LIU Zhiwei, 2020/06/10
- [PATCH v9 03/61] target/riscv: support vector extension csr, LIU Zhiwei, 2020/06/10
- [PATCH v9 04/61] target/riscv: add vector configure instruction, LIU Zhiwei, 2020/06/10
- [PATCH v9 05/61] target/riscv: add an internals.h header,
LIU Zhiwei <=
- [PATCH v9 06/61] target/riscv: add vector stride load and store instructions, LIU Zhiwei, 2020/06/10
- [PATCH v9 07/61] target/riscv: add vector index load and store instructions, LIU Zhiwei, 2020/06/10
- [PATCH v9 08/61] target/riscv: add fault-only-first unit stride load, LIU Zhiwei, 2020/06/10
- [PATCH v9 09/61] target/riscv: add vector amo operations, LIU Zhiwei, 2020/06/10
- [PATCH v9 10/61] target/riscv: vector single-width integer add and subtract, LIU Zhiwei, 2020/06/10
- [PATCH v9 11/61] target/riscv: vector widening integer add and subtract, LIU Zhiwei, 2020/06/10
- [PATCH v9 12/61] target/riscv: vector integer add-with-carry / subtract-with-borrow instructions, LIU Zhiwei, 2020/06/10
- [PATCH v9 13/61] target/riscv: vector bitwise logical instructions, LIU Zhiwei, 2020/06/10
- [PATCH v9 14/61] target/riscv: vector single-width bit shift instructions, LIU Zhiwei, 2020/06/10
- [PATCH v9 15/61] target/riscv: vector narrowing integer right shift instructions, LIU Zhiwei, 2020/06/10