mirror of
https://github.com/Fishwaldo/opensbi.git
synced 2025-03-15 19:31:32 +00:00
Add a banner
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
This commit is contained in:
parent
8f91d1142e
commit
84df181c84
1 changed files with 14 additions and 1 deletions
|
@ -17,6 +17,16 @@
|
|||
#include <sbi/sbi_system.h>
|
||||
#include <sbi/sbi_timer.h>
|
||||
|
||||
static const char *logo =
|
||||
" ____ _____ ____ _____\n"
|
||||
" / __ \\ / ____| _ \\_ _|\n"
|
||||
" | | | |_ __ ___ _ __ | (___ | |_) || |\n"
|
||||
" | | | | '_ \\ / _ \\ '_ \\ \\___ \\| _ < | |\n"
|
||||
" | |__| | |_) | __/ | | |____) | |_) || |_\n"
|
||||
" \\____/| .__/ \\___|_| |_|_____/|____/_____|\n"
|
||||
" | |\n"
|
||||
" |_|\n";
|
||||
|
||||
static void __attribute__((noreturn)) init_coldboot(struct sbi_scratch *scratch,
|
||||
u32 hartid)
|
||||
{
|
||||
|
@ -76,7 +86,10 @@ static void __attribute__((noreturn)) init_coldboot(struct sbi_scratch *scratch,
|
|||
sbi_printf("OpenSBI v%d.%d (%s %s)\n",
|
||||
OPENSBI_MAJOR, OPENSBI_MINOR,
|
||||
__DATE__, __TIME__);
|
||||
sbi_printf("\n");
|
||||
sbi_printf("Running on Hart %u\n", hartid);
|
||||
|
||||
sbi_printf("%s\n", logo);
|
||||
|
||||
/* Platform details */
|
||||
sbi_printf("Platform Name : %s\n", sbi_platform_name(plat));
|
||||
sbi_printf("Platform HART Features : RV%d%s\n", misa_xlen(), str);
|
||||
|
|
Loading…
Add table
Reference in a new issue