aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64/include
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-04-30 17:06:02 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-04-30 17:06:02 +0300
commitea5ebe0809fb31b9f125ac0689f706cc5f3f078f (patch)
tree17081bd689709a9bfe48467c458425dea876bddd /arch/riscv64/include
parent8a5e4cf53d981e793fca90d9b51bd395265cf4db (diff)
downloadkmi-ea5ebe0809fb31b9f125ac0689f706cc5f3f078f.tar.gz
kmi-ea5ebe0809fb31b9f125ac0689f706cc5f3f078f.zip
rename to kmi
Diffstat (limited to 'arch/riscv64/include')
-rw-r--r--arch/riscv64/include/arch.h6
-rw-r--r--arch/riscv64/include/cpu.h6
-rw-r--r--arch/riscv64/include/irq.h6
-rw-r--r--arch/riscv64/include/lock.h6
-rw-r--r--arch/riscv64/include/pmem.h6
-rw-r--r--arch/riscv64/include/proc.h6
-rw-r--r--arch/riscv64/include/timer.h6
-rw-r--r--arch/riscv64/include/types.h10
-rw-r--r--arch/riscv64/include/vmem.h12
9 files changed, 32 insertions, 32 deletions
diff --git a/arch/riscv64/include/arch.h b/arch/riscv64/include/arch.h
index 4d083e7..d30232c 100644
--- a/arch/riscv64/include/arch.h
+++ b/arch/riscv64/include/arch.h
@@ -1,11 +1,11 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */
-#ifndef APOS_RISCV_ARCH_H
-#define APOS_RISCV_ARCH_H
+#ifndef KMI_RISCV_ARCH_H
+#define KMI_RISCV_ARCH_H
/**
* @file arch.h
* riscv64 arch header, currently empty but kept around for forwards
* compatibility.
*/
-#endif /* APOS_RISCV_ARCH_H */
+#endif /* KMI_RISCV_ARCH_H */
diff --git a/arch/riscv64/include/cpu.h b/arch/riscv64/include/cpu.h
index 73d3d15..f8131ae 100644
--- a/arch/riscv64/include/cpu.h
+++ b/arch/riscv64/include/cpu.h
@@ -1,11 +1,11 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */
-#ifndef APOS_RISCV_CPU_H
-#define APOS_RISCV_CPU_H
+#ifndef KMI_RISCV_CPU_H
+#define KMI_RISCV_CPU_H
/**
* @file cpu.h
* riscv64 cpu header, currently empty but kept around for forwards
* compatibility.
*/
-#endif /* APOS_RISCV_CPU_H */
+#endif /* KMI_RISCV_CPU_H */
diff --git a/arch/riscv64/include/irq.h b/arch/riscv64/include/irq.h
index cba6b31..574b6d2 100644
--- a/arch/riscv64/include/irq.h
+++ b/arch/riscv64/include/irq.h
@@ -1,11 +1,11 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */
-#ifndef APOS_RISCV_IRQ_H
-#define APOS_RISCV_IRQ_H
+#ifndef KMI_RISCV_IRQ_H
+#define KMI_RISCV_IRQ_H
/**
* @file irq.h
* riscv64 irq header, currently empty but kept around for forwards
* compatibility.
*/
-#endif /* APOS_RISCV_IRQ_H */
+#endif /* KMI_RISCV_IRQ_H */
diff --git a/arch/riscv64/include/lock.h b/arch/riscv64/include/lock.h
index a85f72e..cbdad63 100644
--- a/arch/riscv64/include/lock.h
+++ b/arch/riscv64/include/lock.h
@@ -1,8 +1,8 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */
-#ifndef APOS_RISCV_LOCK_H
-#define APOS_RISCV_LOCK_H
+#ifndef KMI_RISCV_LOCK_H
+#define KMI_RISCV_LOCK_H
/**
* @file lock.h
* riscv64 implementation of arch-specific lock behaviour, currently only \ref
@@ -15,4 +15,4 @@
*/
#define optional_pause()
-#endif /* APOS_RISCV_LOCK_H */
+#endif /* KMI_RISCV_LOCK_H */
diff --git a/arch/riscv64/include/pmem.h b/arch/riscv64/include/pmem.h
index 1b1d55a..ae23ca5 100644
--- a/arch/riscv64/include/pmem.h
+++ b/arch/riscv64/include/pmem.h
@@ -1,11 +1,11 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */
-#ifndef APOS_RISCV_PMEM_H
-#define APOS_RISCV_PMEM_H
+#ifndef KMI_RISCV_PMEM_H
+#define KMI_RISCV_PMEM_H
/**
* @file pmem.h
* riscv64-specific physical memory, currently empty but kept around for
* forwards compatibility.
*/
-#endif /* APOS_RISCV_PMEM_H */
+#endif /* KMI_RISCV_PMEM_H */
diff --git a/arch/riscv64/include/proc.h b/arch/riscv64/include/proc.h
index 8b531ce..dac57ed 100644
--- a/arch/riscv64/include/proc.h
+++ b/arch/riscv64/include/proc.h
@@ -1,12 +1,12 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */
-#ifndef APOS_RISCV_PROC_H
-#define APOS_RISCV_PROC_H
+#ifndef KMI_RISCV_PROC_H
+#define KMI_RISCV_PROC_H
/**
* @file proc.h
* riscv64-specific process-related stuff. Currently empty.
*/
-#endif /* APOS_RISCV_PROC_H */
+#endif /* KMI_RISCV_PROC_H */
diff --git a/arch/riscv64/include/timer.h b/arch/riscv64/include/timer.h
index 6299662..33e02f8 100644
--- a/arch/riscv64/include/timer.h
+++ b/arch/riscv64/include/timer.h
@@ -1,11 +1,11 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */
-#ifndef APOS_RISCV_TIMER_H
-#define APOS_RISCV_TIMER_H
+#ifndef KMI_RISCV_TIMER_H
+#define KMI_RISCV_TIMER_H
/**
* @file timer.h
* riscv64 timer header, currently empty but kept around for forwards
* compatibility.
*/
-#endif /* APOS_RISCV_TIMER_H */
+#endif /* KMI_RISCV_TIMER_H */
diff --git a/arch/riscv64/include/types.h b/arch/riscv64/include/types.h
index 2a6dcb5..bcf96c6 100644
--- a/arch/riscv64/include/types.h
+++ b/arch/riscv64/include/types.h
@@ -1,16 +1,16 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */
-#ifndef APOS_RISCV_TYPES_H
-#define APOS_RISCV_TYPES_H
+#ifndef KMI_RISCV_TYPES_H
+#define KMI_RISCV_TYPES_H
/**
* @file types.h
* riscv64 definitions of arch-specific data types, possibly made redundant by
- * \ref include/apos/types.h but kept around just to be sure.
+ * \ref include/kmi/types.h but kept around just to be sure.
*/
-#include <apos/types.h>
+#include <kmi/types.h>
/** Virtual memory address. */
typedef uintptr_t vm_t;
@@ -18,4 +18,4 @@ typedef uintptr_t vm_t;
/** Physical memory address. */
typedef uintptr_t pm_t;
-#endif /* APOS_RISCV_TYPES_H */
+#endif /* KMI_RISCV_TYPES_H */
diff --git a/arch/riscv64/include/vmem.h b/arch/riscv64/include/vmem.h
index 9945051..5defc5a 100644
--- a/arch/riscv64/include/vmem.h
+++ b/arch/riscv64/include/vmem.h
@@ -1,18 +1,18 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */
-#ifndef APOS_RISCV_VMAP_H
-#define APOS_RISCV_VMAP_H
+#ifndef KMI_RISCV_VMAP_H
+#define KMI_RISCV_VMAP_H
/**
* @file vmem.h
* riscv64 definitions of arch-specific virtual memory data types and macros.
- * Very likely VM_* should be moved to \ref include/apos/vmem.h and made
+ * Very likely VM_* should be moved to \ref include/kmi/vmem.h and made
* architecture-nonspecific, but works for now.
*/
-#include <apos/types.h>
-#include <apos/attrs.h>
+#include <kmi/types.h>
+#include <kmi/attrs.h>
/**
* Number of entries in one page table, depends on if we're running riscv32 or
@@ -71,4 +71,4 @@ struct vmem {
struct vmem *leaf[RISCV_NUM_LEAVES];
};
-#endif /* APOS_RISCV_VMAP_H */
+#endif /* KMI_RISCV_VMAP_H */