Added disk drivers and CD file system modules to the boot image for x86_64.

This adds disk drivers, intel/session partitioning systems, and ISO9660
(+ write/attribute_overlay) modules to the CD/floppy boot image targets
for x86_64. The kernel now detects and mounts the boot CD, and runs up
to attempting to start the boot script.
This commit is contained in:
Alex Smith 2012-07-20 17:55:26 +01:00
parent 7f7e76e461
commit a9fdaec18a

View File

@ -54,13 +54,32 @@ SYSTEM_ADD_ONS_FILE_SYSTEMS = bfs iso9660 attribute_overlay write_overlay ;
if $(TARGET_ARCH) = x86_64 {
AddFilesToFloppyBootArchive system add-ons kernel bus_managers
: config_manager dpc pci ;
: ata config_manager dpc pci scsi ;
AddFilesToFloppyBootArchive system add-ons kernel busses ata
: generic_ide_pci ;
AddFilesToFloppyBootArchive system add-ons kernel file_systems
: iso9660 attribute_overlay write_overlay ;
AddFilesToFloppyBootArchive system add-ons kernel generic
: ata_adapter locked_pool scsi_periph ;
AddFilesToFloppyBootArchive system add-ons kernel partitioning_systems
: intel session ;
AddNewDriversToFloppyBootArchive disk scsi : scsi_cd scsi_disk ;
} else {
# modules
AddFilesToFloppyBootArchive system add-ons kernel bus_managers
: $(SYSTEM_ADD_ONS_BUS_MANAGERS) ;
AddFilesToFloppyBootArchive system add-ons kernel busses ide
: generic_ide_pci $(X86_ONLY)ide_isa silicon_image_3112 legacy_sata it8211 ;
if $(HAIKU_ATA_STACK) = 1 {
AddFilesToFloppyBootArchive system add-ons kernel busses ata
: generic_ide_pci $(X86_ONLY)ide_isa silicon_image_3112 legacy_sata
it8211 ;
} else {
AddFilesToFloppyBootArchive system add-ons kernel busses ide
: generic_ide_pci $(X86_ONLY)ide_isa silicon_image_3112 legacy_sata
it8211 ;
}
AddFilesToFloppyBootArchive system add-ons kernel busses scsi
: ahci ;
AddFilesToFloppyBootArchive system add-ons kernel console : vga_text ;
@ -126,7 +145,9 @@ if $(NET_BOOT) = 1 {
# boot module links
if $(TARGET_ARCH) = x86_64 {
AddBootModuleSymlinksToFloppyBootArchive
dpc config_manager pci
ata dpc config_manager pci scsi ata_adapter locked_pool scsi_periph
generic_ide_pci scsi_cd scsi_disk intel session iso9660
attribute_overlay write_overlay
;
} else {
AddBootModuleSymlinksToFloppyBootArchive