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
This commit is contained in:
rsun3 2009-11-16 06:36:22 +00:00
parent 609757526c
commit f57525fabe
1 changed files with 3 additions and 3 deletions

View File

@ -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
);
/**