misc: Add no_unwind to some variables

This commit is contained in:
mintsuki 2021-12-12 19:06:36 +01:00
parent f0cda17326
commit acdd21348d
3 changed files with 3 additions and 3 deletions

View File

@ -125,7 +125,7 @@ static bool try_mode(struct fb_info *ret, size_t mode, int width, int height, in
#define INVALID_PRESET_MODE 0xffffffff
static size_t preset_mode = INVALID_PRESET_MODE;
static no_unwind size_t preset_mode = INVALID_PRESET_MODE;
bool init_gop(struct fb_info *ret,
uint16_t target_width, uint16_t target_height, uint16_t target_bpp) {

View File

@ -166,7 +166,7 @@ uint32_t hex2bin(uint8_t *str, uint32_t size) {
#if uefi == 1
bool efi_boot_services_exited = false;
no_unwind bool efi_boot_services_exited = false;
#define EFI_COPY_MAX_ENTRIES 512

View File

@ -11,7 +11,7 @@
// Tries to implement this standard for terminfo
// https://man7.org/linux/man-pages/man4/console_codes.4.html
int current_video_mode = -1;
no_unwind int current_video_mode = -1;
int term_backend = NOT_READY;
size_t term_rows, term_cols;
bool term_runtime = false;