// SPDX-License-Identifier: GPL-2.0 #include <linux/kernel.h> #include <linux/init.h> #include <asm/setup.h> #include <asm/bios_ebda.h>
void __init x86_early_init_platform_quirks(void) { x86_platform.legacy.i8042 = X86_LEGACY_I8042_EXPECTED_PRESENT; x86_platform.legacy.rtc = 1; x86_platform.legacy.reserve_bios_regions = 0; x86_platform.legacy.devices.pnpbios = 1; switch (boot_params.hdr.hardware_subarch) { case X86_SUBARCH_PC: x86_platform.legacy.reserve_bios_regions = 1; break; case X86_SUBARCH_XEN: x86_platform.legacy.devices.pnpbios = 0; x86_platform.legacy.rtc = 0; break; case X86_SUBARCH_INTEL_MID: case X86_SUBARCH_CE4100: x86_platform.legacy.devices.pnpbios = 0; x86_platform.legacy.rtc = 0; x86_platform.legacy.i8042 = X86_LEGACY_I8042_PLATFORM_ABSENT; break; } if (x86_platform.set_legacy_features) x86_platform.set_legacy_features(); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Luis R. Rodriguez | 93 | 71.54% | 5 | 71.43% |
Dmitry Torokhov | 35 | 26.92% | 1 | 14.29% |
Ingo Molnar | 2 | 1.54% | 1 | 14.29% |
Total | 130 | 100.00% | 7 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Luis R. Rodriguez | 19 | 100.00% | 1 | 100.00% |
Total | 19 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Luis R. Rodriguez | 132 | 77.65% | 5 | 62.50% |
Dmitry Torokhov | 35 | 20.59% | 1 | 12.50% |
Ingo Molnar | 2 | 1.18% | 1 | 12.50% |
Greg Kroah-Hartman | 1 | 0.59% | 1 | 12.50% |
Total | 170 | 100.00% | 8 | 100.00% |