cregit-Linux how code gets into the kernel

Release 4.14 arch/x86/kernel/platform-quirks.c

Directory: arch/x86/kernel
// 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

PersonTokensPropCommitsCommitProp
Luis R. Rodriguez9371.54%571.43%
Dmitry Torokhov3526.92%114.29%
Ingo Molnar21.54%114.29%
Total130100.00%7100.00%

#if defined(CONFIG_PNPBIOS)
bool __init arch_pnpbios_disabled(void) { return x86_platform.legacy.devices.pnpbios == 0; }

Contributors

PersonTokensPropCommitsCommitProp
Luis R. Rodriguez19100.00%1100.00%
Total19100.00%1100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Luis R. Rodriguez13277.65%562.50%
Dmitry Torokhov3520.59%112.50%
Ingo Molnar21.18%112.50%
Greg Kroah-Hartman10.59%112.50%
Total170100.00%8100.00%
Directory: arch/x86/kernel
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.