Home
last modified time | relevance | path

Searched refs:vmctx (Results 1 – 25 of 102) sorted by path

12345

/illumos-gate/usr/src/cmd/bhyve/
H A Dacpi.c320 basl_load(struct vmctx *ctx, int fd) in basl_load()
346 basl_compile(struct vmctx *ctx, int (*fwrite_section)(FILE *)) in basl_compile()
436 build_dsdt(struct vmctx *const ctx) in build_dsdt()
444 build_facs(struct vmctx *const ctx) in build_facs()
461 build_fadt(struct vmctx *const ctx) in build_fadt()
534 build_hpet(struct vmctx *const ctx) in build_hpet()
556 build_madt(struct vmctx *const ctx) in build_madt()
631 build_mcfg(struct vmctx *const ctx) in build_mcfg()
656 build_rsdp(struct vmctx *const ctx) in build_rsdp()
693 build_spcr(struct vmctx *const ctx) in build_spcr()
[all …]
H A Dacpi.h54 struct vmctx;
56 int acpi_build(struct vmctx *ctx, int ncpu);
57 void acpi_raise_gpe(struct vmctx *ctx, unsigned bit);
65 void sci_init(struct vmctx *ctx);
67 void pmtmr_init(struct vmctx *ctx);
H A Dacpi_device.c45 struct vmctx *vm_ctx;
53 struct vmctx *const vm_ctx, const struct acpi_device_emul *const emul) in acpi_device_create()
H A Dacpi_device.h15 struct vmctx;
48 struct vmctx *vm_ctx, const struct acpi_device_emul *emul);
H A Datkbdc.c122 struct vmctx *ctx;
304 atkbdc_data_handler(struct vmctx *ctx __unused, int in, in atkbdc_data_handler()
390 atkbdc_sts_ctl_handler(struct vmctx *ctx, int in, in atkbdc_sts_ctl_handler()
509 atkbdc_init(struct vmctx *ctx) in atkbdc_init()
H A Datkbdc.h31 struct vmctx;
33 void atkbdc_init(struct vmctx *ctx);
H A Dbasl.c52 struct vmctx *ctx;
403 basl_init_rsdt(struct vmctx *const ctx)
416 basl_init_xsdt(struct vmctx *const ctx)
429 basl_init(struct vmctx *const ctx)
678 basl_table_create(struct basl_table **const table, struct vmctx *ctx,
H A Dbasl.h101 int basl_init(struct vmctx *ctx);
129 int basl_table_create(struct basl_table **table, struct vmctx *ctx,
H A Dbhyverun.c199 static void vm_loop(struct vmctx *ctx, struct vcpu *vcpu);
206 struct vmctx *ctx;
512 paddr_guest2host(struct vmctx *ctx, uintptr_t gaddr, size_t len) in paddr_guest2host()
756 vmexit_paging(struct vmctx *ctx __unused, struct vcpu *vcpu, in vmexit_paging()
881 vmexit_inst_emul(struct vmctx *ctx __unused, struct vcpu *vcpu, in vmexit_inst_emul()
977 vmexit_debug(struct vmctx *ctx __unused, struct vcpu *vcpu, in vmexit_debug()
1055 vm_loop(struct vmctx *ctx, struct vcpu *vcpu) in vm_loop()
1103 num_vcpus_allowed(struct vmctx *ctx, struct vcpu *vcpu) in num_vcpus_allowed()
1188 static struct vmctx *
1191 struct vmctx *ctx; in do_open()
[all …]
H A Dbhyverun.h51 struct vmctx;
54 void *paddr_guest2host(struct vmctx *ctx, uintptr_t addr, size_t len);
58 int vmexit_task_switch(struct vmctx *, struct vcpu *, struct vm_exit *);
H A Dbootrom.c120 init_bootrom(struct vmctx *ctx) in init_bootrom()
131 bootrom_alloc(struct vmctx *ctx, size_t len, int prot, int flags, in bootrom_alloc()
193 bootrom_loadrom(struct vmctx *ctx, const nvlist_t *nvl) in bootrom_loadrom()
H A Dbootrom.h39 struct vmctx;
41 void init_bootrom(struct vmctx *ctx);
46 int bootrom_alloc(struct vmctx *ctx, size_t len, int prot, int flags,
48 int bootrom_loadrom(struct vmctx *ctx, const nvlist_t *nvl);
H A De820.c425 e820_init(struct vmctx *const ctx) in e820_init()
H A De820.h45 int e820_init(struct vmctx *const ctx);
H A Dfwctl.c534 fwctl_handler(struct vmctx *ctx __unused, int in, in fwctl_handler()
H A Dgdb.c134 static struct vmctx *ctx;
1875 init_mdb(struct vmctx *_ctx) in init_mdb()
1907 init_gdb(struct vmctx *_ctx) in init_gdb()
H A Dgdb.h35 void init_gdb(struct vmctx *ctx);
37 void init_mdb(struct vmctx *ctx);
H A Dinout.c79 default_inout(struct vmctx *ctx __unused, int in, in default_inout()
117 emulate_inout(struct vmctx *ctx, struct vcpu *vcpu, struct vm_inout *inout) in emulate_inout()
H A Dinout.h47 struct vmctx;
56 typedef int (*inout_func_t)(struct vmctx *ctx, int in, int port,
90 int emulate_inout(struct vmctx *, struct vcpu *vcpu, struct vm_exit *vmexit);
92 int emulate_inout(struct vmctx *, struct vcpu *vcpu, struct vm_inout *inout);
H A Dioapic.c54 ioapic_init(struct vmctx *ctx) in ioapic_init()
H A Dioapic.h38 void ioapic_init(struct vmctx *ctx);
H A Dmptbl.c299 mptable_build(struct vmctx *ctx, int ncpu) in mptable_build()
H A Dmptbl.h32 int mptable_build(struct vmctx *ctx, int ncpu);
H A Dpci_e82545.c250 struct vmctx *esc_ctx;
H A Dpci_emul.c512 pci_emul_io_handler(struct vmctx *ctx __unused, int in, int port, in pci_emul_io_handler()
1069 pci_emul_init(struct vmctx *ctx, struct pci_devemu *pde, int bus, int slot, in pci_emul_init()
1446 init_pci(struct vmctx *ctx) in init_pci()
2353 pci_emul_cfgaddr(struct vmctx *ctx __unused, int in, in pci_emul_cfgaddr()
2383 pci_emul_cfgdata(struct vmctx *ctx __unused, int in, int port, in pci_emul_cfgdata()

12345