]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/SmmGipDispatch2.h: SMM GpiNum meaning clarification
authorJeff Fan <jeff.fan@intel.com>
Thu, 7 May 2015 02:31:30 +0000 (02:31 +0000)
committervanjeff <vanjeff@Edk2>
Thu, 7 May 2015 02:31:30 +0000 (02:31 +0000)
To support GPI number > 64, PI 1.4 clarified SMM GpiNum meaning as below:
typedef struct {
  UINT64 GpiNum;
} EFI_SMM_GPI_REGISTER_CONTEXT;
Instead of the bit mask of 64 possible GPIs, GpiNum is one of 2^64 possible
GPIs that can generate an SMI. A 0 corresponds to logical GPI[00],
1 corresponds to logical GPI[1], and so on, and GpiNum of N corresponds to
GPI[N], where N can span from 0 to 2^64-1.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17350 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Protocol/SmmGpiDispatch2.h

index bc06b133ddf1e252c777e929fae576f40c508191..65be0ce7cf20bc7283de1230b6547c8647e9e885 100644 (file)
@@ -9,7 +9,7 @@
   given event types.  Several inputs can be enabled.  This purpose of this interface is to generate an \r
   SMI in response to any of these inputs having a true value provided.\r
 \r
-  Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2015, 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
@@ -38,8 +38,9 @@
 ///\r
 typedef struct {\r
   ///\r
-  /// A bit mask of 64 possible GPIs that can generate an SMI.  Bit 0 corresponds to logical \r
-  /// GPI[0], 1 corresponds to logical GPI[1], and so on.\r
+  /// A number from one of 2^64 possible GPIs that can generate an SMI. A\r
+  /// 0 corresponds to logical GPI[0]; 1 corresponds to logical GPI[1]; and\r
+  /// GpiNum of N corresponds to GPI[N], where N can span from 0 to 2^64-1.\r
   ///\r
   UINT64 GpiNum;\r
 } EFI_SMM_GPI_REGISTER_CONTEXT;\r