<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openslx-ng/ipxe.git/src/drivers/net/rtl818x, branch openslx</title>
<subtitle>Fork of ipxe; additional commands and features</subtitle>
<id>https://git.openslx.org/openslx-ng/ipxe.git/atom/src/drivers/net/rtl818x?h=openslx</id>
<link rel='self' href='https://git.openslx.org/openslx-ng/ipxe.git/atom/src/drivers/net/rtl818x?h=openslx'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/'/>
<updated>2026-01-13T15:18:16+00:00</updated>
<entry>
<title>[build] Mark existing files as explicitly forbidden for Secure Boot</title>
<updated>2026-01-13T15:18:16+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2026-01-13T14:38:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=30948987fda56e55d172cc3b66b291064724624d'/>
<id>urn:sha1:30948987fda56e55d172cc3b66b291064724624d</id>
<content type='text'>
The third-party 802.11 stack and NFS protocol code are known to
include multiple potential vulnerabilities and are explicitly
forbidden from being included in Secure Boot signed builds.  This is
currently handled at the per-directory level by defining a list of
source directories (SRCDIRS_INSEC) that are to be excluded from Secure
Boot builds.

Annotate all files in these directories with FILE_SECBOOT() to convey
this information to the new per-file Secure Boot permissibility check,
and remove the old separation between SRCDIRS and SRCDIRS_INSEC.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<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>[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>[malloc] Rename malloc_dma() to malloc_phys()</title>
<updated>2020-11-05T19:13:52+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2020-11-05T19:08:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=be1c87b72237f633c4f4b05bcb133acf2967d788'/>
<id>urn:sha1:be1c87b72237f633c4f4b05bcb133acf2967d788</id>
<content type='text'>
The malloc_dma() function allocates memory with specified physical
alignment, and is typically (though not exclusively) used to allocate
memory for DMA.

Rename to malloc_phys() to more closely match the functionality, and
to create name space for functions that specifically allocate and map
DMA-capable buffers.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[rtl818x] Fix resource leak on error path</title>
<updated>2017-03-23T09:40:36+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2017-03-23T09:40:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=ce240c8c2d5d51841e3b261951b181961215de6b'/>
<id>urn:sha1:ce240c8c2d5d51841e3b261951b181961215de6b</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[build] Provide common ARRAY_SIZE() definition</title>
<updated>2017-03-10T15:44:11+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2017-03-10T15:40:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=afdebdc163268bfc31d927cdfbbf92ed1aa93a6f'/>
<id>urn:sha1:afdebdc163268bfc31d927cdfbbf92ed1aa93a6f</id>
<content type='text'>
Several files define the ARRAY_SIZE() macro as used in Linux.  Provide
a common definition for this in include/compiler.h.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[rtl818x] Obviate RTL_ROM() hack</title>
<updated>2015-04-22T10:05:19+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2015-04-22T10:05:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=2154af0077b9257f63e433ba1f07a84f9ce546eb'/>
<id>urn:sha1:2154af0077b9257f63e433ba1f07a84f9ce546eb</id>
<content type='text'>
Reported-by: Robin Smidsrød &lt;robin@smidsrod.no&gt;
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[build] Fix the REQUIRE_SYMBOL mechanism</title>
<updated>2015-03-05T00:59:38+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2015-03-04T18:48:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=fbc4ba4b4ed13cc86cb8fdea0bac6c3be0164ed5'/>
<id>urn:sha1:fbc4ba4b4ed13cc86cb8fdea0bac6c3be0164ed5</id>
<content type='text'>
At some point in the past few years, binutils became more aggressive
at removing unused symbols.  To function as a symbol requirement, a
relocation record must now be in a section marked with @progbits and
must not be in a section which gets discarded during the link (either
via --gc-sections or via /DISCARD/).

Update REQUIRE_SYMBOL() to generate relocation records meeting these
criteria.  To minimise the impact upon the final binary size, we use
existing symbols (specified via the REQUIRING_SYMBOL() macro) as the
relocation targets where possible.  We use R_386_NONE or R_X86_64_NONE
relocation types to prevent any actual unwanted relocation taking
place.  Where no suitable symbol exists for REQUIRING_SYMBOL() (such
as in config.c), the macro PROVIDE_REQUIRING_SYMBOL() can be used to
generate a one-byte-long symbol to act as the relocation target.

If there are versions of binutils for which this approach fails, then
the fallback will probably involve killing off REQUEST_SYMBOL(),
redefining REQUIRE_SYMBOL() to use the current definition of
REQUEST_SYMBOL(), and postprocessing the linked ELF file with
something along the lines of "nm -u | wc -l" to check that there are
no undefined symbols remaining.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[build] Fix dubious uses of bitwise operators</title>
<updated>2013-04-28T16:31:23+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2013-04-28T16:30:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=4678864ce65d5f3f3ae6399e152448d848bd8027'/>
<id>urn:sha1:4678864ce65d5f3f3ae6399e152448d848bd8027</id>
<content type='text'>
Detected by sparse.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[pci] Make driver PCI ID a property of the PCI device</title>
<updated>2011-02-17T01:25:12+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2011-02-12T01:11:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=5bde349e55640b2d21fbe0f4f53edabe6878eb91'/>
<id>urn:sha1:5bde349e55640b2d21fbe0f4f53edabe6878eb91</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
</feed>
