public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2 PATCH] MdePkg: Use same ProcessorBind symbol define for RISCV64
@ 2023-06-16  7:22 Gavin Xue
  2023-06-16 10:35 ` Sunil V L
  0 siblings, 1 reply; 13+ messages in thread
From: Gavin Xue @ 2023-06-16  7:22 UTC (permalink / raw)
  To: devel; +Cc: Andrei Warkentin, Sunil V L, Yimin Wang, Alan Sheng

Different symbol (PROCESSOR_BIND_H__) define in RISCV64 ProcessorBinding.h
from other CPU Arch. An unexception compilation error generated
if include __PROCESSOR_BIND_H__ symbol in header file for
cross-platform compiling.

Cc: Andrei Warkentin <andrei.warkentin@intel.com>
Cc: Sunil V L <sunilvl@ventanamicro.com>
Cc: Yimin Wang <yimin.wang@intel.com>
Cc: Alan Sheng <alan.sheng@intel.com>
Signed-off-by: Gavin Xue <gavin.xue@intel.com>
---
 MdePkg/Include/RiscV64/ProcessorBind.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/MdePkg/Include/RiscV64/ProcessorBind.h b/MdePkg/Include/RiscV64/ProcessorBind.h
index 1d42d92de4..7f24e77b8c 100644
--- a/MdePkg/Include/RiscV64/ProcessorBind.h
+++ b/MdePkg/Include/RiscV64/ProcessorBind.h
@@ -2,13 +2,14 @@
   Processor or Compiler specific defines and types for RISC-V
 
   Copyright (c) 2016 - 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
+  Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
 
   SPDX-License-Identifier: BSD-2-Clause-Patent
 
 **/
 
-#ifndef PROCESSOR_BIND_H__
-#define PROCESSOR_BIND_H__
+#ifndef __PROCESSOR_BIND_H__
+#define __PROCESSOR_BIND_H__
 
 ///
 /// Define the processor type so other code can make processor based choices
-- 
2.33.0.windows.1


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-07-04  9:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-16  7:22 [edk2 PATCH] MdePkg: Use same ProcessorBind symbol define for RISCV64 Gavin Xue
2023-06-16 10:35 ` Sunil V L
2023-06-16 14:11   ` [edk2-devel] " Pedro Falcato
2023-06-16 15:51     ` Xue, Gavin
2023-06-21 14:16       ` Pedro Falcato
2023-06-22  9:58         ` Xue, Gavin
2023-06-22 15:45           ` Pedro Falcato
2023-06-27 20:29           ` Michael D Kinney
2023-06-30  9:28             ` Xue, Gavin
2023-06-30 16:59               ` Michael D Kinney
2023-07-03  9:01                 ` Xue, Gavin
2023-07-03 17:01                 ` Pedro Falcato
2023-07-04  9:39                   ` Xue, Gavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox