diff options
Diffstat (limited to 'Boot/Sources')
| -rw-r--r-- | Boot/Sources/BootloaderRsrc.rsrc | 2 | ||||
| -rw-r--r-- | Boot/Sources/HEL/AMD64/BootATA.cxx | 3 | ||||
| -rw-r--r-- | Boot/Sources/HEL/AMD64/BootMain.cxx | 11 |
3 files changed, 10 insertions, 6 deletions
diff --git a/Boot/Sources/BootloaderRsrc.rsrc b/Boot/Sources/BootloaderRsrc.rsrc index 2d2f8a8f..8751672e 100644 --- a/Boot/Sources/BootloaderRsrc.rsrc +++ b/Boot/Sources/BootloaderRsrc.rsrc @@ -1,7 +1,5 @@ #include "../../Kernel/CompilerKit/Version.hxx" -1 ICON "../../Icons/default.ico" - 1 VERSIONINFO FILEVERSION 1,0,0,0 PRODUCTVERSION 1,0,0,0 diff --git a/Boot/Sources/HEL/AMD64/BootATA.cxx b/Boot/Sources/HEL/AMD64/BootATA.cxx index 63956520..f671569a 100644 --- a/Boot/Sources/HEL/AMD64/BootATA.cxx +++ b/Boot/Sources/HEL/AMD64/BootATA.cxx @@ -252,9 +252,6 @@ BootDeviceATA& BootDeviceATA::Write(CharacterTypeUTF8* Buf, const SizeT& SectorS boot_ata_write(lba, this->Leak().mBus, this->Leak().mMaster, Buf, SectorSz, this->Leak().mSize); - BTextWriter writer; - writer.Write("OK\r"); - return *this; } diff --git a/Boot/Sources/HEL/AMD64/BootMain.cxx b/Boot/Sources/HEL/AMD64/BootMain.cxx index 21db7823..f35c13ff 100644 --- a/Boot/Sources/HEL/AMD64/BootMain.cxx +++ b/Boot/Sources/HEL/AMD64/BootMain.cxx @@ -200,7 +200,16 @@ EFI_EXTERN_C EFI_API Int Main(EfiHandlePtr ImageHandle, if (!checkPart.IsPartitionValid()) { - writer.Write("newosldr: Warning, partition isn't valid! Need to repartition it.\r"); + writer.Write("newosldr: Warning, partition isn't valid! repaired it.\rPlease restart the computer now.\r"); + + BDiskFormatFactory<BootDeviceATA>::BFileDescriptor root; + root.fFileName[0] = kNewFSRoot[0]; + root.fFileName[1] = 0; + + root.fKind = kNewFSCatalogKindDir; + + checkPart.Format("NewOS (ZKA:)", &root, 1); + EFI::Stop(); } |
