[SETUP] Add support for archtitcure specific inf sections and use it for x64 computer...
[reactos.git] / boot / bootdata / txtsetup.sif
index 9379f5e..82247b5 100644 (file)
@@ -1,8 +1,37 @@
 [Version]
-Signature = "$ReactOS$"
+Signature = "$Windows NT$"
+;Signature = "$ReactOS$"
 
-[Directories]
+;
+; The [SourceDisksNames] section lists all the available installation media
+; where the installation files can be found. It can specifies media common
+; to all architectures, or media specific to a given architecture (x86, amd64,
+; and so on...) within [SourceDisksNames.x86] (etc...) sections.
+;
+; The format of each line is as follows:
+; <disk_id> = <description>,<tagfile>,<unused>,<subdirectory>,<flags>,<tagfile>
+;
+[SourceDisksNames]
+_1 = %cdname%,%cdtagfile%,,""
+
+[SourceDisksNames.x86]
+;1 = %cdname%,%cdtagfilei%,,\i386
+1 = %cdname%,%cdtagfilei%,,\reactos
+
+[SourceDisksNames.amd64]
+1 = %cdname%,%cdtagfilea%,,\amd64
+
+;
+; The directories listed in the [Directories] or [WinntDirectories] sections
+; are relative to the installation source or destination directories.
+;
+; The format of each line is as follows:
 ; <directory_id> = <path>
+;
+; For specifying absolute directories, use the SystemPartitionFiles section,
+; or use names starting with \.
+;
+[Directories]
 1 = "\"
 2 = system32
 3 = system32\config
@@ -13,54 +42,110 @@ Signature = "$ReactOS$"
 
 [DiskSpaceRequirements]
 ; Required free system partition disk space in MB
-FreeSysPartDiskSpace=350
+FreeSysPartDiskSpace=450
 
+;
+; The [SourceDisksFiles] section lists all the files available to the
+; installer. It can specifies files common to all architectures, or files
+; specific to a given architecture (x86, amd64, and so on...) within
+; [SourceDisksFiles.x86] (etc...) sections.
+;
+; Each line provides the location of a file in the installation media
+; and its destination when being installed on a target architecture.
+; The format of each line is as follows:
+;
+; <source_filename> =
+;     <disk_id>,<subdirectory>,<file_size>,<checksum>,<unused>,<unused>,
+; NT-specific fields:
+;     <boot_media_id>,<destination_dir_id>,<upgrade_dispo>,<install_dispo>,
+;     <destination_filename>,
+; WinPE(MiniNT)-specific optional fields:
+;     <WinPE_disk_id>,<WinPE_directory_id>
+;
+; The 'disk_id', 'boot_media_id' and 'WinPE_disk_id' media IDs refer to
+; source media listed in the [SourceDisksNames] section. The 'boot_media_id'
+; value specifies any additional boot/installation media.
+;
+; The values for the disposition flags 'upgrade_dispo' (used when upgrading)
+; or 'install_dispo' (used when installing, usually by the text-mode installer)
+; are:
+;   0: always copy (default);
+;   1: copy if present;
+;   2: copy if not present;
+;   3: never copy.
+;
+; The 'destination_dir_id' and 'WinPE_directory_id' directory IDs refer to
+; the directories listed in the [Directories] section.
+;
+; ReactOS-specific: we don't use 'boot_media_id' yet and instead, we use
+; an identifier 'x' to signal the SetupLdr that it has to load the file.
+; This must be replaced by handling the "DiskDrivers.Load", "FileSystems.Load",
+; ("Hal.Load", "Display.Load"), "SCSI.Load", "BootBusExtenders.Load",
+; "BusExtenders.Load", "InputDevicesSupport.Load", "Keyboard.Load",
+; "ScsiClass.Load", "FloppyDrivers.Load", "CdRomDrivers.Load", and
+; "MouseDrivers.Load" sections.
+;
 [SourceDisksFiles]
-acpi.sys=,,,,,,,,,,,,4
-nmidebug.sys=,,,,,,x,,,,,,4
-sacdrv.sys=,,,,,,x,,,,,,4
-uniata.sys=,,,,,,x,,,,,,4
-buslogic.sys=,,,,,,x,,,,,,4
-blue.sys=,,,,,,x,,,,,,4
-bootvid.dll=,,,,,,,,,,,,2
-c_437.nls=,,,,,,,,,,,,2
-c_1252.nls=,,,,,,,,,,,,2
-cdfs.sys=,,,,,,x,,,,,,4
-cdrom.sys=,,,,,,x,,,,,,4
-class2.sys=,,,,,,x,,,,,,4
-isapnp.sys=,,,,,,,,,,,,4
-kdcom.dll=,,,,,,,,,,,,2
-disk.sys=,,,,,,x,,,,,,4
-floppy.sys=,,,,,,x,,,,,,4
-i8042prt.sys=,,,,,,,,,,,,4
-hidclass.sys=,,,,,,,,,,,,4
-hidparse.sys=,,,,,,,,,,,,4
-hidusb.sys=,,,,,,,,,,,,4
-usbccgp.sys=,,,,,,x,,,,,,4
-usbd.sys=,,,,,,x,,,,,,4
-usbhub.sys=,,,,,,x,,,,,,4
-usbuhci.sys=,,,,,,x,,,,,,4
-usbohci.sys=,,,,,,x,,,,,,4
-usbehci.sys=,,,,,,x,,,,,,4
-usbstor.sys=,,,,,,x,,,,,,4
-kbdhid.sys=,,,,,,,,,,,,4
-kbdclass.sys=,,,,,,x,,,,,,4
-l_intl.nls=,,,,,,,,,,,,2
-ntfs.sys=,,,,,,,,,,,,4
-pci.sys=,,,,,,,,,,,,4
-scsiport.sys=,,,,,,x,,,,,,4
-fastfat.sys=,,,,,,x,,,,,,4
-ramdisk.sys=,,,,,,x,,,,,,4
-ext2fs.sys=,,,,,,x,,,,,,4
-classpnp.sys=,,,,,,,,,,,,4
-pciide.sys=,,,,,,,,,,,,4
-pciidex.sys=,,,,,,,,,,,,4
-pcix.sys=,,,,,,,,,,,,4
-pcmcia.sys=,,,,,,,,,,,,4
-swenum.sys=,,,,,,,,,,,,4
-ntdll.dll=,,,,,,,,,,,,2
-wmilib.sys=,,,,,,,,,,,,4
-ksecdd.sys=,,,,,,,,,,,,4
+acpi.sys     = 1,,,,,,,4,1,,,1,4
+nmidebug.sys = 1,,,,,,x,4,,,,1,4
+sacdrv.sys   = 1,,,,,,x,4,,,,1,4
+uniata.sys   = 1,,,,,,x,4,,,,1,4
+buslogic.sys = 1,,,,,,x,4,,,,1,4
+storahci.sys = 1,,,,,,x,4,,,,1,4
+blue.sys     = 1,,,,,,x,4,,,,1,4
+vgafonts.cab = 1,,,,,,,1,,,,1,1
+bootvid.dll  = 1,,,,,,,2,,,,1,2
+c_437.nls    = 1,,,,,,,2,,,,1,2
+c_1252.nls   = 1,,,,,,,2,,,,1,2
+cdfs.sys     = 1,,,,,,x,4,,,,1,4
+cdrom.sys    = 1,,,,,,x,4,,,,1,4
+class2.sys   = 1,,,,,,x,4,,,,1,4
+isapnp.sys   = 1,,,,,,,4,,,,1,4
+kdcom.dll    = 1,,,,,,,2,,,,1,2
+kdvbox.dll   = 1,,,,,,,2,,,,1,2
+disk.sys     = 1,,,,,,x,4,,,,1,4
+floppy.sys   = 1,,,,,,x,4,,,,1,4
+i8042prt.sys = 1,,,,,,,4,,,,1,4
+hidclass.sys = 1,,,,,,,4,,,,1,4
+hidparse.sys = 1,,,,,,,4,,,,1,4
+hidusb.sys   = 1,,,,,,,4,,,,1,4
+usbccgp.sys  = 1,,,,,,x,4,,,,1,4
+usbd.sys     = 1,,,,,,x,4,,,,1,4
+usbhub.sys   = 1,,,,,,x,4,,,,1,4
+usbport.sys  = 1,,,,,,x,4,,,,1,4
+usbuhci.sys  = 1,,,,,,x,4,,,,1,4
+usbohci.sys  = 1,,,,,,x,4,,,,1,4
+usbehci.sys  = 1,,,,,,x,4,,,,1,4
+usbstor.sys  = 1,,,,,,x,4,,,,1,4
+kbdhid.sys   = 1,,,,,,,4,,,,1,4
+kbdclass.sys = 1,,,,,,x,4,,,,1,4
+l_intl.nls   = 1,,,,,,,2,,,,1,2
+pci.sys      = 1,,,,,,,4,,,,1,4
+scsiport.sys = 1,,,,,,x,4,,,,1,4
+storport.sys = 1,,,,,,x,4,,,,1,4
+fastfat.sys  = 1,,,,,,x,4,,,,1,4
+btrfs.sys    = 1,,,,,,x,4,,,,1,4
+ramdisk.sys  = 1,,,,,,x,4,,,,1,4
+classpnp.sys = 1,,,,,,,4,,,,1,4
+pciide.sys   = 1,,,,,,,4,,,,1,4
+pciidex.sys  = 1,,,,,,,4,,,,1,4
+pcix.sys     = 1,,,,,,,4,,,,1,4
+pcmcia.sys   = 1,,,,,,,4,,,,1,4
+swenum.sys   = 1,,,,,,,4,,,,1,4
+ntdll.dll    = 1,,,,,,,2,,,,1,2
+wmilib.sys   = 1,,,,,,,4,,,,1,4
+ksecdd.sys   = 1,,,,,,,4,,,,1,4
+mountmgr.sys = 1,,,,,,x,4,,,,1,4
+
+[SourceDisksFiles.x86]
+
+[SourceDisksFiles.amd64]
+
+;
+; The [SystemPartitionFiles] section lists all the files
+; that should be installed in the System Partition.
+;
+[SystemPartitionFiles]
 
 [HardwareIdsDatabase]
 ;*PNP0A00 = isapnp
@@ -74,20 +159,22 @@ PCI\CC_0101 = pciide
 PCI\CC_0104 = uniata
 PCI\CC_0105 = uniata
 PCI\CC_0106 = uniata
+;PCI\CC_0106 = storahci
 *PNP0600 = uniata
-;USB\CLASS_09 = usbhub
+USB\CLASS_09 = usbhub
 USB\ROOT_HUB = usbhub
 USB\ROOT_HUB20 = usbhub
 PCI\CC_0C0300 = usbuhci
 PCI\CC_0C0310 = usbohci
 PCI\CC_0C0320 = usbehci
 USB\Class_08&SubClass_06&Prot_50 = usbstor
-HID_DEVICE_SYSTEM_KEYBOARD = kbdhid
+HID_DEVICE_SYSTEM_KEYBOARD = kbdhid,{4D36E96B-E325-11CE-BFC1-08002BE10318}
 USB\COMPOSITE = usbccgp
 GenDisk = disk
 USB\Class_03 = hidusb
 GENERIC_HID_DEVICE = hidusb
-*PNP0303 = i8042prt
+*PNP0303 = i8042prt,{4D36E96B-E325-11CE-BFC1-08002BE10318}
+ROOT\SWENUM = swenum
 
 [BootBusExtenders.Load]
 acpi = acpi.sys
@@ -113,6 +200,7 @@ pciide = pciide.sys
 [SCSI.Load]
 uniata = uniata.sys
 buslogic = buslogic.sys
+storahci = storahci.sys
 disk = disk.sys
 
 [Cabinets]
@@ -132,67 +220,85 @@ UnicodeCasetable = l_intl.nls
 DefaultLayout    = 00000409
 DefaultLanguage  = 00000409
 
-[Computer]
+[Computer.NTx86]
 pci_up = "Standard PC Uniprocessor"
 ;pci_mp = "Standard PC Multiprocessor"
 acpi_up = "ACPI PC Uniprocessor"
 ;acpi_mp = "ACPI PC Multiprocessor"
+xbox = "Original Xbox"
 
-[Map.Computer]
+[Computer.NTamd64]
+x64_up = "Standard x64 Uniprocessor"
+
+[Map.Computer.NTx86]
 ;<id> = <pnp id string>
 pci_up = "PC UP"
 ;pci_mp = "PC MP"
 acpi_up = "ACPI UP"
 ;acpi_mp = "ACPI MP"
+xbox = "Xbox"
+
+[Map.Computer.NTamd64]
+x64_up = "ACPI UP"
 
 [Files.pci_up]
-ntoskrnl.exe=,,,,,,,,,,,,2
-hal.dll=,,,,,,,,,,,,2
+ntoskrnl.exe = 1,,,,,,,2,,,,1,2
+hal.dll      = 1,,,,,,,2,,,,1,2
 
 ;[Files.pci_mp]
-;ntkrnlmp.exe=,,,,,,,,,,ntoskrnl.exe,,2
-;halmps.dll=,,,,,,,,,,hal.dll,,2
+;ntkrnlmp.exe = 1,,,,,,,2,,,ntoskrnl.exe,1,2
+;halmps.dll   = 1,,,,,,,2,,,hal.dll,1,2
 
 [Files.acpi_up]
-ntoskrnl.exe=,,,,,,,,,,,,2
-halacpi.dll=,,,,,,,,,,hal.dll,,2
+ntoskrnl.exe = 1,,,,,,,2,,,,1,2
+halacpi.dll  = 1,,,,,,,2,,,hal.dll,1,2
 
 ;[Files.acpi_mp]
-;ntkrnlmp.exe=,,,,,,,,,,ntoskrnl.exe,,2
-;halacpi.dll=,,,,,,,,,,hal.dll,,2
+;ntkrnlmp.exe = 1,,,,,,,2,,,ntoskrnl.exe,1,2
+;halacpi.dll  = 1,,,,,,,2,,,hal.dll,1,2
+
+[Files.xbox]
+ntoskrnl.exe = 1,,,,,,,2,,,,1,2
+halxbox.dll  = 1,,,,,,,2,,,hal.dll,1,2
+
+[Files.x64_up]
+ntoskrnl.exe = 1,,,,,,,2,,,,1,2
+hal.dll      = 1,,,,,,,2,,,,1,2
 
 [Display]
-;<id> = <user friendly name>,<spare>,<service key name>,<hight>,<width>,<bpp>
-vga = "VGA Display (640x480x4)",,Vga,640,480,4
-vbe_640x480x8 = "VESA Display (640x480x8)",,VBE,640,480,8
-vbe_640x480x16 = "VESA Display (640x480x16)",,VBE,640,480,16
-vbe_640x480x24 = "VESA Display (640x480x24)",,VBE,640,480,24
-vbe_640x480x32 = "VESA Display (640x480x32)",,VBE,640,480,32
-vbe_800x600x8 = "VESA Display (800x600x8)",,VBE,800,600,8
-vbe = "VESA Display (800x600x16)",,VBE,800,600,16
-vbe_800x600x24 = "VESA Display (800x600x24)",,VBE,800,600,24
-vbe_800x600x32 = "VESA Display (800x600x32)",,VBE,800,600,32
-vbe_1024x768x8 = "VESA Display (1024x768x8)",,VBE,1024,768,8
-vbe_1024x768x16 = "VESA Display (1024x768x16)",,VBE,1024,768,16
-vbe_1024x768x24 = "VESA Display (1024x768x24)",,VBE,1024,768,24
-vbe_1024x768x32 = "VESA Display (1024x768x32)",,VBE,1024,768,32
-vbe_1152x864x8 = "VESA Display (1152x864x8)",,VBE,1152,864,8
-vbe_1152x864x16 = "VESA Display (1152x864x16)",,VBE,1152,864,16
-vbe_1152x864x24 = "VESA Display (1152x864x24)",,VBE,1152,864,24
-vbe_1152x864x32 = "VESA Display (1152x864x32)",,VBE,1152,864,32
-vbe_1280x1024x8 = "VESA Display (1280x1024x8)",,VBE,1280,1024,8
+;<id> = <user friendly name>,<spare>,<service key name>,<height>,<width>,<bpp>
+vga              = "VGA Display (640x480x4)",,Vga,640,480,4
+vbe_640x480x8    = "VESA Display (640x480x8)",,VBE,640,480,8
+vbe_640x480x16   = "VESA Display (640x480x16)",,VBE,640,480,16
+vbe_640x480x24   = "VESA Display (640x480x24)",,VBE,640,480,24
+vbe_640x480x32   = "VESA Display (640x480x32)",,VBE,640,480,32
+vbe_800x600x8    = "VESA Display (800x600x8)",,VBE,800,600,8
+vbe_800x600x16   = "VESA Display (800x600x16)",,VBE,800,600,16
+vbe_800x600x24   = "VESA Display (800x600x24)",,VBE,800,600,24
+vbe              = "VESA Display (800x600x32)",,VBE,800,600,32
+vbe_1024x768x8   = "VESA Display (1024x768x8)",,VBE,1024,768,8
+vbe_1024x768x16  = "VESA Display (1024x768x16)",,VBE,1024,768,16
+vbe_1024x768x24  = "VESA Display (1024x768x24)",,VBE,1024,768,24
+vbe_1024x768x32  = "VESA Display (1024x768x32)",,VBE,1024,768,32
+vbe_1152x864x8   = "VESA Display (1152x864x8)",,VBE,1152,864,8
+vbe_1152x864x16  = "VESA Display (1152x864x16)",,VBE,1152,864,16
+vbe_1152x864x24  = "VESA Display (1152x864x24)",,VBE,1152,864,24
+vbe_1152x864x32  = "VESA Display (1152x864x32)",,VBE,1152,864,32
+vbe_1280x1024x8  = "VESA Display (1280x1024x8)",,VBE,1280,1024,8
 vbe_1280x1024x16 = "VESA Display (1280x1024x16)",,VBE,1280,1024,16
 vbe_1280x1024x24 = "VESA Display (1280x1024x24)",,VBE,1280,1024,24
 vbe_1280x1024x32 = "VESA Display (1280x1024x32)",,VBE,1280,1024,32
-vbe_1600x1200x8 = "VESA Display (1600x1200x8)",,VBE,1600,1200,8
+vbe_1600x1200x8  = "VESA Display (1600x1200x8)",,VBE,1600,1200,8
 vbe_1600x1200x16 = "VESA Display (1600x1200x16)",,VBE,1600,1200,16
 vbe_1600x1200x24 = "VESA Display (1600x1200x24)",,VBE,1600,1200,24
 vbe_1600x1200x32 = "VESA Display (1600x1200x32)",,VBE,1600,1200,32
+xbox             = "Original Xbox NV2A Framebuffer (640x480x32)",,XboxVmp,640,480,32
 
 [Map.Display]
 ;<id> = <pnp id string>
 vga = "VGA Display"
 vbe = "VBE Display"
+xboxvmp = "NV2A Framebuffer"
 
 [Keyboard]
 Default = "XT-, AT- or extended keyboard (83-105 keys)"
@@ -221,7 +327,8 @@ Default = "XT-, AT- or extended keyboard (83-105 keys)"
 0000042C = "Azeri (Latin)"
 0000042D = "Basque"
 00000423 = "Belarusian"
-;00000445 = "Bengali"
+00000845 = "Bengali (Bangladesh)"
+00000445 = "Bengali (India)"
 00000402 = "Bulgarian"
 ;00000455 = "Burmese"
 00000403 = "Catalan"
@@ -270,7 +377,7 @@ Default = "XT-, AT- or extended keyboard (83-105 keys)"
 00000408 = "Greek"
 ;00000447 = "Gujarati (India)"
 0000040D = "Hebrew"
-;00000439 = "Hindi"
+00000439 = "Hindi"
 0000040E = "Hungarian"
 0000040F = "Icelandic"
 00000421 = "Indonesian"
@@ -286,7 +393,7 @@ Default = "XT-, AT- or extended keyboard (83-105 keys)"
 00000427 = "Lithuanian"
 0000042F = "FYRO Macedonian"
 ;0000083E = "Malay (Brunei Darussalam)"
-;0000043E = "Malay (Malaysia)"
+0000043E = "Malay (Malaysia)"
 ;0000044E = "Marathi"
 ;00000450 = "Mongolian (Mongolia)"
 00000414 = "Norwegian (Bokmal)"
@@ -369,6 +476,7 @@ Default = "XT-, AT- or extended keyboard (83-105 keys)"
 00000809 = "English (United Kingdom)"
 00000409 = "English (USA)"
 00010409 = "English (USA-Dvorak)"
+0000048F = "Esperanto"
 00000425 = "Estonian"
 0000040B = "Finnish"
 0000080C = "French (Belgium)"
@@ -400,7 +508,8 @@ Default = "XT-, AT- or extended keyboard (83-105 keys)"
 00010415 = "Polish (214)"
 00010416 = "Portuguese (Brazilian ABNT2)"
 00000816 = "Portuguese (Portugal)"
-00000418 = "Romanian"
+00000418 = "Romanian (Legacy)"
+00010418 = "Romanian (Standard)"
 00000419 = "Russian"
 00010419 = "Russian (Typewriter)"
 00000C1A = "Serbian (Cyrillic)"
@@ -470,6 +579,7 @@ Default = "XT-, AT- or extended keyboard (83-105 keys)"
 00000816 = kbdpo.dll
 00010416 = kbdbr.dll
 00000418 = kbdro.dll
+00010418 = kbdrost.dll
 00000419 = kbdru.dll
 00010419 = kbdru1.dll
 0000041A = kbdcr.dll
@@ -507,11 +617,15 @@ Default = "XT-, AT- or extended keyboard (83-105 keys)"
 0000044C = kbdinmal.dll
 0000044D = kbdinasa.dll
 00000455 = kbdbur.dll
+0000048F = kbdeo.dll
 
 [HiveInfs.Install]
-AddReg=hivecls.inf,AddReg
-AddReg=hivedef.inf,AddReg
-AddReg=hivesft.inf,AddReg
-AddReg=hivesys.inf,AddReg
+; Called "HiveInfs.Fresh" on Windows
+AddReg = caroots.inf,AddReg
+AddReg = registry.inf,AddReg
+
+[HiveInfs.Upgrade]
+DelReg = registry.inf,DelReg
+AddReg = registry.inf,AddReg
 
 ; EOF