Home
last modified time | relevance | path

Searched refs:fwcfg_max_cpus (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dqemu_fwcfg.c259 uint16_t *fwcfg_max_cpus = calloc(1, sizeof(uint16_t)); in qemu_fwcfg_add_item_max_cpus() local
260 if (fwcfg_max_cpus == NULL) { in qemu_fwcfg_add_item_max_cpus()
268 *fwcfg_max_cpus = htole16(guest_ncpus); in qemu_fwcfg_add_item_max_cpus()
271 QEMU_FWCFG_INDEX_MAX_CPUS, sizeof(uint16_t), fwcfg_max_cpus)); in qemu_fwcfg_add_item_max_cpus()
277 uint16_t *fwcfg_max_cpus = calloc(1, sizeof(uint16_t)); in qemu_fwcfg_add_item_nb_cpus() local
278 if (fwcfg_max_cpus == NULL) { in qemu_fwcfg_add_item_nb_cpus()
282 *fwcfg_max_cpus = htole16(guest_ncpus); in qemu_fwcfg_add_item_nb_cpus()
285 QEMU_FWCFG_INDEX_NB_CPUS, sizeof(uint16_t), fwcfg_max_cpus)); in qemu_fwcfg_add_item_nb_cpus()