Displaying 8 results from an estimated 8 matches for "0x8ffff".
Did you mean:
0x0ffff
2013 Dec 04
0
Boot iPXE from syslinux/isolinux
...uf, size_t kernel_size,
real_mode_size = (hdr.setup_sects + 1) << 9;
real_mode_base = (hdr.loadflags & LOAD_HIGH) ? 0x10000 : 0x90000;
prot_mode_base = (hdr.loadflags & LOAD_HIGH) ? 0x100000 : 0x10000;
+ prot_mode_max = (hdr.loadflags & LOAD_HIGH) ? (addr_t)-1 : 0x8ffff;
prot_mode_size = kernel_size - real_mode_size;
- cmdline_offset = calc_cmdline_offset(&hdr, cmdline_size, real_mode_base,
+ /* Get the memory map */
+ mmap = syslinux_memory_map(); /* Memory map for shuffle_boot */
+ amap = syslinux_dup_memmap(mmap); /* Keep track of availab...
2013 May 29
0
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...+ assert(size == sizeof cfg.queue_select);
assert(val < VIRTIO_PCI_QUEUE_MAX);
vdev->queue_sel = val;
break;
case offsetof(struct virtio_pci_common_cfg, queue_size):
+ assert(size == sizeof cfg.queue_size);
assert(val && val < 0x8ffff && !(val & (val - 1)));
virtio_queue_set_num(vdev, vdev->queue_sel, val);
break;
case offsetof(struct virtio_pci_common_cfg, queue_msix_vector):
+ assert(size == sizeof cfg.queue_msix_vector);
virtio_queue_set_vector(vdev, vdev->queue_sel, val);...
2013 Dec 04
2
Boot iPXE from syslinux/isolinux
"H. Peter Anvin" <hpa at zytor.com> on Tue, 2013/12/03 20:26:
> On 10/24/2013 01:09 AM, Christian Hesse wrote:
> >>>
> >>> version 6.02-pre5 works, 6.02-pre6 does not.
> >>
> >> Struggled with git bisect, but finally succeeded:
> >>
> >> 8f470e7bfe75f6401f6c5432988c620b863ad274 is the first bad commit
> >>
2013 May 29
6
[PATCH RFC] virtio-pci: new config layout: using memory BAR
Anthony Liguori <aliguori at us.ibm.com> writes:
> "Michael S. Tsirkin" <mst at redhat.com> writes:
>> + case offsetof(struct virtio_pci_common_cfg, device_feature_select):
>> + return proxy->device_feature_select;
>
> Oh dear no... Please use defines like the rest of QEMU.
It is pretty ugly.
Yet the structure definitions are descriptive,
2013 May 29
6
[PATCH RFC] virtio-pci: new config layout: using memory BAR
Anthony Liguori <aliguori at us.ibm.com> writes:
> "Michael S. Tsirkin" <mst at redhat.com> writes:
>> + case offsetof(struct virtio_pci_common_cfg, device_feature_select):
>> + return proxy->device_feature_select;
>
> Oh dear no... Please use defines like the rest of QEMU.
It is pretty ugly.
Yet the structure definitions are descriptive,
2013 May 28
3
[PATCH RFC] virtio-pci: new config layout: using memory BAR
.../* About a specific virtqueue. */
+ case offsetof(struct virtio_pci_common_cfg, queue_select):
+ assert(val < VIRTIO_PCI_QUEUE_MAX);
+ vdev->queue_sel = val;
+ break;
+ case offsetof(struct virtio_pci_common_cfg, queue_size):
+ assert(val && val < 0x8ffff && !(val & (val - 1)));
+ virtio_queue_set_num(vdev, vdev->queue_sel, val);
+ break;
+ case offsetof(struct virtio_pci_common_cfg, queue_msix_vector):
+ virtio_queue_set_vector(vdev, vdev->queue_sel, val);
+ break;
+ case offsetof(struct virtio_pci_commo...
2013 May 28
3
[PATCH RFC] virtio-pci: new config layout: using memory BAR
.../* About a specific virtqueue. */
+ case offsetof(struct virtio_pci_common_cfg, queue_select):
+ assert(val < VIRTIO_PCI_QUEUE_MAX);
+ vdev->queue_sel = val;
+ break;
+ case offsetof(struct virtio_pci_common_cfg, queue_size):
+ assert(val && val < 0x8ffff && !(val & (val - 1)));
+ virtio_queue_set_num(vdev, vdev->queue_sel, val);
+ break;
+ case offsetof(struct virtio_pci_common_cfg, queue_msix_vector):
+ virtio_queue_set_vector(vdev, vdev->queue_sel, val);
+ break;
+ case offsetof(struct virtio_pci_commo...
2013 May 28
0
[PATCH RFC] virtio-pci: new config layout: using memory BAR
.... */
> + case offsetof(struct virtio_pci_common_cfg, queue_select):
> + assert(val < VIRTIO_PCI_QUEUE_MAX);
> + vdev->queue_sel = val;
> + break;
> + case offsetof(struct virtio_pci_common_cfg, queue_size):
> + assert(val && val < 0x8ffff && !(val & (val - 1)));
> + virtio_queue_set_num(vdev, vdev->queue_sel, val);
> + break;
> + case offsetof(struct virtio_pci_common_cfg, queue_msix_vector):
> + virtio_queue_set_vector(vdev, vdev->queue_sel, val);
> + break;
> + case of...