Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bhyve/amd64/
H A De820.c112 struct qemu_fwcfg_item *fwcfg_item; in e820_get_fwcfg_item() local
126 fwcfg_item = calloc(1, sizeof(struct qemu_fwcfg_item)); in e820_get_fwcfg_item()
127 if (fwcfg_item == NULL) { in e820_get_fwcfg_item()
131 fwcfg_item->size = count * sizeof(struct e820_entry); in e820_get_fwcfg_item()
132 fwcfg_item->data = calloc(count, sizeof(struct e820_entry)); in e820_get_fwcfg_item()
133 if (fwcfg_item->data == NULL) { in e820_get_fwcfg_item()
134 free(fwcfg_item); in e820_get_fwcfg_item()
139 entries = (struct e820_entry *)fwcfg_item->data; in e820_get_fwcfg_item()
150 return (fwcfg_item); in e820_get_fwcfg_item()
/freebsd/usr.sbin/bhyve/
H A Dqemu_fwcfg.c196 struct qemu_fwcfg_item *const fwcfg_item = &fwcfg_sc.items[arch][idx]; in qemu_fwcfg_add_item() local
199 if (fwcfg_item->data != NULL) { in qemu_fwcfg_add_item()
206 fwcfg_item->size = size; in qemu_fwcfg_add_item()
207 fwcfg_item->data = data; in qemu_fwcfg_add_item()