summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorliuxiang88 <liuxiang@loongson.cn>2021-11-15 20:55:35 +0800
committerliuxiang88 <liuxiang@loongson.cn>2021-11-15 20:55:35 +0800
commit56e590d477a6422639235a6afe97f0c9637c459a (patch)
tree3974f42337bce5aec8920418c97b78efc05e3ff7 /includes
parentd29f7b4072f0706359364dbbb966dbe6aab5bda9 (diff)
Add loongarch support.
Diffstat (limited to 'includes')
-rw-r--r--includes/loongarch64/processor-platform.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/includes/loongarch64/processor-platform.h b/includes/loongarch64/processor-platform.h
new file mode 100644
index 00000000..9bdae18b
--- /dev/null
+++ b/includes/loongarch64/processor-platform.h
@@ -0,0 +1,28 @@
+/*
+ * HardInfo - Displays System Information
+ * Copyright (C) 2003-2006 Leandro A. F. Pereira <leandro@hardinfo.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, version 2.
+ *
+ * This program is distributed in the hope that 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, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef __PROCESSOR_PLATFORM_H__
+#define __PROCESSOR_PLATFORM_H__
+
+struct _Processor {
+ gchar *model_name;
+ gchar *vendor_id;
+ gfloat bogomips, cpu_mhz;
+};
+
+#endif /* __PROCESSOR_PLATFORM_H__ */