search for: bswap_64

Displaying 12 results from an estimated 12 matches for "bswap_64".

2015 Jul 14
1
EFI: PXE: "My IP is 0.0.0.0"
...== I built and used syslinux from https://github.com/ppatpat/syslinux (latest commit 43f5efa2db4a7880c7a2c6485d8fd8a64f0f33c3). On top of that I had to patch main.c. This had to be done to mitigate the following error when trying to 'make all': main.c:(.text+0x3b9): undefined reference to `BSWAP_64' More specifically I made this change: diff ../syslinux_ppatpat_orig/efi/main.c efi/main.c 13a14 > #include <byteswap.h> 178c179 < BSWAP_64(*(uint64_t*)&bguid->Data4), --- > This build of syslinux works on my HP ProLiant DL380 Gen9 server while netbooting from nic1 (not...
2017 Nov 14
1
Building dovecot 2.2.33.2 is broken with uclibc-ng
Am Mon, 13 Nov 2017 15:40:14 -0500 schrieb Josef 'Jeff' Sipek: > What happens if in dovecot's byteorder.h you add this before line 30: > > #undef bswap_8 > #undef bswap_16 > #undef bswap_32 > #undef bswap_64 > > Hopefully that does it. Hi Jeff, adding these four lines fixes the build error, thanks! Regards, Bernd
2017 Nov 13
2
Building dovecot 2.2.33.2 is broken with uclibc-ng
.../include/bits/waitstatus.h:72, from /home/bernd/buildroot/br4/output/host/i586-buildroot-linux-uclibc/sysroot/usr/include/stdlib.h:41, from ../../src/lib/lib.h:11, from test-common.c:3: ../../src/lib/byteorder.h:92:24: error: redefinition of '__bswap_64' static inline uint64_t bswap_64(uint64_t in) ^ In file included from /home/bernd/buildroot/br4/output/host/i586-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:55:0, from /home/bernd/buildroot/br4/output/host/i586-buildroot-linux-uclibc/sysr...
2009 Aug 03
9
[PATCH 0/9] Quota support for ocfs2-tools (version 3)
Hi, below comes a new version of the series of patches implementing quota support for ocfs2-tools. I've fixed the calls of ocfs2_malloc_blocks() which were given number of bytes instead of number of blocks. Besides that the series should be the same. Honza
2015 Jul 10
3
EFI: PXE: "My IP is 0.0.0.0"
>>> > It does contain a Net but there are 2 issues with SNP: > 1) The interface is different than UDPv4/TCPv4 protocols; this imply lot of code. Not as much as you may think.? We already have lwIP implemented into lpxelinux.0.? It's more a matter of using more glue. > 2) SNP has its non-blocking transmit issues ; see "Flaws in the design" at >
2017 Nov 13
0
Building dovecot 2.2.33.2 is broken with uclibc-ng
...an not be compiled with uclibc-ng 1.0.26 using buildroot: Hrm... ok. It'll be probably faster for you to try a test build instead of me setting up buildroot... What happens if in dovecot's byteorder.h you add this before line 30: #undef bswap_8 #undef bswap_16 #undef bswap_32 #undef bswap_64 Hopefully that does it. Jeff. > > make[3]: Entering directory '/home/bernd/buildroot/br4/output/build/dovecot-2.2.33.2/src/lib-test' > /bin/bash ../../libtool --tag=CC --mode=compile /home/bernd/buildroot/br4/output/host/bin/i586-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I...
2023 Mar 01
6
[libnbd PATCH 0/6] common: catch up with nbdkit
...e resumed even later. Laszlo Eric Blake (1): tests: Avoid odd test behavior under NDEBUG [partial port] Richard W.M. Jones (5): common/include: Add unit tests [byte-swapping, isaligned, iszero] common/include: Add further unit tests [minmax] common: include: Define bswap_16, bswap_32 and bswap_64 [finish port] vector: Add vector_duplicate function common/include: Fix MIN and MAX macros so they can be nested [finish port] .gitignore | 4 + common/include/Makefile.am | 20 +++ common/include/test-byte-swapping.c | 108 ++++++++++++ common/include...
2015 Aug 28
1
HP EFI binaries
On Fri, Aug 28, 2015 at 03:34:12AM -0700, Patrick Masotta via Syslinux wrote: Derrick wrote: > > More importantly: look at the actual captured text.? It does NOT > > specify a valid MAC in its entirety and leaves off the leading nibble > > (11 characters, not 12).? Handle 267 shows "065F36E00EE" not "0065F36E00EE". > > I saw that, they might even be
2009 Jul 27
11
[PATCH 0/8] Quota support for ocfs2-tools
Hi, I'm sending a series of patches implementing quota support into ocfs2-tools. It's the same as the original huge patch I've sent but now it's split as Joel asked. I've also realized that when disabling SPARSE feature, we should update quota information. That piece of code is missing, I'll implement it soon. Comments welcome. Honza
2009 Jul 30
11
[PATCH 0/9] Quota support for ocfs2-tools (version 2)
Hi, this is the next version of quota support for quota tools. I've addressed all the comments of Tao, Joel and others. Sparse feature disabling also correctly updates quota information now and the patch is merged into the tunefs support patch. Honza
2013 Oct 26
2
[PATCH] 1. changes for vdiskadm on illumos based platform
...+ nvp += 4; + + switch (valtype) { + case DATA_TYPE_BOOLEAN: + return (0); + + case DATA_TYPE_STRING: + slen = BSWAP_32(*(uint32_t *)nvp); + nvp += 4; + grub_memmove(strval, nvp, slen); + strval[slen] = ''\0''; + return (0); + + case DATA_TYPE_UINT64: + *intval = BSWAP_64(*(uint64_t *)nvp); + return (0); + + case DATA_TYPE_NVLIST: + *(void **)val = (void *)nvp; + return (0); + + case DATA_TYPE_NVLIST_ARRAY: + *(void **)val = (void *)nvp; + if (nelmp) + *nelmp = nelm; + return (0); + } + } + + return (1); +} + static int nvlist_lookup_value(char *...
2013 Apr 19
8
[PATCH 0 of 8] blktap3/libvhd: Introduce VHD library.
This patch series introduces the VHD library. It is based on the blktap2 one, with changes coming from the blktap2.5 one. Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>