]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkUnixPkg/Dxe/UnixThunk/Cpu/Cpu.c
Fix the definition differences issue of termios.h in different version of kernel...
[mirror_edk2.git] / EdkUnixPkg / Dxe / UnixThunk / Cpu / Cpu.c
index 9149639abce5fe9cb558d4c7c3361839f22582c7..af27d7baa1c592c742a40df47276d7de85c8a4c6 100644 (file)
@@ -70,7 +70,7 @@ UnixFlushCpuDataCache (
 Routine Description:\r
 \r
   This routine would provide support for flushing the CPU data cache.\r
-  In the case of NT emulation environment, this flushing is not necessary and\r
+  In the case of UNIX emulation environment, this flushing is not necessary and\r
   is thus not implemented.\r
 \r
 Arguments:\r
@@ -92,13 +92,13 @@ Returns:
 {\r
   if (FlushType == EfiCpuFlushTypeWriteBackInvalidate) {\r
     //\r
-    // Only WB flush is supported. We actually need do nothing on NT emulator\r
+    // Only WB flush is supported. We actually need do nothing on UNIX emulator\r
     // environment. Classify this to follow EFI spec\r
     //\r
     return EFI_SUCCESS;\r
   }\r
   //\r
-  // Other flush types are not supported by NT emulator\r
+  // Other flush types are not supported by UNIX emulator\r
   //\r
   return EFI_UNSUPPORTED;\r
 }\r
@@ -651,7 +651,7 @@ Returns:
       //\r
       // Initialize strings to HII database\r
       //\r
-      PackageList = PreparePackages (1, &gEfiProcessorProducerGuid, STRING_ARRAY_NAME);\r
+      PackageList = PreparePackages (1, &gEfiProcessorProducerGuid, CpuStrings);\r
 \r
       Status      = Hii->NewPack (Hii, PackageList, &StringHandle);\r
       ASSERT (!EFI_ERROR (Status));\r