aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/t2linux.patch
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2024-04-11 21:09:51 +0200
committerJan200101 <sentrycraft123@gmail.com>2024-04-11 21:09:51 +0200
commit0ec2c70c362a52aa5b9081e3a1ae47b4a6d82731 (patch)
tree530ebd4e7ae182c8c920783f34befb85df6a2639 /SOURCES/t2linux.patch
parent8076e146c5177c5cdcf96d767b0687deb6f380f5 (diff)
downloadkernel-fsync-0ec2c70c362a52aa5b9081e3a1ae47b4a6d82731.tar.gz
kernel-fsync-0ec2c70c362a52aa5b9081e3a1ae47b4a6d82731.zip
kernel 6.8.5
Diffstat (limited to 'SOURCES/t2linux.patch')
-rw-r--r--SOURCES/t2linux.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/SOURCES/t2linux.patch b/SOURCES/t2linux.patch
index e167e73..dc2e561 100644
--- a/SOURCES/t2linux.patch
+++ b/SOURCES/t2linux.patch
@@ -8714,7 +8714,7 @@ index bfa30625f..3d99acc1a 100644
static bool efi_noinitrd;
static bool efi_nosoftreserve;
-@@ -73,6 +74,8 @@ efi_status_t efi_parse_options(char const *cmdline)
+@@ -75,6 +76,8 @@
efi_loglevel = CONSOLE_LOGLEVEL_QUIET;
} else if (!strcmp(param, "noinitrd")) {
efi_noinitrd = true;
@@ -8722,19 +8722,19 @@ index bfa30625f..3d99acc1a 100644
+ efi_apple_set_os = true;
} else if (IS_ENABLED(CONFIG_X86_64) && !strcmp(param, "no5lvl")) {
efi_no5lvl = true;
- } else if (!strcmp(param, "efi") && val) {
+ } else if (IS_ENABLED(CONFIG_ARCH_HAS_MEM_ENCRYPT) &&
diff --git a/drivers/firmware/efi/libstub/efistub.h b/drivers/firmware/efi/libstub/efistub.h
index 212687c30..21b414d09 100644
--- a/drivers/firmware/efi/libstub/efistub.h
+++ b/drivers/firmware/efi/libstub/efistub.h
-@@ -38,6 +38,7 @@ extern bool efi_nochunk;
- extern bool efi_nokaslr;
+@@ -39,6 +39,7 @@
extern int efi_loglevel;
+ extern int efi_mem_encrypt;
extern bool efi_novamap;
+extern bool efi_apple_set_os;
-
extern const efi_system_table_t *efi_system_table;
+ typedef union efi_dxe_services_table efi_dxe_services_table_t;
@@ -825,6 +826,19 @@ union apple_properties_protocol {
} mixed_mode;
};