/xen/xen/arch/x86/cpu/mcheck/ |
A D | mcaction.c | 8 mci_action_add_pageoffline(int bank, struct mc_info *mi, in mci_action_add_pageoffline() argument 23 rec->mc_bank = bank; in mci_action_add_pageoffline() 42 struct mcinfo_bank *bank = binfo->mib; in mc_memerr_dhandler() local 51 if ( !mc_check_addr(bank->mc_status, bank->mc_misc, MC_ADDR_PHYSICAL) ) in mc_memerr_dhandler() 58 mfn = maddr_to_mfn(bank->mc_addr); in mc_memerr_dhandler() 81 " by DOM %d\n", bank->mc_domid); in mc_memerr_dhandler() 87 BUG_ON( bank->mc_domid == DOMID_COW ); in mc_memerr_dhandler() 88 if ( bank->mc_domid != DOMID_XEN ) in mc_memerr_dhandler() 90 d = get_domain_by_id(bank->mc_domid); in mc_memerr_dhandler() 109 global->mc_domid != bank->mc_domid || in mc_memerr_dhandler() [all …]
|
A D | vmce.c | 117 v, bank, *val); in bank_mce_rdmsr() 121 if ( bank < GUEST_MC_BANK_NUM ) in bank_mce_rdmsr() 123 *val = v->arch.vmce.bank[bank].mci_status; in bank_mce_rdmsr() 133 *val = v->arch.vmce.bank[bank].mci_addr; in bank_mce_rdmsr() 143 *val = v->arch.vmce.bank[bank].mci_misc; in bank_mce_rdmsr() 256 v, bank, val); in bank_mce_wrmsr() 260 v->arch.vmce.bank[bank].mci_status = val; in bank_mce_wrmsr() 265 v, bank, val); in bank_mce_wrmsr() 269 v->arch.vmce.bank[bank].mci_addr = val; in bank_mce_wrmsr() 274 v, bank, val); in bank_mce_wrmsr() [all …]
|
A D | mce_intel.c | 991 unsigned int bank = msr - MSR_IA32_MC0_CTL2; in vmce_intel_wrmsr() local 993 if ( bank < GUEST_MC_BANK_NUM ) in vmce_intel_wrmsr() 995 v->arch.vmce.bank[bank].mci_ctl2 = val; in vmce_intel_wrmsr() 996 mce_printk(MCE_VERBOSE, "MCE: wr MC%u_CTL2 %#"PRIx64"\n", bank, val); in vmce_intel_wrmsr() 1004 unsigned int bank = msr - MSR_IA32_MC0_CTL2; in vmce_intel_rdmsr() local 1006 if ( bank < GUEST_MC_BANK_NUM ) in vmce_intel_rdmsr() 1008 *val = v->arch.vmce.bank[bank].mci_ctl2; in vmce_intel_rdmsr() 1009 mce_printk(MCE_VERBOSE, "MCE: rd MC%u_CTL2 %#"PRIx64"\n", bank, *val); in vmce_intel_rdmsr()
|
A D | mce_amd.c | 220 amd_f10_handler(struct mc_info *mi, uint16_t bank, uint64_t status) in amd_f10_handler() argument 226 if ( mi == NULL || bank != 4 ) in amd_f10_handler()
|
A D | x86_mca.h | 134 int bank; member
|
A D | mce.c | 203 static void mca_init_bank(enum mca_source who, struct mc_info *mi, int bank) in mca_init_bank() argument 217 mib->mc_status = mca_rdmsr(MSR_IA32_MCx_STATUS(bank)); in mca_init_bank() 219 mib->mc_bank = bank; in mca_init_bank() 223 mib->mc_misc = mca_rdmsr(MSR_IA32_MCx_MISC(bank)); in mca_init_bank() 226 mib->mc_addr = mca_rdmsr(MSR_IA32_MCx_ADDR(bank)); in mca_init_bank() 243 mib->mc_ctrl2 = mca_rdmsr(MSR_IA32_MC0_CTL2 + bank); in mca_init_bank() 903 m.bank = mc_bank->mc_bank; in x86_mcinfo_apei_save() 1770 binfo.bank = binfo.mib->mc_bank; in mce_action()
|
A D | mce.h | 217 uint8_t bank; /* machine check bank */ member
|
/xen/xen/arch/arm/ |
A D | setup.c | 557 int bank; in init_pdx() local 559 for ( bank = 0 ; bank < bootinfo.mem.nr_banks; bank++ ) in init_pdx() 561 bank_start = bootinfo.mem.bank[bank].start; in init_pdx() 562 bank_size = bootinfo.mem.bank[bank].size; in init_pdx() 567 for ( bank = 0 ; bank < bootinfo.mem.nr_banks; bank++ ) in init_pdx() 569 bank_start = bootinfo.mem.bank[bank].start; in init_pdx() 570 bank_size = bootinfo.mem.bank[bank].size; in init_pdx() 578 for ( bank = 0 ; bank < bootinfo.mem.nr_banks; bank++ ) in init_pdx() 580 bank_start = bootinfo.mem.bank[bank].start; in init_pdx() 581 bank_size = bootinfo.mem.bank[bank].size; in init_pdx() [all …]
|
A D | domain_build.c | 150 struct membank *bank = &kinfo->mem.bank[i]; in insert_11_bank() local 161 if ( start == bank->start + bank->size ) in insert_11_bank() 175 memmove(bank + 1, bank, in insert_11_bank() 186 struct membank *bank = &kinfo->mem.bank[kinfo->mem.nr_banks]; in insert_11_bank() local 188 bank->start = start; in insert_11_bank() 189 bank->size = size; in insert_11_bank() 377 kinfo->mem.bank[i].start + kinfo->mem.bank[i].size, in allocate_memory_11() 390 struct membank *bank; in allocate_bank_memory() local 393 bank = &kinfo->mem.bank[kinfo->mem.nr_banks]; in allocate_bank_memory() 395 bank->size = tot_size; in allocate_bank_memory() [all …]
|
A D | bootfdt.c | 169 mem->bank[mem->nr_banks].start = start; in process_memory_node() 170 mem->bank[mem->nr_banks].size = size; in process_memory_node() 364 mi->bank[i].start, in early_print_info() 365 mi->bank[i].start + mi->bank[i].size - 1); in early_print_info() 387 mem_resv->bank[j].start, in early_print_info() 388 mem_resv->bank[j].start + mem_resv->bank[j].size - 1); in early_print_info()
|
A D | kernel.c | 79 const paddr_t rambase = info->mem.bank[0].start; in place_modules() 80 const paddr_t ramsize = info->mem.bank[0].size; in place_modules() 129 return info->mem.bank[0].start + info->zimage.text_offset; in kernel_zimage_place() 142 load_end = info->mem.bank[0].start + info->mem.bank[0].size; in kernel_zimage_place() 143 load_end = MIN(info->mem.bank[0].start + MB(128), load_end); in kernel_zimage_place()
|
/xen/tools/tests/mce-test/tools/ |
A D | xen-mceinj.c | 64 unsigned int bank; member 75 .bank = 7, 83 .bank = 8, 91 .bank = 9, 100 .bank = 1, 108 .bank = 7, 260 addr = MSR_IA32_MC0_CTL2 + bank; in bank_addr() 312 msr = bank_addr(bank, type); in add_msr_bank_intpose() 329 uint64_t bank, in inject_mci_status() argument 339 uint64_t bank, in inject_mci_misc() argument [all …]
|
/xen/xen/arch/arm/efi/ |
A D | efi-dom0.c | 123 mem->bank[i].start, mem->bank[i].size); in acpi_create_efi_mmap_table() 127 bootinfo.acpi.bank[i].start, in acpi_create_efi_mmap_table() 128 bootinfo.acpi.bank[i].size); in acpi_create_efi_mmap_table()
|
A D | efi-boot.h | 129 struct membank *bank; in meminfo_add_bank() local 134 bank = &mem->bank[mem->nr_banks]; in meminfo_add_bank() 135 bank->start = desc->PhysicalStart; in meminfo_add_bank() 136 bank->size = desc->NumberOfPages * EFI_PAGE_SIZE; in meminfo_add_bank()
|
/xen/xen/include/asm-x86/ |
A D | mce.h | 33 struct vmce_bank bank[GUEST_MC_BANK_NUM]; member
|
/xen/tools/firmware/vgabios/ |
A D | vbe_display_api.txt | 218 If you want to set a pixel you can calculate its bank by doing: 221 bank = offset / 64 Kb (rounded 1.9999 -> 1) 223 bank_pixel_pos = offset - bank * 64Kb 225 Now you can set the current bank and put the pixel at VBE_DISPI_BANK_ADDRESS + bank_pixel_pos
|
A D | clext.c | 913 mov al, #0x0 ;; XXX size of bank in K 1084 mov al, bl ;; bl=bank number 1093 mov al, bl ;; bl=bank number 1560 ;; Instead, use a magic register sequence to write the whole bank. 1572 out dx, ax ;; Low byte of value to be written to the bank
|
A D | ChangeLog | 129 - VBE set bank functions failure handling added 143 - bank pointer must be set to 0 after a mode set 258 - use single bank mode for VBE
|
/xen/xen/include/asm-arm/ |
A D | setup.h | 31 struct membank bank[NR_MEM_BANKS]; member
|
/xen/xen/arch/x86/ |
A D | domctl.c | 845 evc->vmce.mci_ctl2_bank0 = v->arch.vmce.bank[0].mci_ctl2; in arch_do_domctl() 846 evc->vmce.mci_ctl2_bank1 = v->arch.vmce.bank[1].mci_ctl2; in arch_do_domctl()
|