Home
last modified time | relevance | path

Searched refs:acpi_slit (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/arch/ia64/sn/fakeprom/
Dfw-emu.c472 static struct acpi_table_slit *acpi_slit; in sys_fw_init() local
525 acpi_slit = (void *) cp; cp += ALIGN8(sizeof(*acpi_slit) + 8 + (max_nasid+1)*(max_nasid+1)); in sys_fw_init()
599 acpi_xsdt->entry[1] = __fwtab_pa(base_nasid, acpi_slit); in sys_fw_init()
666 acpi_table_initx(&acpi_slit->header, SLIT_SIG, 4, ACPI_SLIT_REVISION, 1); in sys_fw_init()
667 acpi_slit->localities = PROXIMITY_DOMAIN(max_nasid)+1; in sys_fw_init()
668 cp=acpi_slit->entry; in sys_fw_init()
669 memset(cp, 255, acpi_slit->localities*acpi_slit->localities); in sys_fw_init()
676 *(cp+PROXIMITY_DOMAIN(i)*acpi_slit->localities+PROXIMITY_DOMAIN(j)) = 10 + MIN(254, 5*ABS(i-j)); in sys_fw_init()
678 cp = acpi_slit->entry + acpi_slit->localities*acpi_slit->localities; in sys_fw_init()
679 acpi_checksum(&acpi_slit->header, cp - (char*)acpi_slit); in sys_fw_init()