X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkNt32Pkg%2FLibrary%2FEdkGenericBdsLib%2FPerformance.c;h=2d157aebb3563271aef90135bd45b23fb5fabf04;hp=4748ffca51eba00d3695d449d851065b872ccd5e;hb=f5bd465ba304173d98e3ff38503b54b1b826a2a7;hpb=060919cc058d1cf0c7549201a4b502f720dcb5fb diff --git a/EdkNt32Pkg/Library/EdkGenericBdsLib/Performance.c b/EdkNt32Pkg/Library/EdkGenericBdsLib/Performance.c index 4748ffca51..2d157aebb3 100644 --- a/EdkNt32Pkg/Library/EdkGenericBdsLib/Performance.c +++ b/EdkNt32Pkg/Library/EdkGenericBdsLib/Performance.c @@ -1,13 +1,13 @@ /*++ -Copyright (c) 2006, Intel Corporation -All rights reserved. This program and the accompanying materials -are licensed and made available under the terms and conditions of the BSD License -which accompanies this distribution. The full text of the license may be found at -http://opensource.org/licenses/bsd-license.php - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +Copyright (c) 2006 - 2007, Intel Corporation +All rights reserved. This program and the accompanying materials +are licensed and made available under the terms and conditions of the BSD License +which accompanies this distribution. The full text of the license may be found at +http://opensource.org/licenses/bsd-license.php + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. Module Name: @@ -33,7 +33,7 @@ GetShortPdbFileName ( /*++ Routine Description: - + Arguments: Returns: @@ -176,13 +176,13 @@ WriteBootToOsPerformanceData ( /*++ Routine Description: - + Allocates a block of memory and writes performance data of booting to OS into it. Arguments: - + None - + Returns: None @@ -328,7 +328,7 @@ Returns: } } - gBS->FreePool (Handles); + FreePool (Handles); // // Get inserted performance data @@ -376,7 +376,7 @@ Done: gRT->SetVariable ( L"PerfDataMemAddr", - &gEfiGlobalVariableGuid, + &gEfiGenericPlatformVariableGuid, EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS, sizeof (UINT32), (VOID *) &mAcpiLowMemoryBase