<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openslx-ng/ipxe.git/src/drivers/infiniband, branch openslx</title>
<subtitle>Fork of ipxe; additional commands and features</subtitle>
<id>https://git.openslx.org/openslx-ng/ipxe.git/atom/src/drivers/infiniband?h=openslx</id>
<link rel='self' href='https://git.openslx.org/openslx-ng/ipxe.git/atom/src/drivers/infiniband?h=openslx'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/'/>
<updated>2025-04-30T14:32:03+00:00</updated>
<entry>
<title>[uaccess] Remove redundant copy_from_user() and copy_to_user()</title>
<updated>2025-04-30T14:32:03+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-04-30T14:18:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=b6f9e4bab082c3b7a9b587ef64109069fba59baa'/>
<id>urn:sha1:b6f9e4bab082c3b7a9b587ef64109069fba59baa</id>
<content type='text'>
Remove the now-redundant copy_from_user() and copy_to_user() wrapper
functions.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[build] Prevent the use of reserved words in C23</title>
<updated>2025-04-27T17:40:33+00:00</updated>
<author>
<name>Miao Wang</name>
</author>
<published>2025-04-27T16:30:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=7741756afc003ad042f0b13b30aed38e0ca9b94c'/>
<id>urn:sha1:7741756afc003ad042f0b13b30aed38e0ca9b94c</id>
<content type='text'>
GCC 15 defaults to C23, which reserves bool, true, and false as
keywords.  Avoid using these as parameter or variable names.

Modified-by: Michael Brown &lt;mcb30@ipxe.org&gt;
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[uaccess] Remove trivial uses of userptr_t</title>
<updated>2025-04-24T00:40:05+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-04-24T00:30:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=e8ffe2cd644000c1cca51c40ba14edb546ca769b'/>
<id>urn:sha1:e8ffe2cd644000c1cca51c40ba14edb546ca769b</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[uaccess] Remove user_to_phys() and phys_to_user()</title>
<updated>2025-04-21T15:17:19+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-04-21T15:16:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=8c31270a21a85cc87bce0e07e19e2041d2510a4c'/>
<id>urn:sha1:8c31270a21a85cc87bce0e07e19e2041d2510a4c</id>
<content type='text'>
Remove the intermediate concept of a user pointer from physical
address conversions, leaving virt_to_phys() and phys_to_virt() as the
directly implemented functions.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[uaccess] Add explicit casts to and from userptr_t where needed</title>
<updated>2025-04-20T16:21:53+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-04-20T12:39:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=71174e19d8c93dc99221c5fe32db6a78c6a7ffb3'/>
<id>urn:sha1:71174e19d8c93dc99221c5fe32db6a78c6a7ffb3</id>
<content type='text'>
Allow for the possibility of userptr_t becoming a pointer type by
adding explicit casts where necessary.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[golan] Use ETH_HLEN for inline header size</title>
<updated>2024-03-17T22:55:32+00:00</updated>
<author>
<name>Rabia Manaa</name>
</author>
<published>2024-03-17T13:58:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=c11734eee0fcaaf49f6f3f0342f928e1e5232560'/>
<id>urn:sha1:c11734eee0fcaaf49f6f3f0342f928e1e5232560</id>
<content type='text'>
The driver does not correctly handle very short transmitted packets
such as EAPoL-Start where the entire DMA content lies within the
current send work queue entry inline header length of 18 bytes.

Fix by reducing the inline header length to the Ethernet frame header
length of 14 bytes.

Modified-by: Michael Brown &lt;mcb30@ipxe.org&gt;
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[drivers] Sort PCI_ROM() entries numerically</title>
<updated>2024-02-22T14:19:04+00:00</updated>
<author>
<name>Geert Stappers</name>
</author>
<published>2024-02-18T11:29:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=e5f3ba0ca773e8ea4dcfec6e10f18a06d14e79e0'/>
<id>urn:sha1:e5f3ba0ca773e8ea4dcfec6e10f18a06d14e79e0</id>
<content type='text'>
Done with the help of this Perl script:

$MARKER = 'PCI_ROM';  # a regex
$AB = 1;  # At Begin
@HEAD = ();
@ITEMS = ();
@TAIL = ();

foreach $fn (@ARGV) {
    open(IN, $fn) or die "Can't open file '$fn': $!\n";
    while (&lt;IN&gt;) {
        if (/$MARKER/) {
            push @ITEMS, $_;
            $AB = 0;  # not anymore at begin
        }
        else {
            if ($AB) {
                push @HEAD, $_;
            }
            else {
                push @TAIL, $_;
            }
        }
    }
} continue {
    close IN;
    open(OUT, "&gt;$fn") or die "Can't open file '$fn' for output: $!\n";
    print OUT @HEAD;
    print OUT sort @ITEMS;
    print OUT @TAIL;
    close OUT;
    # For a next file
    $AB = 1;
    @HEAD = ();
    @ITEMS = ();
    @TAIL = ();
}

Executed that script while src/drivers/ as current working directory,
provided '$(grep -rl PCI_ROM)' as argument.

Signed-off-by: Geert Stappers &lt;stappers@stappers.it&gt;
</content>
</entry>
<entry>
<title>[libc] Replace linker_assert() with build_assert()</title>
<updated>2024-01-16T13:35:08+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2024-01-16T13:24:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=4b7d9a6af08cb704ce77eadba2a7bb1b06c1554c'/>
<id>urn:sha1:4b7d9a6af08cb704ce77eadba2a7bb1b06c1554c</id>
<content type='text'>
We currently implement build-time assertions via a mechanism that
generates a call to an undefined external function that will cause the
link to fail unless the compiler can prove that the asserted condition
is true (and thereby eliminate the undefined function call).

This assertion mechanism can be used for conditions that are not
amenable to the use of static_assert(), since static_assert() will not
allow for proofs via dead code elimination.

Add __attribute__((error(...))) to the undefined external function, so
that the error is raised at compile time rather than at link time.
This allows us to provide a more meaningful error message (which will
include the file name and line number, as with any other compile-time
error), and avoids the need for the caller to specify a unique symbol
name for the external function.

Change the name from linker_assert() to build_assert(), since the
assertion now takes place at compile time rather than at link time.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[libc] Make static_assert() available via assert.h</title>
<updated>2024-01-16T13:35:08+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2024-01-16T12:23:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=6d29415c89d607b988381bc367c9c521694fa728'/>
<id>urn:sha1:6d29415c89d607b988381bc367c9c521694fa728</id>
<content type='text'>
Expose static_assert() via assert.h and migrate link-time assertions
to build-time assertions where possible.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[golan] Add new PCI ID for NVIDIA BlueField-3 network device</title>
<updated>2023-01-23T22:52:30+00:00</updated>
<author>
<name>Mohammed Taha</name>
</author>
<published>2023-01-23T22:52:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=c5426cdaa943a14183edb424b472d7e0d7e55cc3'/>
<id>urn:sha1:c5426cdaa943a14183edb424b472d7e0d7e55cc3</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
</feed>
