-/**\r
- PXE\r
- UNDI INITIATE DIAGS\r
- Op-Code: PXENV_UNDI_INITIATE_DIAGS (000Fh)\r
- Input: Far pointer to a PXENV_UNDI_INITIATE_DIAGS_T parameter.\r
- Output: PXENV_EXIT_SUCCESS or PXENV_EXIT_FAILURE must be returned in AX. The status field in\r
- the parameter structure must be set to one of the values represented by the\r
- PXENV_STATUS_xxx constants.\r
- Description: This call can be used to initiate the run-time diagnostics. It causes the network adapter to run\r
- hardware diagnostics and to update its status information.\r
- typedef struct {\r
- PXENV_STATUS Status;\r
- } PXENV_UNDI_INITIATE_DIAGS_T;\r
- Set before calling API service\r
- N/A\r
- Returned from API service\r
- Status: See the PXENV_STATUS_xxx constants.\r
-\r
- @param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value\r
- for option ROM call.\r
-\r
- @return Return value of PXE option ROM far call.\r
-**/\r
-EFI_STATUS\r
-PxeUndiInitiateDiags (\r
- IN EFI_SIMPLE_NETWORK_DEV *SimpleNetworkDevice,\r
- IN OUT PXENV_UNDI_INITIATE_DIAGS_T *PxeUndiTable\r
- )\r
-;\r
-\r
-/**\r
- PXE\r
- UNDI FORCE INTERRUPT\r
- Op-Code: PXENV_UNDI_FORCE_INTERRUPT (0010h)\r
- Input: Far pointer to a PXENV_UNDI_FORCE_INTERRUPT_T parameter structure that has been\r
- initialized by the caller.\r
- Output: PXENV_EXIT_SUCCESS or PXENV_EXIT_FAILURE must be returned in AX. The status field in\r
- the parameter structure must be set to one of the values represented by the PXENV_STATUS_xxx\r
- constants.\r
- Description: This call forces the network adapter to generate an interrupt. When a receive interrupt occurs, the\r
- network adapter driver usually queues the packet and calls the application's callback receive\r
- routine with a pointer to the packet received. Then, the callback routine either can copy the packet\r
- to its buffer or can decide to delay the copy to a later time. If the packet is not immediately copied,\r
- the network adapter driver does not remove it from the input queue. When the application wants to\r
- copy the packet, it can call the PXENV_UNDI_FORCE_INTERRUPT routine to simulate the receive\r
- interrupt.\r
- typedef struct {\r
- PXENV_STATUS Status;\r
- } PXENV_UNDI_FORCE_INTERRUPT_T;\r
- Set before calling API service\r
- N/A\r
- Returned from API service\r
- Status: See the PXENV_STATUS_xxx constants.\r
-\r
- @param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value\r
- for option ROM call.\r
-\r
- @return Return value of PXE option ROM far call.\r
-**/\r
-EFI_STATUS\r
-PxeUndiForceInterrupt (\r
- IN EFI_SIMPLE_NETWORK_DEV *SimpleNetworkDevice,\r
- IN OUT PXENV_UNDI_FORCE_INTERRUPT_T *PxeUndiTable\r
- )\r
-;\r