summaryrefslogtreecommitdiffstats
path: root/src/arch/riscv/include/ipxe/hart.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/riscv/include/ipxe/hart.h')
-rw-r--r--src/arch/riscv/include/ipxe/hart.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/arch/riscv/include/ipxe/hart.h b/src/arch/riscv/include/ipxe/hart.h
new file mode 100644
index 000000000..c201b6c77
--- /dev/null
+++ b/src/arch/riscv/include/ipxe/hart.h
@@ -0,0 +1,16 @@
+#ifndef _IPXE_HART_H
+#define _IPXE_HART_H
+
+/** @file
+ *
+ * Hardware threads (harts)
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+
+extern unsigned long boot_hart;
+
+extern int hart_supported ( const char *ext );
+
+#endif /* _IPXE_HART_H */