Split bootsector execution code out into bootsector.c.

Added basic El Torito ISO image boot capability
This commit is contained in:
Michael Brown
2007-01-29 04:21:38 +00:00
parent bde8878eef
commit 2cf1e33df1
7 changed files with 610 additions and 68 deletions
+12
View File
@@ -0,0 +1,12 @@
#ifndef _BOOTSECTOR_H
#define _BOOTSECTOR_H
/** @file
*
* x86 bootsector image format
*/
extern int call_bootsector ( unsigned int segment, unsigned int offset,
unsigned int drive );
#endif /* _BOOTSECTOR_H */
+2
View File
@@ -37,6 +37,8 @@ struct block_device;
#define INT13_EXTENDED_WRITE 0x43
/** Get extended drive parameters */
#define INT13_GET_EXTENDED_PARAMETERS 0x48
/** Get CD-ROM status / terminate emulation */
#define INT13_CDROM_STATUS_TERMINATE 0x4b
/** @} */