#------------------------------------------------------------------------------ ;\r
-# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
// Generates a 16 bit random number through RDRAND instruction.\r
// Return TRUE if Rand generated successfully, or FALSE if not.\r
//\r
-// BOOLEAN EFIAPI AsmRdRand16 (UINT16 *Rand);\r
+// BOOLEAN EFIAPI InternalX86RdRand16 (UINT16 *Rand);\r
//------------------------------------------------------------------------------\r
-ASM_GLOBAL ASM_PFX(AsmRdRand16)\r
-ASM_PFX(AsmRdRand16):\r
+ASM_GLOBAL ASM_PFX(InternalX86RdRand16)\r
+ASM_PFX(InternalX86RdRand16):\r
.byte 0x0f, 0xc7, 0xf0 // rdrand r16: "0f c7 /6 ModRM:r/m(w)"\r
jc rn16_ok // jmp if CF=1\r
xor %eax, %eax // reg=0 if CF=0\r
// Generates a 32 bit random number through RDRAND instruction.\r
// Return TRUE if Rand generated successfully, or FALSE if not.\r
//\r
-// BOOLEAN EFIAPI AsmRdRand32 (UINT32 *Rand);\r
+// BOOLEAN EFIAPI InternalX86RdRand32 (UINT32 *Rand);\r
//------------------------------------------------------------------------------\r
-ASM_GLOBAL ASM_PFX(AsmRdRand32)\r
-ASM_PFX(AsmRdRand32):\r
+ASM_GLOBAL ASM_PFX(InternalX86RdRand32)\r
+ASM_PFX(InternalX86RdRand32):\r
.byte 0x0f, 0xc7, 0xf0 // rdrand r32: "0f c7 /6 ModRM:r/m(w)"\r
jc rn32_ok // jmp if CF=1\r
xor %eax, %eax // reg=0 if CF=0\r
// Generates a 64 bit random number through RDRAND instruction.\r
// Return TRUE if Rand generated successfully, or FALSE if not.\r
//\r
-// BOOLEAN EFIAPI AsmRdRand64 (UINT64 *Rand);\r
+// BOOLEAN EFIAPI InternalX86RdRand64 (UINT64 *Rand);\r
//------------------------------------------------------------------------------\r
-ASM_GLOBAL ASM_PFX(AsmRdRand64)\r
-ASM_PFX(AsmRdRand64):\r
+ASM_GLOBAL ASM_PFX(InternalX86RdRand64)\r
+ASM_PFX(InternalX86RdRand64):\r
.byte 0x0f, 0xc7, 0xf0 // rdrand r32: "0f c7 /6 ModRM:r/m(w)"\r
jnc rn64_ret // jmp if CF=0\r
mov 0x4(%esp), %edx\r