5 #ifndef _SERIALBURNERDATA_H_ 6 #define _SERIALBURNERDATA_H_ 11 extern MonitorRecord monitor_config;
13 #define DEVICE_NAME_LENGTH (15) 21 #define SERIAL_BURNER_CERTIFICATE_SIZE_MAX ((5 * 1024) - 1) 22 #define SERIAL_BURNER_CERTIFICATE_SIZE_MAX_PEM ((5 * 1024) - 1) 25 #define SERIAL_BURNER_LIBRARY_DEFAULT ((uint8_t)0x00) 26 #define SERIAL_BURNER_DEFAULT ((uint8_t)0x01) 27 #define SERIAL_BURNER_USER_INSTALLED ((uint8_t)0x02) 35 #define SERIAL_BURNER_KEY_SIZE_MAX_PEM ((4 * 1024) - 1) 40 #define boot_iprintf(...) \ 42 if (monitor_config.Quiet == 0) \ 44 iprintf("%s : ", NV_Settings.DeviceName); \ 45 iprintf(__VA_ARGS__); \ 53 #define debug_iprintf(...) \ 55 if (bShowDebug == true) \ 57 iprintf("%s : ", NV_Settings.DeviceName); \ 58 iprintf(__VA_ARGS__); \ 82 struct NV_SettingsStruct
85 char DeviceName[(DEVICE_NAME_LENGTH + 1)];
86 char NetBIOSName[(NETBIOS_NAME_SIZE_IN_CHARS + 1)];
89 uint8_t SslCertificateSource;
90 uint16_t SslCertificateLength;
91 uint16_t SslKeyLength;
96 uint32_t STDEFFSVerifyKey;
100 extern NV_SettingsStruct NV_Settings;
103 extern NV_SettingsStruct gNV_SettingsChangeCopy;
106 extern volatile bool gChangedUserParameters;
109 extern bool bShowDebug;
112 extern void RegisterPost(
void);
116 extern void SetAndSaveDefaults(
void);
119 extern char GetHexByte(
const char *cp);
Configuration object header file.
void CheckNVSettings()
Definition: webif.cpp:40