From 13d933aad9feea3e767e20ada908c9f656acb4e9 Mon Sep 17 00:00:00 2001 From: pointer-to-bios Date: Tue, 16 Jan 2024 01:38:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=86=97=E4=BD=99=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libk/multiboot2/bootinfo.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libk/multiboot2/bootinfo.c b/src/libk/multiboot2/bootinfo.c index 26e6c3b..9ab7514 100644 --- a/src/libk/multiboot2/bootinfo.c +++ b/src/libk/multiboot2/bootinfo.c @@ -7,9 +7,6 @@ typedef struct __bootinfo_next_result_t void *addr; } bootinfo_next_result_t; -u32 mbi_record[32]; -u32 mbirc = 0; - /** * @brief * @@ -43,7 +40,6 @@ void bootinfo_new(bootinfo_t *bootinfo, void *bootinfo_addr) memset(bootinfo->map_counts, 0, sizeof(bootinfo->map_counts)); while ((bootinfo_next(bootinfo, &res), res.type)) { - mbi_record[mbirc++] = res.type; if (res.type == BOOTINFO_EFI_BOOTSERVICE_NOT_TERMINATED_TYPE) { bootinfo->map_counts[res.type] = true;