diff options
| author | Steve McIntyre <steve@einval.com> | 2022-04-27 22:41:59 +0100 |
|---|---|---|
| committer | Steve McIntyre <steve@einval.com> | 2022-04-27 22:41:59 +0100 |
| commit | acb8d1ffbca46190a934a5b27185a95ba4451fda (patch) | |
| tree | dc4a7291fa6dff3855f012b74ee779fa49ce8e94 /include/console.h | |
| parent | 39c311d6773b915df277a62425a6715b2d977ab6 (diff) | |
| parent | 8529e0f7f70f427a7202815061362eceba6bfc50 (diff) | |
| download | efi-boot-shim-acb8d1ffbca46190a934a5b27185a95ba4451fda.tar.gz efi-boot-shim-acb8d1ffbca46190a934a5b27185a95ba4451fda.zip | |
Update upstream source from tag 'upstream/15.5'
Update to upstream version '15.5'
with Debian dir 3ac353daa3d32301e3b225b2b6f446200a2c682f
Diffstat (limited to 'include/console.h')
| -rw-r--r-- | include/console.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/console.h b/include/console.h index f56b1231..0c4a5137 100644 --- a/include/console.h +++ b/include/console.h @@ -50,6 +50,9 @@ void console_reset(void); void console_mode_handle(void); +void +clear_screen(void); + #define NOSEL 0x7fffffff typedef struct _EFI_CONSOLE_CONTROL_PROTOCOL EFI_CONSOLE_CONTROL_PROTOCOL; @@ -109,8 +112,12 @@ extern UINT32 verbose; extern EFI_STATUS EFIAPI vdprint_(const CHAR16 *fmt, const char *file, int line, const char *func, ms_va_list args); +#if defined(SHIM_UNIT_TEST) +#define vdprint(fmt, ...) +#else #define vdprint(fmt, ...) \ vdprint_(fmt, __FILE__, __LINE__ - 1, __func__, ##__VA_ARGS__) +#endif extern EFI_STATUS print_crypto_errors(EFI_STATUS rc, char *file, const char *func, int line); #define crypterr(rc) print_crypto_errors((rc), __FILE__, __func__, __LINE__) |
