From dcdec28b865fe5f72a10f1edd94259de74c737c1 Mon Sep 17 00:00:00 2001 From: Dr-Noob Date: Sun, 18 Aug 2024 14:55:37 +0100 Subject: [PATCH] [v1.05][ARM] Improve Ampere logo --- src/arm/soc.c | 8 ++++---- src/common/ascii.h | 32 ++++++++++++++++++-------------- 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/src/arm/soc.c b/src/arm/soc.c index 734fcac..c76a876 100644 --- a/src/arm/soc.c +++ b/src/arm/soc.c @@ -909,10 +909,10 @@ struct system_on_chip* guess_soc_from_pci(struct system_on_chip* soc, struct cpu } pciToSoC; pciToSoC socFromPCI[] = { - {PCI_VENDOR_NVIDIA, PCI_DEVICE_TEGRA_X1, {SOC_TEGRA_X1, SOC_VENDOR_NVIDIA, 20, "Tegra X1", NULL} }, - // {PCI_VENDOR_NVIDIA, PCI_DEVICE_GH_200,{SOC_GH_200, SOC_VENDOR_NVIDIA, ?, "Grace Hopper", NULL} }, - {PCI_VENDOR_AMPERE, PCI_DEVICE_ALTRA, {SOC_AMPERE_ALTRA, SOC_VENDOR_AMPERE, 7, "Altra", NULL}}, // https://www.anandtech.com/show/15575/amperes-altra-80-core-n1-soc-for-hyperscalers-against-rome-and-xeon - {0x0000, 0x0000, {UNKNOWN, SOC_VENDOR_UNKNOWN, -1, "", NULL} } + {PCI_VENDOR_NVIDIA, PCI_DEVICE_TEGRA_X1, {SOC_TEGRA_X1, SOC_VENDOR_NVIDIA, 20, "Tegra X1", NULL} }, + // {PCI_VENDOR_NVIDIA, PCI_DEVICE_GH_200,{SOC_GH_200, SOC_VENDOR_NVIDIA, ?, "Grace Hopper", NULL} }, + {PCI_VENDOR_AMPERE, PCI_DEVICE_ALTRA, {SOC_AMPERE_ALTRA, SOC_VENDOR_AMPERE, 7, "Altra", NULL} }, // https://www.anandtech.com/show/15575/amperes-altra-80-core-n1-soc-for-hyperscalers-against-rome-and-xeon + {0x0000, 0x0000, {UNKNOWN, SOC_VENDOR_UNKNOWN, -1, "", NULL} } }; int index = 0; diff --git a/src/common/ascii.h b/src/common/ascii.h index 86a2082..e584f99 100644 --- a/src/common/ascii.h +++ b/src/common/ascii.h @@ -395,19 +395,23 @@ $C2## ## ## ## ## ## ## ## ####### \ $C2## ## ### ## ###### ## ## ## " #define ASCII_AMPERE \ -"$C1 /// \ -$C1 .///// \ -$C1 /// /// \ -$C1 /// /// \ -$C1 ,//* /// \ -$C1 /// /// \ -$C1 /// /// \ -$C1 ///////* /////* /// \ -$C1 /////// /// ////// /// \ -$C1 .//// /// //////// \ -$C1 //// ,//* ///// \ -$C1 /// /// //// \ -$C1/// /// */// " +"$C1 \ +$C1 \ +$C1 ## \ +$C1 #### \ +$C1 ### ## \ +$C1 ### ### \ +$C1 ### ### \ +$C1 ### ### \ +$C1 ## ### \ +$C1 ####### ### ### \ +$C1 ###### ## ###### ### \ +$C1 #### ### ######## \ +$C1 #### ### #### \ +$C1 ### ### #### \ +$C1 ## ### ### \ +$C1 \ +$C1 " // --------------------- LONG LOGOS ------------------------- // #define ASCII_AMD_L \ @@ -584,7 +588,7 @@ asciiL logo_sifive = { ASCII_SIFIVE, 48, 19, true, {C_BG_WHITE, C_BG_ asciiL logo_starfive = { ASCII_STARFIVE, 33, 17, false, {C_FG_WHITE}, {C_FG_WHITE, C_FG_BLUE} }; asciiL logo_sipeed = { ASCII_SIPEED, 41, 16, true, {C_BG_RED, C_BG_WHITE}, {C_FG_RED, C_FG_WHITE} }; asciiL logo_nvidia = { ASCII_NVIDIA, 45, 19, false, {C_FG_GREEN, C_FG_WHITE}, {C_FG_WHITE, C_FG_GREEN} }; -asciiL logo_ampere = { ASCII_AMPERE, 51, 13, false, {C_FG_RED}, {C_FG_WHITE, C_FG_RED} }; +asciiL logo_ampere = { ASCII_AMPERE, 50, 17, false, {C_FG_RED}, {C_FG_WHITE, C_FG_RED} }; // Long variants | ----------------------------------------------------------------------------------------------------------------| asciiL logo_amd_l = { ASCII_AMD_L, 62, 19, true, {C_BG_WHITE, C_BG_GREEN}, {C_FG_WHITE, C_FG_GREEN} };