zx::vcpu

Summary

Inheritance

Inherits from: zx::object< vcpu >

Constructors and Destructors

vcpu()
vcpu(zx_handle_t value)
vcpu(handle && h)
vcpu(vcpu && other)

Public static attributes

TYPE = ZX_OBJ_TYPE_VCPU
constexpr zx_obj_type_t

Public functions

enter(zx_port_packet_t *packet)
zx_status_t
interrupt(uint32_t interrupt)
zx_status_t
kick()
zx_status_t
operator=(vcpu && other)
vcpu &
read_state(uint32_t kind, void *buf, size_t len)
zx_status_t
write_state(uint32_t kind, const void *buf, size_t len)
zx_status_t

Public static functions

create(const guest & guest, uint32_t options, zx_gpaddr_t entry, vcpu *result)
zx_status_t

Public static attributes

TYPE

constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_VCPU

Public functions

enter

zx_status_t enter(
  zx_port_packet_t *packet
)

interrupt

zx_status_t interrupt(
  uint32_t interrupt
)

kick

zx_status_t kick()

operator=

vcpu & operator=(
  vcpu && other
)

read_state

zx_status_t read_state(
  uint32_t kind,
  void *buf,
  size_t len
)

vcpu

constexpr vcpu()=default

vcpu

 vcpu(
  zx_handle_t value
)

vcpu

 vcpu(
  handle && h
)

vcpu

 vcpu(
  vcpu && other
)

write_state

zx_status_t write_state(
  uint32_t kind,
  const void *buf,
  size_t len
)

Public static functions

create

zx_status_t create(
  const guest & guest,
  uint32_t options,
  zx_gpaddr_t entry,
  vcpu *result
)