<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openslx-ng/ipxe.git/src/arch/i386/include, branch openslx</title>
<subtitle>Fork of ipxe; additional commands and features</subtitle>
<id>https://git.openslx.org/openslx-ng/ipxe.git/atom/src/arch/i386/include?h=openslx</id>
<link rel='self' href='https://git.openslx.org/openslx-ng/ipxe.git/atom/src/arch/i386/include?h=openslx'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/'/>
<updated>2024-09-24T14:40:45+00:00</updated>
<entry>
<title>[profile] Standardise return type of profile_timestamp()</title>
<updated>2024-09-24T14:40:45+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2024-09-24T13:49:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=5f7c6bd95bd6089473db3ba4f033584f5de0ee8a'/>
<id>urn:sha1:5f7c6bd95bd6089473db3ba4f033584f5de0ee8a</id>
<content type='text'>
All consumers of profile_timestamp() currently treat the value as an
unsigned long.  Only the elapsed number of ticks is ever relevant: the
absolute value of the timestamp is not used.  Profiling is used to
measure short durations that are generally fewer than a million CPU
cycles, for which an unsigned long is easily large enough.

Standardise the return type of profile_timestamp() as unsigned long
across all CPU architectures.  This allows 32-bit architectures such
as i386 and riscv32 to omit all logic associated with retrieving the
upper 32 bits of the 64-bit hardware counter, which simplifies the
code and allows riscv32 and riscv64 to share the same implementation.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[libc] Centralise architecture-independent portions of setjmp.h</title>
<updated>2024-09-12T14:01:04+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2024-09-12T13:17:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=5de5d4626e192f5d0e6c97e14ce03b92a43622b3'/>
<id>urn:sha1:5de5d4626e192f5d0e6c97e14ce03b92a43622b3</id>
<content type='text'>
The definitions of the setjmp() and longjmp() functions are common to
all architectures, with only the definition of the jump buffer
structure being architecture-specific.

Move the architecture-specific portions to bits/setjmp.h and provide a
common setjmp.h for the function definitions.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[gdb] Allow CPU architectures to omit support for GDB</title>
<updated>2024-09-05T12:00:39+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2024-09-04T12:29:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=2b82007571dbe02b85338dc9fa85251cd5d68028'/>
<id>urn:sha1:2b82007571dbe02b85338dc9fa85251cd5d68028</id>
<content type='text'>
Move the &lt;gdbmach.h&gt; file to &lt;bits/gdbmach.h&gt;, and provide a common
dummy implementation for all architectures that have not yet
implemented support for GDB.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[build] Allow for per-architecture unprefixed constant operand modifier</title>
<updated>2023-02-05T23:55:14+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2023-02-05T23:55:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=c6901792f009cfd824707724b687e99edd4c8ecd'/>
<id>urn:sha1:c6901792f009cfd824707724b687e99edd4c8ecd</id>
<content type='text'>
Over the years, the undocumented operand modifier used to produce the
unprefixed constant values in __einfo_error() has varied from "%c0" to
"%a0" in commit 1a77466 ("[build] Fix use of inline assembly on GCC
4.8 ARM64 builds") and back to "%c0" in commit 3fb3ffc ("[build] Fix
use of inline assembly on GCC 8 ARM64 builds"), according to the
evolving demands of the toolchain.

LoongArch64 suffers from a similar issue: GCC 13 will allow either,
but the currently released GCC 12 allows only the "%a0" form.

Introduce a macro ASM_NO_PREFIX, defined in bits/compiler.h, to
abstract away this difference and allow different architectures to use
different operand modifiers.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[dhcp] Simplify platform-specific client architecture definitions</title>
<updated>2023-01-22T17:45:34+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2023-01-22T16:54:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=2061d658b3d199ec84976e6a573f68424369be69'/>
<id>urn:sha1:2061d658b3d199ec84976e6a573f68424369be69</id>
<content type='text'>
Move the platform-specific DHCP client architecture definitions to
header files of the form &lt;ipxe/$(PLATFORM)/dhcparch.h&gt;.  This
simplifies the directory structure and allows the otherwise unused
arch/$(ARCH)/include/$(PLATFORM) to be removed from the include
directory search path, which avoids the confusing situation in which a
header file may potentially be accessed through more than one path.

For Linux userspace binaries on any architecture, use the EFI values
for that architecture by delegating to the EFI header file.  This
avoids the need to explicitly select values for Linux userspace
binaries for each architecture.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[build] Allow __asmcall to be used as a type attribute</title>
<updated>2021-03-02T10:15:23+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2021-03-02T10:15:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=916ebef1984e9caa05646463734b51202b405774'/>
<id>urn:sha1:916ebef1984e9caa05646463734b51202b405774</id>
<content type='text'>
The "used" attribute can be applied only to functions or variables,
which prevents the use of __asmcall as a type attribute.

Fix by removing "used" from the definition of __asmcall for i386 and
x86_64 architectures, and adding explicit __used annotations where
necessary.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[linux] Use host glibc system call wrappers</title>
<updated>2021-02-28T23:28:23+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2021-02-28T13:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=f309d7a7b78eec10621bc71f9401d5b9257f9f39'/>
<id>urn:sha1:f309d7a7b78eec10621bc71f9401d5b9257f9f39</id>
<content type='text'>
When building as a Linux userspace application, iPXE currently
implements its own system calls to the host kernel rather than relying
on the host's C library.  The output binary is statically linked and
has no external dependencies.

This matches the general philosophy of other platforms on which iPXE
runs, since there are no external libraries available on either BIOS
or UEFI bare metal.  However, it would be useful for the Linux
userspace application to be able to link against host libraries such
as libslirp.

Modify the build process to perform a two-stage link: first picking
out the requested objects in the usual way from blib.a but with
relocations left present, then linking again with a helper object to
create a standard hosted application.  The helper object provides the
standard main() entry point and wrappers for the Linux system calls
required by the iPXE Linux drivers and interface code.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[dhcp] Automatically generate vendor class identifier string</title>
<updated>2016-07-04T14:07:05+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2016-07-04T14:07:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=aeb62038119f1988b06fa6a55a74d3db65c64d79'/>
<id>urn:sha1:aeb62038119f1988b06fa6a55a74d3db65c64d79</id>
<content type='text'>
The vendor class identifier strings in DHCP_ARCH_VENDOR_CLASS_ID are
out of sync with the (correct) client architecture values in
DHCP_ARCH_CLIENT_ARCHITECTURE.

Fix by removing all definitions of DHCP_ARCH_VENDOR_CLASS_ID, and
instead generating the vendor class identifier string automatically
based on DHCP_ARCH_CLIENT_ARCHITECTURE and DHCP_ARCH_CLIENT_NDI.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[dhcp] Allow for variable encapsulation of architecture-specific options</title>
<updated>2016-07-04T12:15:05+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2016-07-04T12:15:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=3d9f094022854ca06d02f34c688896abde9e1b20'/>
<id>urn:sha1:3d9f094022854ca06d02f34c688896abde9e1b20</id>
<content type='text'>
DHCPv4 and DHCPv6 share some values in common for the architecture-
specific options (such as the client system architecture type), but
use different encapsulations: DHCPv4 has a single byte for the option
length while DHCPv6 has a 16-bit field for the option length.

Move the containing DHCP_OPTION() and related wrappers from the
individual dhcp_arch.h files to dhcp.c, thus allowing for the
architecture-specific values to be reused in dhcpv6.c.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[comboot] Support COMBOOT in 64-bit builds</title>
<updated>2016-04-15T14:31:36+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2016-04-14T15:48:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=5e5450c2d04e6f976ea4cef5db50e136d4a06282'/>
<id>urn:sha1:5e5450c2d04e6f976ea4cef5db50e136d4a06282</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
</feed>
