From ec3e07c611e4ee71b290dc7a0176a3038aa50415 Mon Sep 17 00:00:00 2001 From: Aren Elchinyan Date: Sun, 29 Oct 2023 19:19:27 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D1=81=D1=87=D0=B5=D1=82=D1=87=D0=B8=D0=BA=20=D1=81?= =?UTF-8?q?=D0=B1=D0=BE=D1=80=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/version.h | 2 +- kernel/fb.c | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/include/version.h b/include/version.h index 6a41b49..3c0c649 100644 --- a/include/version.h +++ b/include/version.h @@ -1,3 +1,3 @@ #define VERSION_MAJOR 0 #define VERSION_MINOR 1 -#define VERSION_BUILD 350 +#define VERSION_BUILD 356 diff --git a/kernel/fb.c b/kernel/fb.c index 74c7007..2204904 100644 --- a/kernel/fb.c +++ b/kernel/fb.c @@ -51,10 +51,8 @@ uint64_t pos_y = 4; // Настройка прослойки графики ядра void fb_init( ) { framebuffer_response = framebuffer_request.response; - - if (framebuffer_response == NULL) { - asm volatile("hlt"); - } + + if (framebuffer_response == NULL) { asm volatile("hlt"); } boot_framebuffer = framebuffer_response->framebuffers[0]; fb_addr = (uint32_t *)boot_framebuffer->address;