cregit-Linux how code gets into the kernel

Release 4.14 arch/x86/include/asm/bios_ebda.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_X86_BIOS_EBDA_H

#define _ASM_X86_BIOS_EBDA_H

#include <asm/io.h>

/*
 * Returns physical address of EBDA.  Returns 0 if there is no EBDA.
 */

static inline unsigned int get_bios_ebda(void) { /* * There is a real-mode segmented pointer pointing to the * 4K EBDA area at 0x40E. */ unsigned int address = *(unsigned short *)phys_to_virt(0x40E); address <<= 4; return address; /* 0 means none */ }

Contributors

PersonTokensPropCommitsCommitProp
Alan Cox3397.06%150.00%
Mike Waychison12.94%150.00%
Total34100.00%2100.00%

void reserve_bios_regions(void); #ifdef CONFIG_X86_CHECK_BIOS_CORRUPTION /* * This is obviously not a great place for this, but we want to be * able to scatter it around anywhere in the kernel. */ void check_for_bios_corruption(void); void start_periodic_check_for_corruption(void); #else
static inline void check_for_bios_corruption(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Ingo Molnar8100.00%1100.00%
Total8100.00%1100.00%


static inline void start_periodic_check_for_corruption(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Ingo Molnar8100.00%1100.00%
Total8100.00%1100.00%

#endif #endif /* _ASM_X86_BIOS_EBDA_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Alan Cox3943.33%112.50%
Ingo Molnar3741.11%225.00%
Huang Ying55.56%112.50%
Akinobu Mita33.33%112.50%
H. Peter Anvin33.33%112.50%
Mike Waychison22.22%112.50%
Greg Kroah-Hartman11.11%112.50%
Total90100.00%8100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.