iPXE
arch
x86
include
bootsector.h
Go to the documentation of this file.
1
#ifndef _BOOTSECTOR_H
2
#define _BOOTSECTOR_H
3
4
/** @file
5
*
6
* x86 bootsector image format
7
*/
8
9
FILE_LICENCE
( GPL2_OR_LATER_OR_UBDL );
10
11
extern
int
call_bootsector
(
unsigned
int
segment
,
unsigned
int
offset
,
12
unsigned
int
drive
);
13
14
#endif
/* _BOOTSECTOR_H */
call_bootsector
int call_bootsector(unsigned int segment, unsigned int offset, unsigned int drive)
Jump to preloaded bootsector.
Definition
bootsector.c:64
offset
uint16_t offset
Offset to command line.
Definition
bzimage.h:3
drive
uint8_t drive
Drive number.
Definition
int13.h:5
FILE_LICENCE
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition
compiler.h:896
segment
uint16_t segment
Code segment.
Definition
librm.h:3
Generated by
1.14.0