mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
A free Windows-compatible Operating System - mirrored from GitHub
e656184ad6
* bootcd.bat: Install dosmbr.bin. * drivers/storage/disk/disk.c (DiskClassDeviceControl): Pass physical device object to IoWritePartitionTable(). * ntoskrnl/io/xhaldrv.c (xHalReadMBR): New function. (xHalWriteMBR): Ditto. (xHalExamineMBR): Use xHalReadMBR() to read MBR. (xHalIoWritePartitionTable): Partial implement. * subsys/system/usetup/bootsup.c (InstallMBRBootCodeToDisk): New function. * subsys/system/usetup/bootsup.h (InstallMBRBootCodeToDisk): Prototype. * subsys/system/usetup/partlist.c (CreatePartitionListNoGUI): New function. (CreatePartitionList): Use CreatePartitionListNoGUI() to create partition list. (GetPartitionInformation): New function. (MarkPartitionActive): Ditto. * subsys/system/usetup/partlist.h (MarkPartitionActive): Prototype. * subsys/system/usetup/usetup.c (SelectPartitionPage): Make SystemRootPath point to the selected partition if no partitions are active. (BootLoaderPage): If no partitions are active, then install a DOS MBR and mark the selected partition active. svn path=/trunk/; revision=4498 |
||
---|---|---|
freeldr | ||
os2 | ||
posix | ||
reactos | ||
rosapps |