still very confused and FRONTEND_TITLE_BAR_NAME

only:uaefi
This commit is contained in:
rusefillc 2024-07-03 13:34:55 -04:00
parent c44ec74f70
commit b6e578b4c2
4 changed files with 4 additions and 3 deletions

View File

@ -22,7 +22,7 @@
#define ts_show_tcu true
#define ts_show_gdi true
#define FRONTEND_TITLE_BAR_NAME "uaEFI"
#define show_uaefi_presets true

View File

@ -674,7 +674,7 @@ extern CommandHandler console_line_callback;
// see also handleQueryCommand
static void handleGetVersion(TsChannelBase* tsChannel) {
char versionBuffer[32];
chsnprintf(versionBuffer, sizeof(versionBuffer), "%s v%d@%u", "rusEFI", getRusEfiVersion(), SIGNATURE_HASH);
chsnprintf(versionBuffer, sizeof(versionBuffer), "%s v%d@%u", FRONTEND_TITLE_BAR_NAME, getRusEfiVersion(), SIGNATURE_HASH);
tsChannel->sendResponse(TS_CRC, (const uint8_t *) versionBuffer, strlen(versionBuffer) + 1);
}

View File

@ -64,7 +64,7 @@ BOARD_WEAK void boardSayHello() {
static void sayHello() {
efiPrintf(PROTOCOL_HELLO_PREFIX " rusEFI LLC (c) 2012-2024. All rights reserved.");
efiPrintf(PROTOCOL_HELLO_PREFIX " rusEFI v%d@%d now=%d", getRusEfiVersion(), /*do we have a working way to print 64 bit values?!*/(int)SIGNATURE_HASH, (int)getTimeNowMs());
efiPrintf(PROTOCOL_HELLO_PREFIX " rusEFI v%d@%u now=%d", getRusEfiVersion(), /*do we have a working way to print 64 bit values?!*/(int)SIGNATURE_HASH, (int)getTimeNowMs());
efiPrintf(PROTOCOL_HELLO_PREFIX " Chibios Kernel: %s", CH_KERNEL_VERSION);
efiPrintf(PROTOCOL_HELLO_PREFIX " Compiled: " __DATE__ " - " __TIME__ "");
efiPrintf(PROTOCOL_HELLO_PREFIX " COMPILER=%s", __VERSION__);

View File

@ -2318,6 +2318,7 @@ end_struct
#define PROTOCOL_VERSION_TAG "rusEfiVersion"
#define PROTOCOL_TEST_RESPONSE_TAG "ts_p_alive"
#define PROTOCOL_SIGNATURE_PREFIX "rusEFI "
#define FRONTEND_TITLE_BAR_NAME "rusEFI"
! Engine Sniffer Protocol
#define PROTOCOL_ES_DOWN "d"