예제 #1
0
void __init sfi_init_late(void)
{
	int length;

	if (sfi_disabled)
		return;

	length = syst_va->header.len;
	sfi_unmap_memory(syst_va, sizeof(struct sfi_table_simple));

	/* Use memremap now after it is ready */
	sfi_use_memremap = 1;
	syst_va = sfi_map_memory(syst_pa, length);

	sfi_acpi_init();
}
예제 #2
0
void __init sfi_init_late(void)
{
	int length;

	if (sfi_disabled)
		return;

	length = syst_va->header.len;
	sfi_unmap_memory(syst_va, sizeof(struct sfi_table_simple));

	/* Use ioremap now after it is ready */
	sfi_use_ioremap = 1;
#ifdef CONFIG_X86_EARLYMIC
	/* E820 does not mark page reserved */
	memblock_reserve(0x92000, PAGE_SIZE);
	/* needed for ioremap */
	SetPageReserved(pfn_to_page(0x92));
#endif
	syst_va = sfi_map_memory(syst_pa, length);

	sfi_acpi_init();
}