<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openslx-ng/ipxe.git/src/doc/pxe_extensions, branch v1.0.0</title>
<subtitle>Fork of ipxe; additional commands and features</subtitle>
<id>https://git.openslx.org/openslx-ng/ipxe.git/atom/src/doc/pxe_extensions?h=v1.0.0</id>
<link rel='self' href='https://git.openslx.org/openslx-ng/ipxe.git/atom/src/doc/pxe_extensions?h=v1.0.0'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/'/>
<updated>2010-01-24T12:54:42+00:00</updated>
<entry>
<title>[pxe] Introduce PXE exit hook for NBP chaining</title>
<updated>2010-01-24T12:54:42+00:00</updated>
<author>
<name>Shao Miller</name>
</author>
<published>2010-01-24T03:12:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=112a3f2de281a2afb23ced2082d555720de7c9b0'/>
<id>urn:sha1:112a3f2de281a2afb23ced2082d555720de7c9b0</id>
<content type='text'>
It might be the case that we wish to chain to an NBP without
being "in the way".  We now implement a hook in our exit path
for gPXE *.*pxe build targets.  The hook is a pointer to a
SEG16:OFF16 which we try to jump to during exit.  By default,
this pointer results in the usual exit path.

We also implement the "pxenv_file_exit_hook" PXE API routine
to allow the user to specify an alternate SEG16:OFF16 to jump
to during exit.

Unfortunately, this additional PXE extension has a cost
in code size.  Fortunately, a look at the size difference
for a gPXE .rom build target shows zero size difference
after compression.

The routine is documented in doc/pxe_extensions as follows:

FILE EXIT HOOK

Op-Code:	PXENV_FILE_EXIT_HOOK (00e7h)

Input:	Far pointer to a t_PXENV_FILE_EXIT_HOOK parameter
		structure that has been initialized by the caller.

Output:	PXENV_EXIT_SUCCESS or PXENV_EXIT_FAILURE must be
		returned in AX.  The Status field in the parameter
		structure must be set to one of the values represented
		by the PXENV_STATUS_xxx constants.

Description:Modify the exit path to jump to the specified code.
		Only valid for pxeprefix-based builds.

typedef struct s_PXENV_FILE_EXIT_HOOK {
        PXENV_STATUS_t Status;
        SEGOFF16_t Hook;
} t_PXENV_FILE_EXIT_HOOK;

Set before calling API service:

Hook:	The SEG16:OFF16 of the code to jump to.

Returned from API service:

Status:	See PXENV_STATUS_xxx constants.

Requested-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
Signed-off-by: Shao Miller &lt;shao.miller@yrdsb.edu.on.ca&gt;
Signed-off-by: Marty Connor &lt;mdc@etherboot.org&gt;
</content>
</entry>
<entry>
<title>[PXEXT] Update documentation</title>
<updated>2008-03-26T22:14:55+00:00</updated>
<author>
<name>H. Peter Anvin</name>
</author>
<published>2008-03-26T22:14:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=d810dc5be24d0d5aa63a90c710292772f7495824'/>
<id>urn:sha1:d810dc5be24d0d5aa63a90c710292772f7495824</id>
<content type='text'>
Add documentation for the FILE_EXEC and FILE_CHECK_API extension
calls, and update the documentation for the FILE_READ call.
</content>
</entry>
<entry>
<title>Added PXENV_GET_FILE_SIZE.</title>
<updated>2007-07-06T12:31:40+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2007-07-06T12:31:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=bfc335faa8c20661d2a69e56436b51344936b475'/>
<id>urn:sha1:bfc335faa8c20661d2a69e56436b51344936b475</id>
<content type='text'>
Documented non-blocking nature of PXENV_FILE_READ.

Changed FileName field in PXENV_FILE_OPEN to be a SEGOFF16, to avoid a
fixed 256-byte length limit on URLs.
</content>
</entry>
<entry>
<title>First draft of PXE extensions API.</title>
<updated>2007-07-05T17:03:09+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2007-07-05T17:03:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=d64e1be1f8ac01dce56ec0a230d2e261559bcad9'/>
<id>urn:sha1:d64e1be1f8ac01dce56ec0a230d2e261559bcad9</id>
<content type='text'>
</content>
</entry>
</feed>
