mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +03:00
Call shutdown() from pxenv_undi_shutdown(). Probably not totally
correct, but it's enough to get RIS working.
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
#include <gpxe/pci.h>
|
#include <gpxe/pci.h>
|
||||||
#include <gpxe/isapnp.h>
|
#include <gpxe/isapnp.h>
|
||||||
#include <gpxe/if_ether.h>
|
#include <gpxe/if_ether.h>
|
||||||
|
#include <gpxe/shutdown.h>
|
||||||
#include "pxe.h"
|
#include "pxe.h"
|
||||||
|
|
||||||
/* PXENV_UNDI_STARTUP
|
/* PXENV_UNDI_STARTUP
|
||||||
@@ -85,6 +86,8 @@ PXENV_EXIT_t pxenv_undi_shutdown ( struct s_PXENV_UNDI_SHUTDOWN
|
|||||||
*undi_shutdown ) {
|
*undi_shutdown ) {
|
||||||
DBG ( "PXENV_UNDI_SHUTDOWN" );
|
DBG ( "PXENV_UNDI_SHUTDOWN" );
|
||||||
|
|
||||||
|
shutdown();
|
||||||
|
|
||||||
undi_shutdown->Status = PXENV_STATUS_SUCCESS;
|
undi_shutdown->Status = PXENV_STATUS_SUCCESS;
|
||||||
return PXENV_EXIT_SUCCESS;
|
return PXENV_EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user