~ubuntu-branches/ubuntu/trusty/virtualbox-lts-xenial/trusty-proposed

« back to all changes in this revision

Viewing changes to src/VBox/Devices/PC/ipxe/src/include/usr/autoboot.h

  • Committer: Package Import Robot
  • Author(s): Gianfranco Costamagna
  • Date: 2016-02-23 14:28:26 UTC
  • Revision ID: package-import@ubuntu.com-20160223142826-bdu69el2z6wa2a44
Tags: upstream-4.3.36-dfsg
ImportĀ upstreamĀ versionĀ 4.3.36-dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _USR_AUTOBOOT_H
 
2
#define _USR_AUTOBOOT_H
 
3
 
 
4
/** @file
 
5
 *
 
6
 * Automatic booting
 
7
 *
 
8
 */
 
9
 
 
10
FILE_LICENCE ( GPL2_OR_LATER );
 
11
 
 
12
#include <ipxe/in.h>
 
13
struct net_device;
 
14
struct uri;
 
15
struct settings;
 
16
 
 
17
/** uriboot() flags */
 
18
enum uriboot_flags {
 
19
        URIBOOT_NO_SAN_DESCRIBE = 0x0001,
 
20
        URIBOOT_NO_SAN_BOOT = 0x0002,
 
21
        URIBOOT_NO_SAN_UNHOOK = 0x0004,
 
22
};
 
23
 
 
24
#define URIBOOT_NO_SAN ( URIBOOT_NO_SAN_DESCRIBE | \
 
25
                         URIBOOT_NO_SAN_BOOT |     \
 
26
                         URIBOOT_NO_SAN_UNHOOK )
 
27
 
 
28
extern int uriboot ( struct uri *filename, struct uri *root_path, int drive,
 
29
                     unsigned int flags );
 
30
extern struct uri *
 
31
fetch_next_server_and_filename ( struct settings *settings );
 
32
extern int netboot ( struct net_device *netdev );
 
33
extern int autoboot ( void );
 
34
 
 
35
extern int pxe_menu_boot ( struct net_device *netdev );
 
36
 
 
37
#endif /* _USR_AUTOBOOT_H */