summaryrefslogtreecommitdiffhomepage
path: root/dev/boot/modules/SysChk/SysChk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dev/boot/modules/SysChk/SysChk.cc')
-rw-r--r--dev/boot/modules/SysChk/SysChk.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev/boot/modules/SysChk/SysChk.cc b/dev/boot/modules/SysChk/SysChk.cc
index 3979714d..1b1de6f4 100644
--- a/dev/boot/modules/SysChk/SysChk.cc
+++ b/dev/boot/modules/SysChk/SysChk.cc
@@ -23,7 +23,7 @@
// Makes the compiler shut up.
#ifndef kMachineModel
-#define kMachineModel "Ne"
+#define kMachineModel "OS"
#endif // !kMachineModel
EXTERN_C Int32 SysChkModuleMain(Kernel::HEL::BootInfoHeader* handover)
@@ -31,6 +31,8 @@ EXTERN_C Int32 SysChkModuleMain(Kernel::HEL::BootInfoHeader* handover)
NE_UNUSED(handover);
#if defined(__ATA_PIO__)
+ Boot::BootTextWriter writer;
+
Boot::BDiskFormatFactory<BootDeviceATA> partition_factory;
if (partition_factory.IsPartitionValid())
@@ -44,6 +46,8 @@ EXTERN_C Int32 SysChkModuleMain(Kernel::HEL::BootInfoHeader* handover)
partition_factory.Format(kMachineModel, &desc, 1);
+ writer.Write(L"BootZ: Partition formatted.\r");
+
if (partition_factory.IsPartitionValid())
return kEfiOk;