/*++\r
\r
-Copyright (c) 2004, Intel Corporation \r
+Copyright (c) 2004 - 2007, Intel Corporation \r
All rights reserved. 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
\r
Routine Description:\r
Modifies the current settings of the firmware volume according to the \r
- input parameter, and returns the new setting of the volume\r
+ input parameter.\r
\r
Arguments:\r
Instance - The FV instance whose attributes is going to be \r
modified\r
- Attributes - On input, it is a pointer to EFI_FVB_ATTRIBUTES \r
+ Attributes - It is a pointer to EFI_FVB_ATTRIBUTES \r
containing the desired firmware volume settings.\r
- On successful return, it contains the new settings\r
- of the firmware volume\r
\r
Returns:\r
Status code\r
{\r
EFI_GUID Guid = EFI_EXTENDED_SAL_FV_BLOCK_SERVICES_PROTOCOL_GUID;\r
\r
- return EfiCallEsalService (&Guid, SetVolumeAttributes, Instance, (UINT64) Attributes, 0, 0, 0, 0, 0).Status;\r
+ return EfiCallEsalService (&Guid, SetVolumeAttributes, Instance, (UINT64) (&Attributes), 0, 0, 0, 0, 0).Status;\r
}\r
\r
EFI_STATUS\r