iPXE
Functions
null_sanboot.c File Reference
#include <errno.h>
#include <ipxe/sanboot.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
static int null_san_hook (unsigned int drive __unused, struct uri **uris __unused, unsigned int count __unused, unsigned int flags __unused)
static void null_san_unhook (unsigned int drive __unused)
static int null_san_boot (unsigned int drive __unused, const char *filename __unused)
static int null_san_describe (void)
 PROVIDE_SANBOOT (null, san_hook, null_san_hook)
 PROVIDE_SANBOOT (null, san_unhook, null_san_unhook)
 PROVIDE_SANBOOT (null, san_boot, null_san_boot)
 PROVIDE_SANBOOT (null, san_describe, null_san_describe)

Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )
static int null_san_hook ( unsigned int drive  __unused,
struct uri **uris  __unused,
unsigned int count  __unused,
unsigned int flags  __unused 
) [static]

Definition at line 29 of file null_sanboot.c.

References EOPNOTSUPP.

                                                         {
        return -EOPNOTSUPP;
}
static void null_san_unhook ( unsigned int drive  __unused) [static]

Definition at line 36 of file null_sanboot.c.

                                                            {
        /* Do nothing */
}
static int null_san_boot ( unsigned int drive  __unused,
const char *filename  __unused 
) [static]

Definition at line 40 of file null_sanboot.c.

References EOPNOTSUPP.

                                                           {
        return -EOPNOTSUPP;
}
static int null_san_describe ( void  ) [static]

Definition at line 45 of file null_sanboot.c.

References EOPNOTSUPP.

                                      {
        return -EOPNOTSUPP;
}
PROVIDE_SANBOOT ( null  ,
san_hook  ,
null_san_hook   
)
PROVIDE_SANBOOT ( null  ,
san_boot  ,
null_san_boot   
)