diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-04-30 17:06:02 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-04-30 17:06:02 +0300 |
| commit | ea5ebe0809fb31b9f125ac0689f706cc5f3f078f (patch) | |
| tree | 17081bd689709a9bfe48467c458425dea876bddd /arch/riscv64/kernel | |
| parent | 8a5e4cf53d981e793fca90d9b51bd395265cf4db (diff) | |
| download | kmi-ea5ebe0809fb31b9f125ac0689f706cc5f3f078f.tar.gz kmi-ea5ebe0809fb31b9f125ac0689f706cc5f3f078f.zip | |
rename to kmi
Diffstat (limited to 'arch/riscv64/kernel')
| -rw-r--r-- | arch/riscv64/kernel/cpu.c | 4 | ||||
| -rw-r--r-- | arch/riscv64/kernel/csr.h | 6 | ||||
| -rw-r--r-- | arch/riscv64/kernel/irq.c | 4 | ||||
| -rw-r--r-- | arch/riscv64/kernel/main.c | 2 | ||||
| -rw-r--r-- | arch/riscv64/kernel/pages.h | 6 | ||||
| -rw-r--r-- | arch/riscv64/kernel/power.c | 2 | ||||
| -rw-r--r-- | arch/riscv64/kernel/proc.c | 6 | ||||
| -rw-r--r-- | arch/riscv64/kernel/regs.h | 6 | ||||
| -rw-r--r-- | arch/riscv64/kernel/sbi.h | 8 | ||||
| -rw-r--r-- | arch/riscv64/kernel/vmem.c | 10 |
10 files changed, 27 insertions, 27 deletions
diff --git a/arch/riscv64/kernel/cpu.c b/arch/riscv64/kernel/cpu.c index e8c8f34..629e2db 100644 --- a/arch/riscv64/kernel/cpu.c +++ b/arch/riscv64/kernel/cpu.c @@ -6,8 +6,8 @@ * riscv64 implementation of cpu handling. */ -#include <apos/tcb.h> -#include <apos/atomic.h> +#include <kmi/tcb.h> +#include <kmi/atomic.h> #include <arch/cpu.h> diff --git a/arch/riscv64/kernel/csr.h b/arch/riscv64/kernel/csr.h index 321af3d..2dda0cb 100644 --- a/arch/riscv64/kernel/csr.h +++ b/arch/riscv64/kernel/csr.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_CSR_H -#define APOS_CSR_H +#ifndef KMI_CSR_H +#define KMI_CSR_H /** * @file csr.h @@ -167,4 +167,4 @@ #define csr_clear(csr, val) \ __asm__ volatile ("csrc " __ASM_STR(csr) ", %0" : : "r" (val) : "memory") -#endif /* APOS_CSR_H */ +#endif /* KMI_CSR_H */ diff --git a/arch/riscv64/kernel/irq.c b/arch/riscv64/kernel/irq.c index a2913a4..023653e 100644 --- a/arch/riscv64/kernel/irq.c +++ b/arch/riscv64/kernel/irq.c @@ -6,8 +6,8 @@ * riscv64 implementation of irq handling. */ -#include <apos/attrs.h> -#include <apos/debug.h> +#include <kmi/attrs.h> +#include <kmi/debug.h> #include <arch/irq.h> #include "csr.h" diff --git a/arch/riscv64/kernel/main.c b/arch/riscv64/kernel/main.c index 3d36a22..7e6fbf6 100644 --- a/arch/riscv64/kernel/main.c +++ b/arch/riscv64/kernel/main.c @@ -6,7 +6,7 @@ * riscv64 main */ -#include <apos/utils.h> +#include <kmi/utils.h> #include <arch/arch.h> #include "csr.h" diff --git a/arch/riscv64/kernel/pages.h b/arch/riscv64/kernel/pages.h index b26732e..28478a7 100644 --- a/arch/riscv64/kernel/pages.h +++ b/arch/riscv64/kernel/pages.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_PAGES_H -#define APOS_RISCV_PAGES_H +#ifndef KMI_RISCV_PAGES_H +#define KMI_RISCV_PAGES_H /** * @file pages.h @@ -33,4 +33,4 @@ /** riscv64 512GiB page size. */ #define MM_TPAGE_SIZE SZ_512G -#endif /* APOS_RISCV_PAGES_H */ +#endif /* KMI_RISCV_PAGES_H */ diff --git a/arch/riscv64/kernel/power.c b/arch/riscv64/kernel/power.c index 9ea94d6..43d1b4d 100644 --- a/arch/riscv64/kernel/power.c +++ b/arch/riscv64/kernel/power.c @@ -6,7 +6,7 @@ * riscv64 implementation of arch-specific power handling. */ -#include <apos/power.h> +#include <kmi/power.h> #include "sbi.h" /** diff --git a/arch/riscv64/kernel/proc.c b/arch/riscv64/kernel/proc.c index d58b41b..9b28fc3 100644 --- a/arch/riscv64/kernel/proc.c +++ b/arch/riscv64/kernel/proc.c @@ -6,9 +6,9 @@ * riscv64 implementation of arch-specific process handling. */ -#include <apos/tcb.h> -#include <apos/elf.h> -#include <apos/string.h> +#include <kmi/tcb.h> +#include <kmi/elf.h> +#include <kmi/string.h> #include <arch/proc.h> diff --git a/arch/riscv64/kernel/regs.h b/arch/riscv64/kernel/regs.h index 2c19092..da62a74 100644 --- a/arch/riscv64/kernel/regs.h +++ b/arch/riscv64/kernel/regs.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_REGS_H -#define APOS_RISCV_REGS_H +#ifndef KMI_RISCV_REGS_H +#define KMI_RISCV_REGS_H /** * @file regs.h @@ -82,4 +82,4 @@ struct riscv_regs { t6; }; -#endif /* APOS_RISCV_REGS_H */ +#endif /* KMI_RISCV_REGS_H */ diff --git a/arch/riscv64/kernel/sbi.h b/arch/riscv64/kernel/sbi.h index 19cc595..8484d7c 100644 --- a/arch/riscv64/kernel/sbi.h +++ b/arch/riscv64/kernel/sbi.h @@ -1,15 +1,15 @@ /* SPDX-License-Identifier: GPL-3.0-or-later */ /* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */ -#ifndef APOS_RISCV_SBI_H -#define APOS_RISCV_SBI_H +#ifndef KMI_RISCV_SBI_H +#define KMI_RISCV_SBI_H /** * @file sbi.h * riscv64-specific OpenSBI definitions. */ -#include <apos/types.h> +#include <kmi/types.h> /** Return structure of SBI calls. */ struct sbiret { @@ -126,4 +126,4 @@ static inline struct sbiret sbi_send_ipi(unsigned long hart_mask, 0); } -#endif /* APOS_RISCV_SBI_H */ +#endif /* KMI_RISCV_SBI_H */ diff --git a/arch/riscv64/kernel/vmem.c b/arch/riscv64/kernel/vmem.c index f9a6784..72e069b 100644 --- a/arch/riscv64/kernel/vmem.c +++ b/arch/riscv64/kernel/vmem.c @@ -6,11 +6,11 @@ * riscv64 implementation of arch-specific virtual memory handling. */ -#include <apos/string.h> -#include <apos/pmem.h> -#include <apos/vmem.h> -#include <apos/mem.h> -#include <apos/debug.h> +#include <kmi/string.h> +#include <kmi/pmem.h> +#include <kmi/vmem.h> +#include <kmi/mem.h> +#include <kmi/debug.h> #include <arch/cpu.h> #include "pages.h" #include "csr.h" |
