The leading underscore (i.e. '_') before the names of some BaseLib library
API in ASM/NASM files is unnecessary. It will cause link error with GCC
tool chains.
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
;------------------------------------------------------------------------------ ;\r
;------------------------------------------------------------------------------ ;\r
-; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2006 - 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
; 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
; VOID\r
; );\r
;------------------------------------------------------------------------------\r
; VOID\r
; );\r
;------------------------------------------------------------------------------\r
;------------------------------------------------------------------------------ ;\r
;------------------------------------------------------------------------------ ;\r
-; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2006 - 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
; 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
; VOID\r
; );\r
;------------------------------------------------------------------------------\r
; VOID\r
; );\r
;------------------------------------------------------------------------------\r
-global ASM_PFX(_CpuBreakpoint)\r
-ASM_PFX(_CpuBreakpoint):\r
+global ASM_PFX(CpuBreakpoint)\r
+ASM_PFX(CpuBreakpoint):\r
;------------------------------------------------------------------------------\r
;\r
;------------------------------------------------------------------------------\r
;\r
-; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2006 - 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
; 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
; VOID\r
; );\r
;------------------------------------------------------------------------------\r
; VOID\r
; );\r
;------------------------------------------------------------------------------\r
-_EnableDisableInterrupts PROC\r
+EnableDisableInterrupts PROC\r
-_EnableDisableInterrupts ENDP\r
+EnableDisableInterrupts ENDP\r
;------------------------------------------------------------------------------\r
;\r
;------------------------------------------------------------------------------\r
;\r
-; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2006 - 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
; 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
; VOID\r
; );\r
;------------------------------------------------------------------------------\r
; VOID\r
; );\r
;------------------------------------------------------------------------------\r
-global ASM_PFX(_EnableDisableInterrupts)\r
-ASM_PFX(_EnableDisableInterrupts):\r
+global ASM_PFX(EnableDisableInterrupts)\r
+ASM_PFX(EnableDisableInterrupts):\r
;------------------------------------------------------------------------------\r
;\r
;------------------------------------------------------------------------------\r
;\r
-; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2006 - 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
; 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
; VOID\r
; );\r
;------------------------------------------------------------------------------\r
; VOID\r
; );\r
;------------------------------------------------------------------------------\r
-_EnableInterrupts PROC\r
-_EnableInterrupts ENDP\r
;------------------------------------------------------------------------------\r
;\r
;------------------------------------------------------------------------------\r
;\r
-; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2006 - 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
; 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
; VOID\r
; );\r
;------------------------------------------------------------------------------\r
; VOID\r
; );\r
;------------------------------------------------------------------------------\r
-global ASM_PFX(_EnableInterrupts)\r
-ASM_PFX(_EnableInterrupts):\r
+global ASM_PFX(EnableInterrupts)\r
+ASM_PFX(EnableInterrupts):\r
;------------------------------------------------------------------------------\r
;\r
;------------------------------------------------------------------------------\r
;\r
-; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2006 - 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
; 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
; VOID\r
; );\r
;------------------------------------------------------------------------------\r
; VOID\r
; );\r
;------------------------------------------------------------------------------\r
;------------------------------------------------------------------------------\r
;\r
;------------------------------------------------------------------------------\r
;\r
-; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2006 - 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
; 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
; VOID\r
; );\r
;------------------------------------------------------------------------------\r
; VOID\r
; );\r
;------------------------------------------------------------------------------\r
-global ASM_PFX(_AsmInvd)\r
-ASM_PFX(_AsmInvd):\r
+global ASM_PFX(AsmInvd)\r
+ASM_PFX(AsmInvd):\r
;------------------------------------------------------------------------------\r
;\r
;------------------------------------------------------------------------------\r
;\r
-; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2006 - 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
; 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
; IN UINT16 Ldtr\r
; );\r
;------------------------------------------------------------------------------\r
; IN UINT16 Ldtr\r
; );\r
;------------------------------------------------------------------------------\r
mov eax, [esp + 4]\r
lldt ax\r
ret\r
mov eax, [esp + 4]\r
lldt ax\r
ret\r
;------------------------------------------------------------------------------\r
;\r
;------------------------------------------------------------------------------\r
;\r
-; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2006 - 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
; 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
; IN UINT16 Ldtr\r
; );\r
;------------------------------------------------------------------------------\r
; IN UINT16 Ldtr\r
; );\r
;------------------------------------------------------------------------------\r
-global ASM_PFX(_AsmWriteLdtr)\r
-ASM_PFX(_AsmWriteLdtr):\r
+global ASM_PFX(AsmWriteLdtr)\r
+ASM_PFX(AsmWriteLdtr):\r
mov eax, [esp + 4]\r
lldt ax\r
ret\r
mov eax, [esp + 4]\r
lldt ax\r
ret\r