aboutsummaryrefslogtreecommitdiff
path: root/include/apos/initrd.h
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 /include/apos/initrd.h
parent8a5e4cf53d981e793fca90d9b51bd395265cf4db (diff)
downloadkmi-ea5ebe0809fb31b9f125ac0689f706cc5f3f078f.tar.gz
kmi-ea5ebe0809fb31b9f125ac0689f706cc5f3f078f.zip
rename to kmi
Diffstat (limited to 'include/apos/initrd.h')
-rw-r--r--include/apos/initrd.h57
1 files changed, 0 insertions, 57 deletions
diff --git a/include/apos/initrd.h b/include/apos/initrd.h
deleted file mode 100644
index bd930d2..0000000
--- a/include/apos/initrd.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
-/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */
-
-#ifndef APOS_INITRD_H
-#define APOS_INITRD_H
-
-/**
- * @file initrd.h
- * Initrd handling.
- */
-
-#include <apos/types.h>
-#include <apos/pmem.h>
-#include <apos/vmem.h>
-
-/**
- * Get \c init program size in bytes.
- *
- * @param fdt Global FDT pointer.
- * @return Size of \c init in bytes.
- */
-size_t get_init_size(const void *fdt);
-
-/**
- * Get \c init program base address.
- *
- * @param fdt Global FDT pointer.
- * @return Start of \c init.
- */
-vm_t get_init_base(const void *fdt);
-
-/**
- * Get \c initrd top address.
- *
- * @param fdt Global FDT pointer.
- * @return Top address of \c initrd.
- */
-pm_t get_initrdtop(const void *fdt);
-
-/**
- * Get \c initrd base address.
- *
- * @param fdt Global FDT pointer.
- * @return Base address of \c initrd.
- */
-pm_t get_initrdbase(const void *fdt);
-
-/**
- * Move \c init program to some other region in memory.
- *
- * @param fdt Global FDT pointer.
- * @param target Where to move to.
- * @return OK on success.
- */
-stat_t move_init(const void *fdt, void *target);
-
-#endif /* APOS_INITRD_H */