From 1dbaf29a96f448b20363760dde258fba1d33131b Mon Sep 17 00:00:00 2001 From: Aren Elchinyan Date: Mon, 5 Feb 2024 20:58:24 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=BB=D0=B8=D1=88=D0=BD=D0=B5=D0=B9=20=D0=BE=D1=82?= =?UTF-8?q?=D0=BB=D0=B0=D0=B4=D0=BE=D1=87=D0=BD=D0=BE=D0=B9=20=D0=B8=D0=BD?= =?UTF-8?q?=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/ps2/main.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/modules/ps2/main.c b/modules/ps2/main.c index 48ae06c..a07eab8 100644 --- a/modules/ps2/main.c +++ b/modules/ps2/main.c @@ -7,14 +7,9 @@ static int ru = 1; static char c_char = '\0'; static key_event_t keyboard_buffer; -void virt_exit( ) { - fb_printf("Выход для Qemu\n"); +static void virt_exit( ) { outw(0x604, 0x2000); - - fb_printf("Выход для Virtualbox\n"); outw(0x4004, 0x3400); - - fb_printf("Выход для облачного гипервизора\n"); outw(0x600, 0x34); } @@ -155,7 +150,6 @@ module_info_t __attribute__((section(".minit"))) init(env_t *env) { current_state = NORMAL_STATE; keyboard_buffer.ctrl_pressed = 0; keyboard_buffer.shift_pressed = 0; - fb_printf("\t\t[%u][%c]\n", 27, 27); return (module_info_t){ .name = (char *)"[KEYBOARD]", .message = (char *)"PS/2 драйвер",