summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2009-11-16 06:36:22 +0000
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2009-11-16 06:36:22 +0000
commitf57525fabe61124d798272ddc4ccd50933131fb7 (patch)
tree51db3274fb677b280ee4651b33e9b56c95aa5721 /MdePkg
parent609757526c7feaa4f1596ca96f6a55d59f49f50d (diff)
downloadedk2-platforms-f57525fabe61124d798272ddc4ccd50933131fb7.tar.xz
There should be no CONST modifier for the This parameter of EFI_SMM_ACCESS2_PROTOCOL.Open()/Close()/Lock() because LockState or OpenState field of the EFI_SMM_ACCESS2_PROTOCOL may be changed during these functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9432 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Protocol/SmmAccess2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Include/Protocol/SmmAccess2.h b/MdePkg/Include/Protocol/SmmAccess2.h
index 17e884e605..533c11d05e 100644
--- a/MdePkg/Include/Protocol/SmmAccess2.h
+++ b/MdePkg/Include/Protocol/SmmAccess2.h
@@ -89,7 +89,7 @@ typedef struct _EFI_SMM_ACCESS2_PROTOCOL EFI_SMM_ACCESS2_PROTOCOL;
typedef
EFI_STATUS
(EFIAPI *EFI_SMM_OPEN)(
- IN CONST EFI_SMM_ACCESS2_PROTOCOL *This
+ IN EFI_SMM_ACCESS2_PROTOCOL *This
);
/**
@@ -107,7 +107,7 @@ EFI_STATUS
typedef
EFI_STATUS
(EFIAPI *EFI_SMM_CLOSE)(
- IN CONST EFI_SMM_ACCESS2_PROTOCOL *This
+ IN EFI_SMM_ACCESS2_PROTOCOL *This
);
/**
@@ -124,7 +124,7 @@ EFI_STATUS
typedef
EFI_STATUS
(EFIAPI *EFI_SMM_LOCK)(
- IN CONST EFI_SMM_ACCESS2_PROTOCOL *This
+ IN EFI_SMM_ACCESS2_PROTOCOL *This
);
/**