Displaying 13 results from an estimated 13 matches for "37,21".
Did you mean:
17,21
2016 Jun 02
0
[RFC v3 10/45] cris: dma-mapping: Use unsigned long for dma_attrs
...a.c
+++ b/arch/cris/arch-v32/drivers/pci/dma.c
@@ -17,7 +17,7 @@
#include <asm/io.h>
static void *v32_dma_alloc(struct device *dev, size_t size,
- dma_addr_t *dma_handle, gfp_t gfp, struct dma_attrs *attrs)
+ dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs)
{
void *ret;
@@ -37,22 +37,21 @@ static void *v32_dma_alloc(struct device *dev, size_t size,
}
static void v32_dma_free(struct device *dev, size_t size, void *vaddr,
- dma_addr_t dma_handle, struct dma_attrs *attrs)
+ dma_addr_t dma_handle, unsigned long attrs)
{
free_pages((unsigned long)vaddr, get_order(siz...
2007 Apr 18
0
[RFC, PATCH 6/24] i386 Vmi magic fixes
...ET __PAGE_OFFSET
-#include <asm-generic/vmlinux.lds.h>
+#include <asm/vmlinux.lds.h>
#include <asm/thread_info.h>
#include <asm/page.h>
@@ -23,6 +23,7 @@ SECTIONS
SCHED_TEXT
LOCK_TEXT
KPROBES_TEXT
+ MACH_TEXT
*(.fixup)
*(.gnu.warning)
} = 0x9090
@@ -36,6 +37,21 @@ SECTIONS
RODATA
+#ifdef CONFIG_X86_VMI
+ __vmi_translation = .;
+ .vmi.translation : AT(ADDR(.vmi.translation) - LOAD_OFFSET) {
+ *(.vmi.translation)
+ }
+ __vmi_translation_end = .;
+
+ . = ALIGN(16);
+ .vmi.annotation : AT(ADDR(.vmi.annotation) - LOAD_OFFSET) {
+ __vmi_annotat...
2007 Apr 18
0
[RFC, PATCH 6/24] i386 Vmi magic fixes
...ET __PAGE_OFFSET
-#include <asm-generic/vmlinux.lds.h>
+#include <asm/vmlinux.lds.h>
#include <asm/thread_info.h>
#include <asm/page.h>
@@ -23,6 +23,7 @@ SECTIONS
SCHED_TEXT
LOCK_TEXT
KPROBES_TEXT
+ MACH_TEXT
*(.fixup)
*(.gnu.warning)
} = 0x9090
@@ -36,6 +37,21 @@ SECTIONS
RODATA
+#ifdef CONFIG_X86_VMI
+ __vmi_translation = .;
+ .vmi.translation : AT(ADDR(.vmi.translation) - LOAD_OFFSET) {
+ *(.vmi.translation)
+ }
+ __vmi_translation_end = .;
+
+ . = ALIGN(16);
+ .vmi.annotation : AT(ADDR(.vmi.annotation) - LOAD_OFFSET) {
+ __vmi_annotat...
2009 Apr 08
0
[PATCH/Gallium] nv50: update nv50_clear to new interface
...ced 'used uninitialized' warning by setting NULL,
+ * GCC doesn't know it can't actually happen */
struct nv50_context *nv50 = nv50_context(pipe);
struct nouveau_channel *chan = nv50->screen->nvws->channel;
struct nouveau_grobj *tesla = nv50->screen->tesla;
@@ -37,21 +42,45 @@ nv50_clear(struct pipe_context *pipe, struct pipe_surface *ps,
struct pipe_scissor_state sc, s_sc = nv50->scissor;
unsigned dirty = nv50->dirty;
+ /* if 'no buffers' case is possible, change this to if/return */
+ assert(buffers && (s_fb.nr_cbufs > 0 || s_...
2017 Aug 23
0
[PATCH v2 supermin 1/1] Switch binary embedding to a C source
...ipt creates a C snippet embedding an arbitrary file
#
-# objcopy -I binary -B $(DEFAULT_ARCH) -O $(ELF_DEFAULT_ARCH) <in> <out>
+# The output provides two variables:
+# static const char _binary_$name[];
+# static const size_t _binary_$name_len;
use strict;
use warnings;
@@ -36,28 +37,21 @@ $infile_basename =~ s{.*/}{};
print $ofh <<"EOF";
/* This file has been automatically generated from $infile by $0 */
-/* Mark stack as non-executable for GNU tools. */
-\t.section .note.GNU-stack,"",%progbits
-\t.previous
-
-\t.globl\t_binary_${infile_basename}_...
2017 Aug 23
2
[PATCH v2 supermin 0/1] Fix embedding of init
Hi,
this patch replaces the first simpler version:
https://www.redhat.com/archives/libguestfs/2017-August/msg00117.html
The approach now is to use a C snippet, which should pose way less
compatibility issues.
Thanks,
Pino Toscano (1):
Switch binary embedding to a C source
.gitignore | 2 +-
src/Makefile.am | 18 +++++++++---------
src/{bin2s.pl => bin2c.pl} |
2019 Oct 07
6
[nbdkit PATCH 0/5] More retry fixes
I think this is my last round of patches for issues I identified with
the retry filter. With this in place, it should be safe to interject
another filter in between retry and the plugin.
Eric Blake (5):
retry: Don't call into closed plugin
tests: Refactor test-retry-reopen-fail.sh
tests: Enhance retry test to cover failed reopen
server: Move prepare/finalize/close recursion to
2018 Dec 10
2
[PATCH] cleanup of global variables server/client_version_string in sshconnect.c
In sshconnect.c there are two global variables for server_version_string
client_version_string.
These are used just in a few functions and can easily be passed as
parameters.
Also, there is a strange construct, where their memory is allocated to
the global pointers, then copies of these pointers are assigned to the
kex structure. The kex_free finally frees them via cleanup of the kex
2020 Aug 15
3
[PATCH EXPERIMENTAL nbdkit 0/2] Port to Windows using mingw.
The patches following do indeed allow you to compile nbdkit.exe, but
it does not actually work yet. I'm posting this experimental series
more as a work in progress and to get feedback.
Note this does not require Windows itself to build or test. You can
cross-compile it using mingw64-* packages on Fedora or Debian, and
test it [spoiler alert: it fails] using Wine.
Rich.
2010 Sep 21
1
[PREVIEW ONLY] Refactor data transfer code
...t->{voluuid};
+}
+
+sub _get_creation
+{
+ return shift->{creation};
+}
- delete($self->{writer});
- delete($self->{written});
+sub _get_rhev_format
+{
+ return shift->{rhev_format};
+}
+
+sub _get_rhev_type
+{
+ return shift->{rhev_type};
}
sub _move_vols
@@ -374,11 +467,11 @@ sub _move_vols
my $class = shift;
foreach my $vol (@vols) {
- rename($vol->{tmpdir}, $vol->{dir})
+ rename($vol->{imagetmpdir}, $vol->{imagedir})
or die(user_message(__x("Unable to move volume from temporary "....
2020 Aug 18
15
[PATCH nbdkit 0/9] Port to Windows.
Also available here:
https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw
This is the port to Windows using native Windows APIs (not MSYS or
Cygwin).
This patch series is at the point where it basically now works. I can
run the server with the memory plugin, and access it remotely using
guestfish, creating filesystems and so on without any apparent
problems.
Nevertheless there are many
2020 Aug 20
15
[PATCH nbdkit 0/13] Port to Windows without using a separate library.
Also available here:
https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw-nolib
After a lot of work I have made the port to Windows work without using
a separate library. Instead, on Windows only, we build an "import
library" (library of stubs) which resolves references to nbdkit_*
functions in the main program and fixes up the plugin, basically the
first technique outlined in
2016 Jun 02
52
[RFC v3 00/45] dma-mapping: Use unsigned long for dma_attrs
Hi,
This is third approach (complete this time) for replacing struct
dma_attrs with unsigned long.
The main patch (2/45) doing the change is split into many subpatches
for easier review (3-43). They should be squashed together when
applying.
*Important:* Patchset is *only* build tested on allyesconfigs: ARM,
ARM64, i386, x86_64 and powerpc. Please provide reviewes and tests
for other