diff options
author | rsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-11-16 06:36:22 +0000 |
---|---|---|
committer | rsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-11-16 06:36:22 +0000 |
commit | f57525fabe61124d798272ddc4ccd50933131fb7 (patch) | |
tree | 51db3274fb677b280ee4651b33e9b56c95aa5721 /MdePkg | |
parent | 609757526c7feaa4f1596ca96f6a55d59f49f50d (diff) | |
download | edk2-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.h | 6 |
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
);
/**
|