summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/include
diff options
context:
space:
mode:
authorMichael Brown2006-05-15 01:46:28 +0200
committerMichael Brown2006-05-15 01:46:28 +0200
commit295e11b2b0a6a9b3fd08c7ba13fdf76d3c637d77 (patch)
treec23c91a5bb427dfef7d1b64477988e576700e2d2 /src/arch/i386/include
parentSplit "iSCSI as a SCSI device" out from "iSCSI as a TCP protocol". (diff)
downloadipxe-295e11b2b0a6a9b3fd08c7ba13fdf76d3c637d77.tar.gz
ipxe-295e11b2b0a6a9b3fd08c7ba13fdf76d3c637d77.tar.xz
ipxe-295e11b2b0a6a9b3fd08c7ba13fdf76d3c637d77.zip
Add INT 13,41 (extensions installation check). LILO's MBR now uses
linear calls to load the MS-DOS boot sector in my test setup.
Diffstat (limited to 'src/arch/i386/include')
-rw-r--r--src/arch/i386/include/int13.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/arch/i386/include/int13.h b/src/arch/i386/include/int13.h
index 8f3062be9..46d41dfea 100644
--- a/src/arch/i386/include/int13.h
+++ b/src/arch/i386/include/int13.h
@@ -27,6 +27,8 @@ struct block_device;
#define INT13_WRITE_SECTORS 0x03
/** Get drive parameters */
#define INT13_GET_PARAMETERS 0x08
+/** Extensions installation check */
+#define INT13_EXTENSION_CHECK 0x41
/** Extended read */
#define INT13_EXTENDED_READ 0x42
/** Extended write */
@@ -151,6 +153,20 @@ struct int13_disk_parameters {
/** @} */
+/**
+ * @defgroup int13exts INT 13 extension flags
+ * @{
+ */
+
+/** Extended disk access functions supported */
+#define INT13_EXTENSION_LINEAR 0x01
+/** Removable drive functions supported */
+#define INT13_EXTENSION_REMOVABLE 0x02
+/** EDD functions supported */
+#define INT13_EXTENSION_EDD 0x04
+
+/** @} */
+
extern void register_int13_drive ( struct int13_drive *drive );
extern void unregister_int13_drive ( struct int13_drive *drive );
extern int int13_boot ( unsigned int drive );