/* * Returns physical address of EBDA. Returns 0 if there is no EBDA.
*/ staticinlineunsignedint get_bios_ebda(void)
{ /* * There is a real-mode segmented pointer pointing to the * 4K EBDA area at 0x40E.
*/ unsignedint address = *(unsignedshort *)phys_to_virt(0x40E);
address <<= 4; return address; /* 0 means none */
}
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 staticinlinevoid check_for_bios_corruption(void)
{
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.