diff options
Diffstat (limited to 'src/neboot-print-name.c')
| -rw-r--r-- | src/neboot-print-name.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/neboot-print-name.c b/src/neboot-print-name.c new file mode 100644 index 0000000..90fe104 --- /dev/null +++ b/src/neboot-print-name.c @@ -0,0 +1,27 @@ +/* ------------------------------------------- + + Copyright (C) 2024, Amlal EL Mahrouss, all rights reserved. + +------------------------------------------- */ + +#include <lib/boot.h> + +/// @brief Print firmware name. +/// @param +void cb_print_name(void) { +#ifdef __COMPILE_POWERPC__ + cb_put_string(">> NeBoot for POWERPC.\r\n"); +#endif // __COMPILE_POWERPC__ + +#ifdef __COMPILE_ARM64__ + cb_put_string(">> NeBoot for ARM64.\r\n"); +#endif // __COMPILE_POWERPC__ + +#ifdef __COMPILE_AMD64__ + cb_put_string(">> NeBoot for AMD64.\r\n"); +#endif // __COMPILE_POWERPC__ + +#ifdef __COMPILE_RISCV__ + cb_put_string(">> NeBoot for RISC-V.\r\n"); +#endif // __COMPILE_POWERPC__ +} |
