From a5969cabbb4660eab42b6ef0412cbbd1200cf14d Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 12 Oct 2024 07:10:09 +0000 Subject: [PATCH] 修改led为gpio --- kernel/arch/x86/include/asm/bootparam_utils.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/kernel/arch/x86/include/asm/bootparam_utils.h b/kernel/arch/x86/include/asm/bootparam_utils.h index 8fa49cf..981fe92 100644 --- a/kernel/arch/x86/include/asm/bootparam_utils.h +++ b/kernel/arch/x86/include/asm/bootparam_utils.h @@ -38,7 +38,7 @@ * IMPORTANT NOTE TO BOOTLOADER AUTHORS: do not simply clear * this field. The purpose of this field is to guarantee * compliance with the x86 boot spec located in - * Documentation/x86/boot.txt . That spec says that the + * Documentation/x86/boot.rst . That spec says that the * *whole* structure should be cleared, after which only the * portion defined by struct setup_header (boot_params->hdr) * should be copied in. @@ -49,7 +49,6 @@ * problems again. */ if (boot_params->sentinel) { - /* fields in boot_params are left uninitialized, clear them */ static struct boot_params scratch; char *bp_base = (char *)boot_params; char *save_base = (char *)&scratch; -- Gitblit v1.6.2