Home
last modified time | relevance | path

Searched refs:uint32_t (Results 1 – 25 of 192) sorted by relevance

12345678

/hypervisor/boot/include/
A Dmultiboot_std.h54 uint32_t magic;
57 uint32_t flags;
71 uint32_t width;
73 uint32_t depth;
82 uint32_t size;
85 uint32_t type;
205 uint32_t type;
206 uint32_t zero;
210 uint32_t type;
211 uint32_t size;
[all …]
A Delf.h101 uint32_t sh_name; /*Section name */
149 uint32_t sh_name;
150 uint32_t sh_type;
151 uint32_t sh_flags;
152 uint32_t sh_addr;
153 uint32_t sh_offset;
154 uint32_t sh_size;
155 uint32_t sh_link;
156 uint32_t sh_info;
157 uint32_t sh_addralign;
[all …]
A Dacpi.h76 uint32_t length;
86 uint32_t oem_revision;
105 uint32_t length;
155 uint32_t reserved;
162 uint32_t address;
163 uint32_t flags;
192 uint32_t addr;
193 uint32_t gsi_base;
238 uint32_t start_method;
241 uint32_t laml;
[all …]
/hypervisor/dm/vpci/
A Dvpci_priv.h54 static inline bool in_range(uint32_t value, uint32_t lower, uint32_t len) in in_range()
151 void write_vmsi_cap_reg(struct pci_vdev *vdev, uint32_t offset, uint32_t bytes, uint32_t val);
156 void read_vmsix_cap_reg(struct pci_vdev *vdev, uint32_t offset, uint32_t bytes, uint32_t *val);
157 bool write_vmsix_cap_reg(struct pci_vdev *vdev, uint32_t offset, uint32_t bytes, uint32_t val);
158 void read_pt_vmsix_cap_reg(struct pci_vdev *vdev, uint32_t offset, uint32_t bytes, uint32_t *val);
159 void write_pt_vmsix_cap_reg(struct pci_vdev *vdev, uint32_t offset, uint32_t bytes, uint32_t val);
166 void write_vmsix_cap_reg_on_msi(struct pci_vdev *vdev, uint32_t offset, uint32_t bytes, uint32_t va…
170 void read_sriov_cap_reg(const struct pci_vdev *vdev, uint32_t offset, uint32_t bytes, uint32_t *val…
171 void write_sriov_cap_reg(struct pci_vdev *vdev, uint32_t offset, uint32_t bytes, uint32_t val);
174 uint32_t pci_vdev_read_vcfg(const struct pci_vdev *vdev, uint32_t offset, uint32_t bytes);
[all …]
/hypervisor/include/arch/x86/asm/
A Dioapic.h17 uint32_t addr; /* IOAPIC Register address */
24 bool is_ioapic_irq(uint32_t irq);
25 uint32_t gsi_to_ioapic_pin(uint32_t gsi);
27 uint8_t ioapic_irq_to_ioapic_id(uint32_t irq);
46 uint32_t ioapic_gsi_to_irq(uint32_t gsi);
88 void ioapic_gsi_mask_irq(uint32_t irq);
89 void ioapic_gsi_unmask_irq(uint32_t irq);
93 void *gsi_to_ioapic_base(uint32_t gsi);
94 uint32_t get_max_nr_gsi(void);
96 uint32_t get_pic_pin_from_ioapic_pin(uint32_t pin_index);
[all …]
A Dlapic.h16 uint32_t lo_32;
17 uint32_t hi_32;
20 uint32_t vector:8;
23 uint32_t rsvd_1:2;
24 uint32_t level:1;
25 uint32_t trigger_mode:1;
26 uint32_t rsvd_2:2;
27 uint32_t shorthand:2;
28 uint32_t rsvd_3:12;
29 uint32_t dest_field:32;
[all …]
A Didt.h24 uint32_t value;
27 uint32_t seg_sel:16;
31 uint32_t value;
33 uint32_t ist:3;
34 uint32_t bit_3_clr:1;
35 uint32_t bit_4_clr:1;
37 uint32_t type:4;
39 uint32_t dpl:2;
40 uint32_t present:1;
44 uint32_t offset_63_32;
[all …]
A Drtct.h47 uint32_t type;
48 uint32_t data[64];
52 uint32_t rtct_ver_major;
61 uint32_t size;
66 uint32_t cache_level;
68 uint32_t ways;
69 uint32_t size;
74 uint32_t cache_level;
75 uint32_t cache_id;
77 uint32_t size;
[all …]
/hypervisor/include/hw/
A Dpci.h236 uint32_t bits;
259 uint32_t capoff;
260 uint32_t caplen;
268 uint32_t capoff;
269 uint32_t caplen;
313 uint32_t (*pci_read_cfg)(union pci_bdf bdf, uint32_t offset, uint32_t bytes);
314 void (*pci_write_cfg)(union pci_bdf bdf, uint32_t offset, uint32_t bytes, uint32_t val);
327 static inline uint32_t pci_bar_offset(uint32_t idx) in pci_bar_offset()
332 static inline uint32_t pci_bar_index(uint32_t offset) in pci_bar_index()
367 uint32_t pci_pdev_read_cfg(union pci_bdf bdf, uint32_t offset, uint32_t bytes);
[all …]
/hypervisor/include/common/
A Dptdev.h50 uint32_t reserved;
58 uint32_t gsi;
74 uint32_t rsvd_1:2;
76 uint32_t rh:1;
77 uint32_t rsvd_2:8;
80 uint32_t hi_32;
83 uint32_t rsvd_1:2;
85 uint32_t shv:1;
89 uint32_t hi_32;
104 uint32_t full;
[all …]
A Dsbuf.h20 uint32_t sbuf_put(struct shared_buf *sbuf, uint8_t *data, uint32_t max_len);
21 uint32_t sbuf_put_many(struct shared_buf *sbuf, uint32_t elem_size, uint8_t *data, uint32_t data_si…
22 int32_t sbuf_share_setup(uint16_t cpu_id, uint32_t sbuf_id, uint64_t *hva);
24 uint32_t sbuf_next_ptr(uint32_t pos, uint32_t span, uint32_t scope);
25 int32_t sbuf_setup_common(__unused struct acrn_vm *vm, uint16_t cpu_id, uint32_t sbuf_id, uint64_t …
/hypervisor/include/arch/x86/asm/guest/
A Dnested.h16 uint32_t lo_32;
17 uint32_t hi_32;
113 uint32_t abort;
120 uint32_t launch_state;
217 uint32_t ple_gap;
218 uint32_t ple_window;
222 uint32_t exit_reason;
241 uint32_t guest_es_ar;
242 uint32_t guest_cs_ar;
243 uint32_t guest_ss_ar;
[all …]
A Dvmtrr.h24 uint32_t vcnt:8;
25 uint32_t fix:1;
26 uint32_t res0:1;
27 uint32_t wc:1;
28 uint32_t res1:21;
29 uint32_t res2:32;
36 uint32_t type:8;
37 uint32_t res0:2;
39 uint32_t enable:1;
40 uint32_t res1:20;
[all …]
A Dvcpuid.h17 uint32_t eax;
18 uint32_t ebx;
19 uint32_t ecx;
20 uint32_t edx;
21 uint32_t leaf;
22 uint32_t subleaf;
23 uint32_t flags;
24 uint32_t padding;
29 uint32_t *eax, uint32_t *ebx,
30 uint32_t *ecx, uint32_t *edx);
A Dvlapic.h47 uint32_t mode;
48 uint32_t tmicr;
49 uint32_t divisor_shift;
63 uint32_t vapic_id;
64 uint32_t esr_pending;
72 uint32_t isrv;
84 uint32_t svr_last;
85 uint32_t lvt_last[VLAPIC_MAXLVT_INDEX + 1];
146 static inline uint32_t prio(uint32_t x) in prio()
182 bool phys, uint32_t delmode, uint32_t vec, bool rh);
[all …]
A Ducode.h11 uint32_t header_ver;
12 uint32_t update_ver;
13 uint32_t date;
14 uint32_t proc_sig;
15 uint32_t checksum;
16 uint32_t loader_ver;
17 uint32_t proc_flags;
18 uint32_t data_size;
19 uint32_t total_size;
20 uint32_t reserved[3];
/hypervisor/include/dm/
A Dvpci.h52 uint32_t data;
59 uint32_t capoff;
60 uint32_t caplen;
77 uint32_t capoff;
78 uint32_t caplen;
88 uint32_t capoff;
108 … int32_t (*write_vdev_cfg)(struct pci_vdev *vdev, uint32_t offset, uint32_t bytes, uint32_t val);
109 … int32_t (*read_vdev_cfg)(struct pci_vdev *vdev, uint32_t offset, uint32_t bytes, uint32_t *val);
113 uint32_t id;
122 uint32_t flags;
[all …]
A Dvioapic.h49 #define IOAPIC_RTE_LOW_INTVEC ((uint32_t)IOAPIC_RTE_INTVEC)
59 uint32_t ioregsel;
71 uint32_t nr_gsi;
97 void vioapic_set_irqline_lock(const struct acrn_vm *vm, uint32_t vgsi, uint32_t operation);
112 void vioapic_set_irqline_nolock(const struct acrn_vm *vm, uint32_t vgsi, uint32_t operation);
114 uint32_t get_vm_gsicount(const struct acrn_vm *vm);
115 void vioapic_broadcast_eoi(const struct acrn_vm *vm, uint32_t vector);
116 void vioapic_get_rte(const struct acrn_vm *vm, uint32_t vgsi, union ioapic_rte *rte);
118 …_single_vioapic *vgsi_to_vioapic_and_vpin(const struct acrn_vm *vm, uint32_t vgsi, uint32_t *vpin);
/hypervisor/include/public/
A Dacrn_common.h96 uint32_t direction;
101 uint32_t reserved;
133 uint32_t reserved;
148 uint32_t value;
289 uint32_t type;
349 uint32_t type;
482 uint32_t gsi;
483 uint32_t op;
601 uint32_t cmd;
668 uint32_t type;
[all …]
/hypervisor/arch/x86/
A Dioapic.c37 uint32_t pin;
89 uint32_t get_pic_pin_from_ioapic_pin(uint32_t pin_index) in get_pic_pin_from_ioapic_pin()
134 uint32_t v; in ioapic_read_reg32()
190 create_rte_for_legacy_irq(uint32_t irq, uint32_t vr) in create_rte_for_legacy_irq()
216 create_rte_for_gsi_irq(uint32_t irq, uint32_t vr) in create_rte_for_gsi_irq()
242 static void ioapic_set_routing(uint32_t gsi, uint32_t vr) in ioapic_set_routing()
316 uint32_t gsi_to_ioapic_pin(uint32_t gsi) in gsi_to_ioapic_pin()
324 uint32_t ioapic_gsi_to_irq(uint32_t gsi) in ioapic_gsi_to_irq()
333 uint32_t pin; in ioapic_irq_gsi_mask_unmask()
364 static uint32_t
[all …]
A Dlapic.c47 uint32_t rsvd_1:8;
48 uint32_t bsp:1;
49 uint32_t rsvd_2:1;
50 uint32_t x2APIC_enable:1;
51 uint32_t xAPIC_enable:1;
52 uint32_t lapic_paddr:24;
53 uint32_t rsvd_3:28;
62 uint32_t i; in clear_lapic_isr()
63 uint32_t isr_reg; in clear_lapic_isr()
192 uint32_t lapic_id; in get_cur_lapic_id()
[all …]
/hypervisor/include/debug/
A Dprofiling_internal.h92 uint32_t leaf;
93 uint32_t subleaf;
94 uint32_t eax;
95 uint32_t ebx;
96 uint32_t ecx;
97 uint32_t edx;
109 uint32_t apic_id;
126 uint32_t cpu_id;
135 uint32_t msr_id;
245 uint32_t cpu_id;
[all …]
/hypervisor/lib/crypto/mbedtls/
A Dsha256.c80 static inline uint32_t shr(uint32_t x, uint8_t n) in shr()
85 static inline uint32_t rotr(uint32_t x, uint8_t n) in rotr()
90 static inline uint32_t sigma0(uint32_t x) in sigma0()
95 static inline uint32_t sigma1(uint32_t x) in sigma1()
100 static inline uint32_t sigma2(uint32_t x) in sigma2()
105 static inline uint32_t sigma3(uint32_t x) in sigma3()
110 static inline uint32_t majority(uint32_t x, uint32_t y, uint32_t z) in majority()
115 static inline uint32_t choice_alg(uint32_t x, uint32_t y, uint32_t z) in choice_alg()
120 static inline void decomposition(uint32_t *w, uint32_t i) in decomposition()
130 static inline void hash_computation( uint32_t a, uint32_t b, uint32_t c, in hash_computation()
[all …]
/hypervisor/hw/
A Dpci.c92 uint32_t addr = (uint32_t)bdf.value; in pio_off_to_address()
99 static uint32_t pci_pio_read_cfg(union pci_bdf bdf, uint32_t offset, uint32_t bytes) in pci_pio_read_cfg()
102 uint32_t val; in pci_pio_read_cfg()
125 static void pci_pio_write_cfg(union pci_bdf bdf, uint32_t offset, uint32_t bytes, uint32_t val) in pci_pio_write_cfg()
147 __unused uint32_t offset, __unused uint32_t bytes) in pci_pio_read_cfg()
153 __unused uint32_t offset, __unused uint32_t bytes, __unused uint32_t val) in pci_pio_write_cfg()
178 static uint32_t pci_mmcfg_read_cfg(union pci_bdf bdf, uint32_t offset, uint32_t bytes) in pci_mmcfg_read_cfg()
194 static void pci_mmcfg_write_cfg(union pci_bdf bdf, uint32_t offset, uint32_t bytes, uint32_t val) in pci_mmcfg_write_cfg()
220 uint32_t pci_pdev_read_cfg(union pci_bdf bdf, uint32_t offset, uint32_t bytes) in pci_pdev_read_cfg()
233 void pci_pdev_write_cfg(union pci_bdf bdf, uint32_t offset, uint32_t bytes, uint32_t val) in pci_pdev_write_cfg()
[all …]
/hypervisor/include/lib/
A Defi.h48 uint32_t type;
49 uint32_t pad;
57 uint32_t loader_signature; /* 0x1c0 */
58 uint32_t systab; /* 0x1c4 */
59 uint32_t memdesc_size; /* 0x1c8 */
60 uint32_t memdesc_version; /* 0x1cc */
61 uint32_t memmap; /* 0x1d0 */
62 uint32_t memmap_size; /* 0x1d4 */
63 uint32_t systab_hi; /* 0x1d8 */
64 uint32_t memmap_hi; /* 0x1dc */

Completed in 52 milliseconds

12345678