Lines Matching refs:pxe

25 /* UNDI and PXE defines.  Includes pxe.h. */
75 undi.pxe->EntryPointSP.segment, undi.pxe->EntryPointSP.offset,
76 undi.pxe->Stack.Seg_Addr, undi.pxe->Stack.Seg_Size,
77 undi.pxe->UNDIData.Seg_Addr, undi.pxe->UNDIData.Seg_Size,
78 undi.pxe->UNDICode.Seg_Addr, undi.pxe->UNDICode.Seg_Size,
79 undi.pxe->BC_Data.Seg_Addr, undi.pxe->BC_Data.Seg_Size,
80 undi.pxe->BC_Code.Seg_Addr, undi.pxe->BC_Code.Seg_Size );
230 pxe_t *pxe = NULL;
236 pxe = (pxe_t *) phys_to_virt ( ptr );
237 if ( memcmp ( pxe->Signature, "!PXE", 4 ) == 0 ) {
239 if ( checksum ( pxe, sizeof(pxe_t) ) != 0 ) {
248 undi.pxe = pxe;
250 undi.pxe = NULL;
256 undi.pxe = pxe;
424 pxenv_exit = _undi_call ( undi.pxe->EntryPointSP.segment,
425 undi.pxe->EntryPointSP.offset,
448 pxe_t *pxe = NULL;
488 pxe = VIRTUAL( undi.pxs->loader.undi_cs, undi.pxs->loader.pxe_off );
491 if ( memcmp ( pxe->Signature, "!PXE", 4 ) != 0 ) {
495 if ( checksum ( pxe, sizeof(pxe_t) ) != 0 ) {
500 undi.pxe = pxe;
770 void *bc_code = VIRTUAL( undi.pxe->BC_Code.Seg_Addr, 0 );
771 size_t bc_code_size = undi.pxe->BC_Code.Seg_Size;
772 void *bc_data = VIRTUAL( undi.pxe->BC_Data.Seg_Addr, 0 );
773 size_t bc_data_size = undi.pxe->BC_Data.Seg_Size;
774 void *bc_stck = VIRTUAL( undi.pxe->Stack.Seg_Addr, 0 );
775 size_t bc_stck_size = undi.pxe->Stack.Seg_Size;
779 if ( undi.pxe->BC_Code.Seg_Addr == 0 ) return 1;
817 VIRTUAL(undi.pxe->UNDICode.Seg_Addr, 0),
818 undi.pxe->UNDICode.Seg_Size, DONTSHOOT );
820 VIRTUAL(undi.pxe->UNDIData.Seg_Addr, 0),
821 undi.pxe->UNDIData.Seg_Size, DONTSHOOT );
823 //undi.pxe->BC_Code.Seg_Addr = 0;
824 //undi.pxe->BC_Data.Seg_Addr = 0;
825 //undi.pxe->Stack.Seg_Addr = 0;
850 if ( ! install_undi_irq_handler ( undi.irq, undi.pxe->EntryPointSP ) ) {
871 if ( undi.pxe != NULL ) {
877 undi.driver_code = VIRTUAL(undi.pxe->UNDICode.Seg_Addr,
879 undi.driver_code_size = undi.pxe->UNDICode.Seg_Size;
882 undi.driver_data = VIRTUAL(undi.pxe->UNDIData.Seg_Addr,
884 undi.driver_data_size = undi.pxe->UNDIData.Seg_Size;
938 undi.pxe = NULL;
1203 * Code for reusing the BIOS provided pxe stack
1209 pxe_t *pxe;
1212 pxe = (pxe_t *) VIRTUAL(ptr[0], ptr[1]);
1213 if (memcmp(pxe->Signature, "!PXE", 4) != 0) {
1218 if (checksum(pxe, sizeof(pxe_t)) != 0) {
1229 undi.pxe = pxe;