From 645e752c5a84baeb21015cdc85fc05b7d16312c8 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 11 May 2024 01:13:52 +0000 Subject: [PATCH] disable i2c1 --- kernel/arch/x86/include/asm/e820/types.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/kernel/arch/x86/include/asm/e820/types.h b/kernel/arch/x86/include/asm/e820/types.h index c3aa4b5..314f75d 100644 --- a/kernel/arch/x86/include/asm/e820/types.h +++ b/kernel/arch/x86/include/asm/e820/types.h @@ -29,6 +29,14 @@ E820_TYPE_PRAM = 12, /* + * Special-purpose memory is indicated to the system via the + * EFI_MEMORY_SP attribute. Define an e820 translation of this + * memory type for the purpose of reserving this range and + * marking it with the IORES_DESC_SOFT_RESERVED designation. + */ + E820_TYPE_SOFT_RESERVED = 0xefffffff, + + /* * Reserved RAM used by the kernel itself if * CONFIG_INTEL_TXT=y is enabled, memory of this type * will be included in the S3 integrity calculation -- Gitblit v1.6.2