summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2021-04-07 11:16:11 +0000
committerAda Christine <adachristine18@gmail.com>2021-04-07 11:16:11 +0000
commit382ee1b11be7e01d2797efe4ccd97ad7c5a4cf72 (patch)
tree854464f37cb19e97f55ebad1c3260d699eb599a5 /api
parent6d4fefae4f0afff412117133ee5e2178c3c5a1a1 (diff)
moved headers around a bit
Diffstat (limited to 'api')
-rw-r--r--api/kernel/entry.h3
-rw-r--r--api/loader/data.h (renamed from api/boot/entry_efi.h)2
2 files changed, 3 insertions, 2 deletions
diff --git a/api/kernel/entry.h b/api/kernel/entry.h
new file mode 100644
index 0000000..791d8b6
--- /dev/null
+++ b/api/kernel/entry.h
@@ -0,0 +1,3 @@
+#pragma once
+
+typedef void (*kernel_entry_func)(void *data);
diff --git a/api/boot/entry_efi.h b/api/loader/data.h
index 7f6b4a4..5bbf2a9 100644
--- a/api/boot/entry_efi.h
+++ b/api/loader/data.h
@@ -34,5 +34,3 @@ struct efi_boot_data
void *acpi_rsdp;
};
-typedef void (*kernel_entry_func)(struct efi_boot_data *data);
-