/qemu/hw/uefi/ |
H A D | var-service-vars.c | 46 VMSTATE_UINT32(attributes, uefi_variable), 78 uint32_t attributes) in add_variable() argument 87 var->attributes = attributes; in add_variable() 89 var->attributes &= ~EFI_VARIABLE_APPEND_WRITE; in add_variable() 121 uint32_t attributes, in uefi_vars_set_variable() argument 134 new_var = add_variable(uv, guid, name, name_size, attributes); in uefi_vars_set_variable() 146 if (var->attributes & EFI_VARIABLE_NON_VOLATILE) { in uefi_vars_clear_volatile() 177 if (!(var->attributes & EFI_VARIABLE_BOOTSERVICE_ACCESS)) { in check_access() 181 if (!(var->attributes & EFI_VARIABLE_RUNTIME_ACCESS)) { in check_access() 200 if (new_var->attributes & ~EFI_VARIABLE_ATTRIBUTE_SUPPORTED) { in check_update() [all …]
|
H A D | var-service-json.c | 61 if (!(var->attributes & EFI_VARIABLE_NON_VOLATILE)) { in uefi_vars_to_qapi() 69 v->attr = var->attributes; in uefi_vars_to_qapi() 73 if (var->attributes & in uefi_vars_to_qapi() 121 var->attributes = v->attr; in uefi_vars_from_qapi()
|
/qemu/hw/ufs/ |
H A D | ufs.c | 849 uint16_t ee_status = be16_to_cpu(u->attributes.exception_event_status); in ufs_update_ee_status() 850 uint8_t high_temp_thresh = u->attributes.device_too_high_temp_boundary; in ufs_update_ee_status() 851 uint8_t low_temp_thresh = u->attributes.device_too_low_temp_boundary; in ufs_update_ee_status() 865 u->attributes.exception_event_status = cpu_to_be16(ee_status); in ufs_update_ee_status() 870 uint16_t ee_control = be16_to_cpu(u->attributes.exception_event_control); in ufs_check_exception_event_alert() 879 ee_status = be16_to_cpu(u->attributes.exception_event_status); in ufs_check_exception_event_alert() 1093 uint16_t ee_control = be16_to_cpu(u->attributes.exception_event_control); in ufs_read_device_temp() 1112 return u->attributes.boot_lun_en; in ufs_read_attr_value() 1114 return u->attributes.current_power_mode; in ufs_read_attr_value() 1116 return u->attributes.active_icc_level; in ufs_read_attr_value() [all …]
|
/qemu/target/hexagon/imported/ |
H A D | macros.def | 51 /* optional attributes */ 57 /* optional attributes */ 63 /* optional attributes */ 577 /* optional attributes */ 588 /* optional attributes */ 594 /* optional attributes */ 600 /* optional attributes */ 606 /* optional attributes */ 612 /* optional attributes */ 618 /* optional attributes */ [all …]
|
/qemu/include/exec/ |
H A D | memattrs.h | 2 * Memory transaction attributes 18 * attributes. Some of these are generic (such as the ID of 58 * Bus masters which don't specify any attributes will get this 60 * distinguish "all attributes deliberately clear" from 72 /* Bus masters which don't specify any attributes will get this, 74 * (so that we can distinguish "all attributes deliberately clear"
|
H A D | cputlb.h | 51 * address and attributes for the translation. 65 * @attrs: memory transaction attributes 72 * transaction attributes. This is generally called by the target CPU 75 * the physical address and attributes for the virtual address 91 * as a convenience for CPUs which don't use memory transaction attributes.
|
/qemu/tests/qemu-iotests/ |
H A D | fat16.py | 61 # pylint: disable=too-many-instance-attributes 140 # pylint: disable=too-many-instance-attributes 144 self.attributes = data[11] 165 + self.attributes.to_bytes(1, "little") 188 f"Attributes: {self.attributes}\n" 392 self, cluster: Optional[int], name: str, ext: str, attributes: int 408 assert attributes % 0x15 != 0x15, "Invalid attributes" 414 new_entry.attributes = attributes 491 if current_entry.attributes & 0x10 == 0: 506 if entry.attributes & 0x10 != 0: [all …]
|
/qemu/docs/system/s390x/ |
H A D | cpu-topology.rst | 11 Each of these CPU entries consists of a bitmap and three CPU attributes: 18 attributes. 21 how to enable it and explains the new CPU attributes. 59 If none of the containers attributes (drawers, books, sockets) are 83 tree topology attributes must all be defined or all not defined. 95 If none of the tree attributes (drawer, book, sockets), are specified 97 command argument the topology tree attributes will be set by simply 105 When the topology modifier attributes are not defined for the
|
/qemu/docs/system/i386/ |
H A D | tdx.rst | 43 - Attributes: 63 attributes, XFAM and CPUIDs. 65 TD attributes 68 QEMU supports configuring raw 64-bit TD attributes directly via "attributes" 131 Bit 0 of TD attributes, is DEBUG bit, which decides if the TD runs in off-TD
|
/qemu/target/hexagon/ |
H A D | gen_semantics.c | 61 fprintf(outfile, "ATTRIBUTES( \\\n" \ in main() 75 fprintf(outfile, "ATTRIBUTES( \\\n" \ in main() 93 * The important part here is the attributes. Whenever an instruction in main() 94 * invokes a macro, we add the macro's attributes to the instruction. in main()
|
H A D | gen_op_attribs.py | 29 "Emit opaque macro calls containing instruction attributes" 38 ## Generate all the attributes associated with each instruction
|
/qemu/hw/s390x/ |
H A D | cpu-topology.c | 167 * Setup the default topology if no attributes are already set. 168 * Passing a CPU with some, but not all, attributes set is considered 187 /* All geometry topology attributes must be set or all unset */ in s390_topology_cpu_default() 191 "Please define all or none of the topology geometry attributes"); in s390_topology_cpu_default() 228 * attributes fits inside the system topology. 273 * tree or the topology attributes change. 310 * Called from CPU hotplug to check and setup the CPU attributes 376 /* Get attributes not provided from cpu and verify the new topology */ in s390_change_topology()
|
H A D | s390-stattrib.c | 2 * s390 storage attributes device 17 #include "hw/s390x/storage-attributes.h" 95 monitor_printf(mon, " CMMA attributes, " in hmp_info_cmma() 141 error_report("Error %d while setting storage attributes", ret); in cmma_load() 147 error_report("Storage attributes data is incomplete"); in cmma_load() 212 error_report("Could not allocate memory to save storage attributes"); in cmma_save()
|
H A D | s390-stattrib-kvm.c | 2 * s390 storage attributes device -- KVM object 15 #include "hw/s390x/storage-attributes.h" 92 error_report("Out of memory bounds when setting storage attributes"); in kvm_s390_stattrib_set_stattr()
|
/qemu/tests/unit/ |
H A D | ptimer-test-stubs.c | 39 int scale, int attributes, in timer_init_full() argument 49 ts->attributes = attributes; in timer_init_full()
|
/qemu/include/qemu/ |
H A D | timer.h | 56 * QEMU Timer attributes: 58 * An individual timer may be given one or multiple attributes when initialized. 59 * Each attribute corresponds to one bit. Attributes modify the processing 62 * The following attributes are available: 65 * QEMU_TIMER_ATTR_ALL: mask for all existing attributes 90 int attributes; member 182 * @attr_mask: mask for the timer attributes that are included 401 * @attributes: 0, or one or more OR'ed QEMU_TIMER_ATTR_<id> values 405 * Initialise a timer with the given scale and attributes, 415 int scale, int attributes, [all …]
|
/qemu/include/hw/core/ |
H A D | sysemu-cpu-ops.h | 38 * and the associated memory transaction attributes to use for the 40 * CPUs which use memory transaction attributes should implement this 47 * a memory access with the specified memory transaction attributes.
|
/qemu/target/i386/kvm/ |
H A D | tdx.c | 347 flags = entry->attributes & TDVF_SECTION_ATTRIBUTES_MR_EXTEND ? in tdx_finalize_vm() 895 if ((tdx->attributes & ~tdx_caps->supported_attrs)) { in tdx_validate_attributes() 896 error_setg(errp, "Invalid attributes 0x%"PRIx64" for TDX VM " in tdx_validate_attributes() 897 "(KVM supported: 0x%"PRIx64")", tdx->attributes, in tdx_validate_attributes() 902 if (tdx->attributes & ~TDX_SUPPORTED_TD_ATTRS) { in tdx_validate_attributes() 905 tdx->attributes, (uint64_t)TDX_SUPPORTED_TD_ATTRS); in tdx_validate_attributes() 916 tdx_guest->attributes |= (env->features[FEAT_7_0_ECX] & CPUID_7_0_ECX_PKS) ? in setup_td_guest_attributes() 918 tdx_guest->attributes |= x86cpu->enable_pmu ? TDX_TD_ATTRIBUTES_PERFMON : 0; in setup_td_guest_attributes() 1074 init_vm->attributes = tdx_guest->attributes; in tdx_pre_create_vcpu() 1183 return !!(tdx->attributes & TDX_TD_ATTRIBUTES_SEPT_VE_DISABLE); in tdx_guest_get_sept_ve_disable() [all …]
|
H A D | trace-events | 8 …uint64_t gpa, uint64_t size, uint64_t attributes, uint64_t flags) "gpa 0x%" PRIx64 " size 0x%" PRI…
|
H A D | tdx.h | 41 uint64_t attributes; /* TD attributes */ member
|
/qemu/linux-headers/asm-s390/ |
H A D | kvm.h | 392 /* kvm attributes for mem_ctrl */ 399 /* kvm attributes for KVM_S390_VM_TOD */ 409 /* kvm attributes for KVM_S390_VM_CPU_MODEL */ 410 /* processor related attributes are r/w */ 419 /* machine related attributes are r/o */ 492 /* kvm attributes for crypto */ 500 /* kvm attributes for migration mode */
|
/qemu/rust/qemu-api/src/ |
H A D | timer.rs | 47 /// Create a new timer with the given attributes. 53 attributes: u32, in init_full() 82 attributes as c_int, in init_full()
|
/qemu/include/system/ |
H A D | dma.h | 122 * @attrs: memory transaction attributes 144 * @attrs: memory transaction attributes 165 * @attrs: memory transaction attributes 186 * @attrs: memory transaction attributes 203 * @attrs: memory attributes
|
/qemu/tests/tcg/arm/system/ |
H A D | boot.S | 84 * TEX[14:12] - Memory Region Attributes 89 * C[3] - Memory Region Attributes 90 * B[2] - Memory Region Attributes 165 * attributes so we don't need to either.
|
/qemu/hw/i386/ |
H A D | tdvf.c | 32 uint32_t Attributes; member 100 entry->attributes = le32_to_cpu(src->Attributes); in tdvf_parse_and_check_section_entry()
|