PXE Loader API
[Preboot eXecution Environment (PXE) API]

The UNDI ROM loader API. More...


Data Structures

struct  s_UNDI_LOADER
 Parameter block for undi_loader(). More...

Typedefs

typedef struct s_UNDI_LOADER UNDI_LOADER_t

Functions

PXENV_EXIT_t undi_loader (struct s_UNDI_LOADER *undi_loader)


Detailed Description

The UNDI ROM loader API.

Typedef Documentation

typedef struct s_UNDI_LOADER UNDI_LOADER_t

Definition at line 1848 of file pxe_api.h.


Function Documentation

PXENV_EXIT_t undi_loader ( struct s_UNDI_LOADER undi_loader  ) 

Definition at line 34 of file pxe_loader.c.

References __from_text16, DBG, initialise(), s_SEGOFF16::offset, ppxe, pxenv, PXENV_EXIT_SUCCESS, PXENV_STATUS_SUCCESS, s_UNDI_LOADER::PXENVptr, s_UNDI_LOADER::PXEptr, rm_cs, s_SEGOFF16::segment, s_UNDI_LOADER::Status, s_UNDI_LOADER::UNDI_CS, and s_UNDI_LOADER::UNDI_DS.

00034                                                                {
00035 
00036         /* Perform one-time initialisation (e.g. heap) */
00037         initialise();
00038 
00039         DBG ( "[PXENV_UNDI_LOADER to CS %04x DS %04x]",
00040               undi_loader->UNDI_CS, undi_loader->UNDI_DS );
00041 
00042         /* Fill in UNDI loader structure */
00043         undi_loader->PXEptr.segment = rm_cs;
00044         undi_loader->PXEptr.offset = __from_text16 ( &ppxe );
00045         undi_loader->PXENVptr.segment = rm_cs;
00046         undi_loader->PXENVptr.offset = __from_text16 ( &pxenv );
00047 
00048         undi_loader->Status = PXENV_STATUS_SUCCESS;
00049         return PXENV_EXIT_SUCCESS;
00050 }


Generated on Tue Apr 6 20:01:59 2010 for gPXE by  doxygen 1.5.7.1