search for: 281,14

Displaying 17 results from an estimated 17 matches for "281,14".

2013 May 07
1
[PATCH] vhost-test: Make vhost/test.c work
...ong vhost_test_run(struct vhost_test *n, int test) lockdep_is_held(&vq->mutex)); rcu_assign_pointer(vq->private_data, priv); - r = vhost_init_used(&n->vqs[index]); + r = vhost_init_used(&n->vqs[index].vq); mutex_unlock(&vq->mutex); @@ -268,14 +281,14 @@ static long vhost_test_ioctl(struct file *f, unsigned int ioctl, return -EFAULT; return vhost_test_run(n, test); case VHOST_GET_FEATURES: - features = VHOST_NET_FEATURES; + features = VHOST_FEATURES; if (copy_to_user(featurep, &features, sizeof features)) return -EFAULT;...
2013 May 07
1
[PATCH] vhost-test: Make vhost/test.c work
...ong vhost_test_run(struct vhost_test *n, int test) lockdep_is_held(&vq->mutex)); rcu_assign_pointer(vq->private_data, priv); - r = vhost_init_used(&n->vqs[index]); + r = vhost_init_used(&n->vqs[index].vq); mutex_unlock(&vq->mutex); @@ -268,14 +281,14 @@ static long vhost_test_ioctl(struct file *f, unsigned int ioctl, return -EFAULT; return vhost_test_run(n, test); case VHOST_GET_FEATURES: - features = VHOST_NET_FEATURES; + features = VHOST_FEATURES; if (copy_to_user(featurep, &features, sizeof features)) return -EFAULT;...
2007 Apr 18
1
[RFC, PATCH 8/24] i386 Vmi syscall assembly
...ESTORE_REGS addl $4, %esp -1: iret -.section .fixup,"ax" +1: IRET +.pushsection .fixup,"ax" iret_exc: - sti + STI pushl $0 # no error code pushl $do_iret_error jmp error_code -.previous +.popsection .section __ex_table,"a" .align 4 .long 1b,iret_exc @@ -281,14 +281,14 @@ ldt_ss: * CPUs, which we can try to work around to make * dosemu and wine happy. */ subl $8, %esp # reserve space for switch16 pointer - cli + CLI movl %esp, %eax /* Set up the 16bit stack frame with switch32 pointer on top, * and a switch16 pointer on top of the curre...
2007 Apr 18
1
[RFC, PATCH 8/24] i386 Vmi syscall assembly
...ESTORE_REGS addl $4, %esp -1: iret -.section .fixup,"ax" +1: IRET +.pushsection .fixup,"ax" iret_exc: - sti + STI pushl $0 # no error code pushl $do_iret_error jmp error_code -.previous +.popsection .section __ex_table,"a" .align 4 .long 1b,iret_exc @@ -281,14 +281,14 @@ ldt_ss: * CPUs, which we can try to work around to make * dosemu and wine happy. */ subl $8, %esp # reserve space for switch16 pointer - cli + CLI movl %esp, %eax /* Set up the 16bit stack frame with switch32 pointer on top, * and a switch16 pointer on top of the curre...
2013 Dec 04
0
Boot iPXE from syslinux/isolinux
...ry */ + if (!mmap || !amap) { + errno = ENOMEM; + goto bail; + } + + cmdline_offset = calc_cmdline_offset(mmap, &hdr, cmdline_size, + real_mode_base, real_mode_base + real_mode_size); dprintf("cmdline_offset at 0x%x\n", real_mode_base + cmdline_offset); @@ -281,14 +288,6 @@ int bios_boot_linux(void *kernel_buf, size_t kernel_size, } } - /* Get the memory map */ - mmap = syslinux_memory_map(); /* Memory map for shuffle_boot */ - amap = syslinux_dup_memmap(mmap); /* Keep track of available memory */ - if (!mmap || !amap) { - errno = ENO...
2007 Nov 10
1
[PATCH] virtio_pci updates
...ce *vdev, unsigned index, struct virtio_pci_device *vp_dev = to_vp_device(vdev); struct virtio_pci_vq_info *info; struct virtqueue *vq; - int err; u16 num; + int err; /* Select the queue we're interested in */ iowrite16(index, vp_dev->ioaddr + VIRTIO_PCI_QUEUE_SEL); @@ -257,25 +281,14 @@ static struct virtqueue *vp_find_vq(struct virtio_device *vdev, unsigned index, info->queue_index = index; info->num = num; - /* determine the memory needed for the queue and provide the memory - * location to the host */ - info->n_pages = DIV_ROUND_UP(vring_size(num), PAGE_SI...
2007 Nov 10
1
[PATCH] virtio_pci updates
...ce *vdev, unsigned index, struct virtio_pci_device *vp_dev = to_vp_device(vdev); struct virtio_pci_vq_info *info; struct virtqueue *vq; - int err; u16 num; + int err; /* Select the queue we're interested in */ iowrite16(index, vp_dev->ioaddr + VIRTIO_PCI_QUEUE_SEL); @@ -257,25 +281,14 @@ static struct virtqueue *vp_find_vq(struct virtio_device *vdev, unsigned index, info->queue_index = index; info->num = num; - /* determine the memory needed for the queue and provide the memory - * location to the host */ - info->n_pages = DIV_ROUND_UP(vring_size(num), PAGE_SI...
2013 May 08
1
[PATCH v2] vhost-test: Make vhost/test.c work
...ong vhost_test_run(struct vhost_test *n, int test) lockdep_is_held(&vq->mutex)); rcu_assign_pointer(vq->private_data, priv); - r = vhost_init_used(&n->vqs[index]); + r = vhost_init_used(&n->vqs[index].vq); mutex_unlock(&vq->mutex); @@ -268,14 +281,14 @@ static long vhost_test_ioctl(struct file *f, unsigned int ioctl, return -EFAULT; return vhost_test_run(n, test); case VHOST_GET_FEATURES: - features = VHOST_NET_FEATURES; + features = VHOST_FEATURES; if (copy_to_user(featurep, &features, sizeof features)) return -EFAULT;...
2013 May 08
1
[PATCH v2] vhost-test: Make vhost/test.c work
...ong vhost_test_run(struct vhost_test *n, int test) lockdep_is_held(&vq->mutex)); rcu_assign_pointer(vq->private_data, priv); - r = vhost_init_used(&n->vqs[index]); + r = vhost_init_used(&n->vqs[index].vq); mutex_unlock(&vq->mutex); @@ -268,14 +281,14 @@ static long vhost_test_ioctl(struct file *f, unsigned int ioctl, return -EFAULT; return vhost_test_run(n, test); case VHOST_GET_FEATURES: - features = VHOST_NET_FEATURES; + features = VHOST_FEATURES; if (copy_to_user(featurep, &features, sizeof features)) return -EFAULT;...
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 > >>
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Handle embedded NULs correctly in printf
...break; - } case 'c': { int p = getchr(); PF(start, p); @@ -227,8 +271,9 @@ err: * Halts processing string if a \c escape is encountered. */ static int -conv_escape_str(char *str) +conv_escape_str(char *str, char **sp) { + int c; int ch; char *cp; @@ -236,16 +281,14 @@ conv_escape_str(char *str) STARTSTACKSTR(cp); do { - int c; - - ch = *str++; + c = ch = *str++; if (ch != '\\') continue; ch = *str++; if (ch == 'c') { /* \c as in SYSV echo - abort all processing.... */ - ch = 0x100; + c = ch = 0x100; conti...
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Handle embedded NULs correctly in printf
...break; - } case 'c': { int p = getchr(); PF(start, p); @@ -227,8 +271,9 @@ err: * Halts processing string if a \c escape is encountered. */ static int -conv_escape_str(char *str) +conv_escape_str(char *str, char **sp) { + int c; int ch; char *cp; @@ -236,16 +281,14 @@ conv_escape_str(char *str) STARTSTACKSTR(cp); do { - int c; - - ch = *str++; + c = ch = *str++; if (ch != '\\') continue; ch = *str++; if (ch == 'c') { /* \c as in SYSV echo - abort all processing.... */ - ch = 0x100; + c = ch = 0x100; conti...
2003 Oct 23
1
Samba3+ldapsam+Win9x userlist, Bug596?! sniffing info
>Thereby sorry for being impolite :-(, but at present I'm running samba >3.0.1pre1 with ldapsam in the production servers, >and Win9x clients couldn't get list of users and groups from Samba DCs (Bug596). I have 3 >choices: >- -- Switch back to 2.2.7 (not very nice:-(, I would need group support for policy) >- -- Switch to tdbsam with fam/rsync/ssh-ing password and group
2015 May 15
0
[PATCH 3/4] ocaml tools: Use global variables to store trace (-x) and verbose (-v) flags.
...| 4 +- v2v/types.mli | 4 +- v2v/v2v.ml | 60 +++++++++++----------- 107 files changed, 405 insertions(+), 415 deletions(-) diff --git a/builder/builder.ml b/builder/builder.ml index 7e18065..260281c 100644 --- a/builder/builder.ml +++ b/builder/builder.ml @@ -73,15 +73,14 @@ let main () = let mode, arg, arch, attach, cache, check_signature, curl, delete_on_failure, format, gpg, list_format, memsize, - network, ops, output, quiet, size, smp, sources, sync, - trace, verbose =...
2015 May 15
5
[PATCH 0/4] Only tell people to use -v -x when reporting bugs if they're not using those flags.
.. and a lot of refactoring. https://bugzilla.redhat.com/show_bug.cgi?id=1167623 Rich.
2015 May 15
6
[PATCH v2 0/4] Only tell people to use -v -x when reporting bugs if they're not using those flags.
https://bugzilla.redhat.com/show_bug.cgi?id=1167623
2003 Aug 22
3
PAE removal patch for testing
...#endif - printf("real memory = %llu (%lluK bytes)\n", - ptoa((u_int64_t)Maxmem), ptoa((u_int64_t)Maxmem) / 1024); + printf("real memory = %u (%uK bytes)\n", ptoa(Maxmem), ptoa(Maxmem) / 1024); /* * Display any holes after the first chunk of extended memory. */ @@ -281,14 +280,11 @@ printf("Physical memory chunk(s):\n"); for (indx = 0; phys_avail[indx + 1] != 0; indx += 2) { - vm_paddr_t size1; + unsigned int size1 = phys_avail[indx + 1] - phys_avail[indx]; - size1 = phys_avail[indx + 1] - phys_avail[indx]; - printf("0x%09llx - 0x...