/xen-4.10.0-shim-comet/tools/firmware/rombios/32bit/ |
A D | util.c | 412 char *rsdp = (char *)start; in __find_rsdp() local 413 char *end = rsdp + len; in __find_rsdp() 415 while (rsdp < end) { in __find_rsdp() 417 if (!strncmp(rsdp, "RSD PTR ", 8)) in __find_rsdp() 418 return (struct acpi_20_rsdp *)rsdp; in __find_rsdp() 419 rsdp += 0x10; in __find_rsdp() 426 struct acpi_20_rsdp *rsdp; in find_rsdp() local 431 if (!rsdp) in find_rsdp() 434 return rsdp; in find_rsdp() 439 struct acpi_20_rsdp *rsdp = find_rsdp(); in get_s3_waking_vector() local [all …]
|
/xen-4.10.0-shim-comet/xen/drivers/acpi/tables/ |
A D | tbutils.c | 365 struct acpi_table_rsdp *rsdp; in acpi_tb_parse_root_table() local 381 rsdp = acpi_os_map_memory(rsdp_address, sizeof(struct acpi_table_rsdp)); in acpi_tb_parse_root_table() 382 if (!rsdp) { in acpi_tb_parse_root_table() 388 rsdp)); in acpi_tb_parse_root_table() 392 if (rsdp->revision > 1 && rsdp->xsdt_physical_address) { in acpi_tb_parse_root_table() 398 address = (acpi_physical_address) rsdp->xsdt_physical_address; in acpi_tb_parse_root_table() 401 rsdp->rsdt_physical_address; in acpi_tb_parse_root_table() 405 address = (acpi_physical_address) rsdp->rsdt_physical_address; in acpi_tb_parse_root_table() 413 acpi_os_unmap_memory(rsdp, sizeof(struct acpi_table_rsdp)); in acpi_tb_parse_root_table()
|
A D | tbxfroot.c | 66 static acpi_status __init acpi_tb_validate_rsdp(struct acpi_table_rsdp *rsdp) in acpi_tb_validate_rsdp() argument 76 if (ACPI_STRNCMP((char *)rsdp, ACPI_SIG_RSDP, sizeof(ACPI_SIG_RSDP) - 1) in acpi_tb_validate_rsdp() 86 if (acpi_tb_checksum((u8 *) rsdp, ACPI_RSDP_CHECKSUM_LENGTH) != 0) { in acpi_tb_validate_rsdp() 92 if ((rsdp->revision >= 2) && in acpi_tb_validate_rsdp() 93 (acpi_tb_checksum((u8 *) rsdp, ACPI_RSDP_XCHECKSUM_LENGTH) != 0)) { in acpi_tb_validate_rsdp()
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/ |
A D | dom0_build.c | 822 struct acpi_table_rsdp *rsdp; in pvh_setup_acpi_xsdt() local 860 rsdp = acpi_os_map_memory(acpi_os_get_root_pointer(), sizeof(*rsdp)); in pvh_setup_acpi_xsdt() 861 if ( !rsdp ) in pvh_setup_acpi_xsdt() 867 xsdt_paddr = rsdp->xsdt_physical_address; in pvh_setup_acpi_xsdt() 868 acpi_os_unmap_memory(rsdp, sizeof(*rsdp)); in pvh_setup_acpi_xsdt() 936 .length = sizeof(rsdp), in pvh_setup_acpi() 993 memcpy(rsdp.oem_id, native_rsdp->oem_id, sizeof(rsdp.oem_id)); in pvh_setup_acpi() 995 rsdp.xsdt_physical_address = xsdt_paddr; in pvh_setup_acpi() 1000 rsdp.checksum -= acpi_tb_checksum(ACPI_CAST_PTR(u8, &rsdp), in pvh_setup_acpi() 1002 rsdp.extended_checksum -= acpi_tb_checksum(ACPI_CAST_PTR(u8, &rsdp), in pvh_setup_acpi() [all …]
|
/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl_arm_acpi.c | 190 struct acpi_table_rsdp *rsdp = (void *)dom->acpi_modules[0].data + offset; in make_acpi_rsdp() local 192 memcpy(rsdp->signature, "RSD PTR ", sizeof(rsdp->signature)); in make_acpi_rsdp() 193 memcpy(rsdp->oem_id, ACPI_OEM_ID, sizeof(rsdp->oem_id)); in make_acpi_rsdp() 194 rsdp->length = acpitables[RSDP].size; in make_acpi_rsdp() 195 rsdp->revision = 0x02; in make_acpi_rsdp() 196 rsdp->xsdt_physical_address = acpitables[XSDT].addr; in make_acpi_rsdp() 197 calculate_checksum(rsdp, in make_acpi_rsdp()
|
A D | libxl_x86_acpi.c | 191 config.rsdp = (unsigned long)libxl__malloc(gc, libxl_ctxt.page_size); in libxl__dom_load_acpi() 221 dom->acpi_modules[0].data = (void *)config.rsdp; in libxl__dom_load_acpi()
|
/xen-4.10.0-shim-comet/tools/firmware/hvmloader/ |
A D | seabios.c | 91 uint32_t rsdp = (uint32_t)scratch_alloc(sizeof(struct acpi_20_rsdp), 0); in seabios_acpi_build_tables() local 99 hvmloader_acpi_build_tables(&config, rsdp); in seabios_acpi_build_tables() 100 add_table(rsdp); in seabios_acpi_build_tables()
|
A D | util.c | 986 config->rsdp = physical; in hvmloader_acpi_build_tables()
|
/xen-4.10.0-shim-comet/tools/libacpi/ |
A D | build.c | 514 struct acpi_20_rsdp *rsdp; in acpi_build_tables() local 672 rsdp = (struct acpi_20_rsdp *)config->rsdp; in acpi_build_tables() 674 memcpy(rsdp, &Rsdp, sizeof(struct acpi_20_rsdp)); in acpi_build_tables() 675 rsdp->rsdt_address = ctxt->mem_ops.v2p(ctxt, rsdt); in acpi_build_tables() 676 rsdp->xsdt_address = ctxt->mem_ops.v2p(ctxt, xsdt); in acpi_build_tables() 677 set_checksum(rsdp, in acpi_build_tables() 680 set_checksum(rsdp, in acpi_build_tables()
|
A D | libacpi.h | 91 unsigned long rsdp; member
|
/xen-4.10.0-shim-comet/xen/arch/arm/ |
A D | domain_build.c | 1570 struct acpi_table_rsdp *rsdp = NULL; in acpi_create_rsdp() local 1582 rsdp = acpi_os_map_memory(addr, table_size); in acpi_create_rsdp() 1585 memcpy(base_ptr, rsdp, table_size); in acpi_create_rsdp() 1586 acpi_os_unmap_memory(rsdp, table_size); in acpi_create_rsdp() 1588 rsdp = (struct acpi_table_rsdp *)base_ptr; in acpi_create_rsdp() 1590 rsdp->xsdt_physical_address = tbl_add[TBL_XSDT].start; in acpi_create_rsdp() 1591 checksum = acpi_tb_checksum(ACPI_CAST_PTR(u8, rsdp), table_size); in acpi_create_rsdp() 1592 rsdp->checksum = rsdp->checksum - checksum; in acpi_create_rsdp()
|
/xen-4.10.0-shim-comet/tools/firmware/rombios/32bit/tcgbios/ |
A D | tcgbios.c | 268 struct acpi_20_rsdp *rsdp; in tcpa_acpi_init() local 276 rsdp = find_rsdp(); in tcpa_acpi_init() 277 if (rsdp) { in tcpa_acpi_init() 280 rsdt = (struct acpi_20_rsdt *)rsdp->rsdt_address; in tcpa_acpi_init()
|
/xen-4.10.0-shim-comet/docs/misc/ |
A D | pvh.markdown | 71 info structure that's passed at boot time (field rsdp\_paddr).
|