From a88ef2fde041e5d733b5cbe2728b15ca149d1671 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sat, 28 Jan 2023 09:31:59 -0400 Subject: Initial commit --- include/dolphin/__ppc_eabi_init.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 include/dolphin/__ppc_eabi_init.h (limited to 'include/dolphin/__ppc_eabi_init.h') diff --git a/include/dolphin/__ppc_eabi_init.h b/include/dolphin/__ppc_eabi_init.h new file mode 100644 index 0000000..6349ce9 --- /dev/null +++ b/include/dolphin/__ppc_eabi_init.h @@ -0,0 +1,21 @@ +// This file was taken from the Metroid Prime decompilation project. +// https://github.com/PrimeDecomp/prime/blob/main/include/dolphin/__ppc_eabi_init.h +#ifndef _DOLPHIN__PPC_EABI_INIT +#define _DOLPHIN__PPC_EABI_INIT + +#include "types.h" + +#ifdef __cplusplus +extern "C" { +#endif +__declspec(section ".init") void __init_hardware(void); +__declspec(section ".init") void __flush_cache(register void* address, register unsigned int size); + +void __init_user(void); +void __init_cpp(void); + +#ifdef __cplusplus +} +#endif + +#endif // _DOLPHIN__PPC_EABI_INIT -- cgit v1.2.3-13-gbd6f